On [Fri, 23.11.2007 01:48], Thomas Gleixner wrote: > On Thu, 22 Nov 2007, Andrew Morton wrote: > > > On Thu, 22 Nov 2007 12:22:05 +0200 "Kirill A. Shutemov" <[email protected]> wrote: > > > > > On x86_64 'uname -m' return 'x86'. It break many userspace programs. apt > > > and rpm for example. > > > > > > > Yes, there have been various discussions about this. I think Sam is cooking up > > a fix? > > http://lkml.org/lkml/2007/11/19/323 > > I push it Linus wards ASAP. diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 116b03a..7aa1dc6 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -11,10 +11,9 @@ endif $(srctree)/arch/x86/Makefile%: ; ifeq ($(CONFIG_X86_32),y) + UTS_MACHINE := i386 include $(srctree)/arch/x86/Makefile_32 else + UTS_MACHINE := x86_64 include $(srctree)/arch/x86/Makefile_64 endif Many programs expect i686 on Pentium II. -- Regards, Kirill A. Shutemov + Belarus, Minsk + Velesys LLC, http://www.velesys.com/ + ALT Linux Team, http://www.altlinux.com/
Attachment:
signature.asc
Description: Digital signature
- Follow-Ups:
- Re: 2.6.24-rc3-mm1
- From: Andreas Herrmann <[email protected]>
- Re: 2.6.24-rc3-mm1
- References:
- 2.6.24-rc3-mm1
- From: Andrew Morton <[email protected]>
- Re: 2.6.24-rc3-mm1
- From: "Kirill A. Shutemov" <[email protected]>
- Re: 2.6.24-rc3-mm1
- From: Andrew Morton <[email protected]>
- Re: 2.6.24-rc3-mm1
- From: Thomas Gleixner <[email protected]>
- 2.6.24-rc3-mm1
- Prev by Date: Re: 2.6.24-rc3-mm1
- Next by Date: RE: [RFC/PATCH] SO_NO_CHECK for IPv6
- Previous by thread: Re: 2.6.24-rc3-mm1
- Next by thread: Re: 2.6.24-rc3-mm1
- Index(es):