Re: Byteorder conditional compilation problems

2013-03-06 Thread Geert Uytterhoeven
On Wed, Mar 6, 2013 at 6:37 PM, Linus Torvalds wrote: > On Wed, Mar 6, 2013 at 8:43 AM, David Howells wrote: >> Scripting a change from "defined(__XXX_ENDIAN)" to >> "(__XXX_ENDIAN==__BYTEORDER)" >> should be easy to script. > > How about we just make the rule be that we shouldn't test __xyz_END

Re: Byteorder conditional compilation problems

2013-03-06 Thread Linus Torvalds
On Wed, Mar 6, 2013 at 8:43 AM, David Howells wrote: > > Scripting a change from "defined(__XXX_ENDIAN)" to > "(__XXX_ENDIAN==__BYTEORDER)" > should be easy to script. How about we just make the rule be that we shouldn't test __xyz_ENDIAN at all, and instead always use CONFIG_xyz_ENDIAN, which i

Byteorder conditional compilation problems

2013-03-06 Thread David Howells
Hi Linus, Looking at commit 13da9e200fe4740b02cd51e07ab454627e228920, I suspect the answer will be no, but can we please revisit the use of __BYTE_ORDER in the kernel? The reason for this is that I've noticed a number of places in the UAPI headers where __LITTLE_ENDIAN and __BIG_ENDIAN are assu

[PATCH 2/6] UML - fix compilation problems

2007-03-27 Thread Jeff Dike
Fix a few miscellaneous compilation problems - an assignment with mismatched types in ldt.c a missing include in mconsole.h which needs a definition of uml_pt_regs when auditing is configured there are some mismatched types in ptrace.c I missed removing an include

Re: 2.6.12: arm compilation problems

2005-07-05 Thread Russell King
On Tue, Jul 05, 2005 at 11:50:01PM +0200, Pavel Machek wrote: > I get this, trying to cross-compile 2.6.12 for arm. I tried different > configs... What am I doing wrong? [2.6.11 compiles ok, and even works > on my zaurus after some patches. I tried unpatched 2.6.12, too.] > > GEN .version >

2.6.12: arm compilation problems

2005-07-05 Thread Pavel Machek
Hi! I get this, trying to cross-compile 2.6.12 for arm. I tried different configs... What am I doing wrong? [2.6.11 compiles ok, and even works on my zaurus after some patches. I tried unpatched 2.6.12, too.] GEN .version CHK include/linux/compile.h UPD include/linux/compile.h

Re: Compilation problems

2001-02-27 Thread Brian Gerst
Rob wrote: > > gcc --version gives me pgcc-2.91.66 > > I have a bootable 2.2.4 kernel I just can no longer recompile it for some > reason. IIRC, pgcc is known to be broken. Use standard gcc 2.91.66 or later. -- Brian Gerst - To unsubscribe from this list: send

Re: Compilation problems

2001-02-27 Thread Richard B. Johnson
On Tue, 27 Feb 2001, Rob wrote: > Hi, I've encountered a problem compiling the 2.4.2 kernel. > > I downloaded the source, did a make menuconfig, make dep, make bzImage; > everything went ok, but I didn't have the NIC working correctly. I > recompiled, it seemed to go ok but still the NIC didn't

Re: Compilation problems

2001-02-27 Thread Brian Gerst
Rob wrote: > > Hi, I've encountered a problem compiling the 2.4.2 kernel. > > I downloaded the source, did a make menuconfig, make dep, make bzImage; > everything went ok, but I didn't have the NIC working correctly. I > recompiled, it seemed to go ok but still the NIC didn't work. Then I > tri

Compilation problems

2001-02-27 Thread Rob
Hi, I've encountered a problem compiling the 2.4.2 kernel. I downloaded the source, did a make menuconfig, make dep, make bzImage; everything went ok, but I didn't have the NIC working correctly. I recompiled, it seemed to go ok but still the NIC didn't work. Then I tried make clean, make mrprop