Compiling Linux 2.6.6 and 2.4.19 error?

Dan Kegel dank@kegel.com
Tue May 18 14:21:00 GMT 2004


Wouter van Heyst wrote:
> 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.

Ah, so this is where people get 2.4 arm kernels these days?
http://www.arm.linux.org.uk/developer/v2.4/2.4.26.php
ftp://ftp.arm.linux.org.uk/pub/armlinux/source/kernel-patches/v2.4/

> 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.

In any case, it's kind of sounding like he needs to take his
questions to an arm-linux mailing list.
- Dan


-- 
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change

------
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