Compiling Linux 2.6.6 and 2.4.19 error?

Wouter van Heyst wouter@vidicode.nl
Tue May 18 12:40:00 GMT 2004


On Tue, May 18, 2004 at 03:07:04PM +0800, Pwu wrote:

<snip>

> > > Linux 2.4.19-rmk6-arm2 kernel:
> > > make boot ARCH=arm CROSS_COMPILE=/opt/crosstool/arm-linux/gcc-3.3.3-glibc-2.3.2/bin/arm-linux-
> > > 
> > > /opt/crosstool/arm-linux/gcc-3.3.3-glibc-2.3.2/bin/arm-linux-gcc -D__KERNEL__ -I/home/roc/kernel/2.4/linux-2.4.19/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi -malignment-traps  -msoft-float -Uarm -gdwarf-2  -nostdinc -I /opt/crosstool/arm-linux/gcc-3.3.3-glibc-2.3.2/lib/gcc-lib/arm-linux/3.3.3/include -DKBUILD_BASENAME=blkpg  -DEXPORT_SYMTAB -c blkpg.c
> > > blkpg.c: In function `blk_ioctl':
> > > blkpg.c:252: error: asm-specifier for variable `__r1' conflicts with asm clobber list

Are you using 2.4.19 for a specific reason? If not, I'd advise using
2.4.26-vrs1 instead. Or use 2.6.6, the output you quoted seems
incomplete, but I'm guessing the kernel makefiles specify fpu flags that
are deprecated with recent gccs, you'll need to patch the kernel there.

Wouter van Heyst
Vidicode Datacommunicatie BV


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list