[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#329671: kernel-image-2.6-amd64-k8-smp: Kernel image in the intel x86 port is appears to be compiled in 64bit mode.



Hello,

On Thu, Sep 22, 2005 at 04:51:27PM +0100, Guy Coates wrote:
> I've installed Sarge x86 on a opteron system. When changing the
> kernel from 
> 
> kernel-image-2.6.8-2-686-smp 
> to
> kernel-image-2.6-amd64-k8-smp 
> 
> the machine architecture as reported by uname changes:
> 
> When running  kernel-image-2.6.8-2-686-smp
> 
> uname -m 
> i686
> 
> On kernel-image-2.6-amd64-k8-smp
> uname -m 
> x86_64
> 
> 
> Concequently, many applications fail to build correctly
> from source (eg the linux kernel, probably anything using
> config.guess) as the architecture is incorrectly specified.

This is considered a feature. 

Because the amd64 port was too late to officially release a 
complete 64bit userland with sarge, we choose to add rudimentary 
support to 32bit userland (as in a 64bit kernel, amd64-libs[-dev] 
and gcc-3.4 with cross-compiling abilities).

You could either 
- install the unofficial 64bit port
-  use the 32bit k7-smp kernel as the best approximation to a 
   32bit k8 flavour 
- or just stay with the 64bit kernel and use linux32(1) to trick uname 
  configure and co to use i686 instead of x86_64.


In either case I would like to close the bug, or retitle it into a
whishlist "please provide 32bit k8 flavours" if this was your intention
in the first place.

Best regards
Frederik Schueler

-- 
ENOSIG

Attachment: signature.asc
Description: Digital signature


Reply to: