This is the mail archive of the mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Compiling Linux 2.6.6 and 2.4.19 error?

Hello alls:

I use crosstool 0.28-rc15 to produce arm-linux-gcc 3.3.3/glibc 2.3.2 and arm-linux-gcc 3.4.0/glibc 2.3.2.

So I use it to compile my Linux 2.4.19 kernel and Linux 2.6.6, there are some

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
blkpg.c:252: confused by earlier errors, bailing out
make[3]: *** [blkpg.o] Error 1
make[3]: Leaving directory `/home/roc/kernel/2.4/linux-2.4.19/drivers/block'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/home/roc/kernel/2.4/linux-2.4.19/drivers/block'
make[1]: *** [_subdir_block] Error 2
make[1]: Leaving directory `/home/roc/kernel/2.4/linux-2.4.19/drivers'
make: *** [_dir_drivers] Error 2

Linux 2.6.6
make ARCH=arm CROSS_COMPILE=/opt/crosstool/arm-linux/gcc-3.3.3-glibc-2.3.2/bin/arm-linux- -d

 CC      scripts/empty.o
Putting child 0x09d47850 (scripts/empty.o) PID 25667 on the chain.
Live child 0x09d47850 (scripts/empty.o) PID 25667
Assembler messages:
Error: use of old and new-style options to set FPU type
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x09d47850 PID 25667
make[1]: *** [scripts/empty.o] Error 1
Removing child 0x09d47850 PID 25667  from chain.
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x083db798 PID 25666
make: *** [scripts] Error 2
Removing child 0x083db798 PID 25666  from chain.

Does someone meet the same problem? How to solve it?

Thanks a lot.
Best Regards.


Bryan Wu
R&D Engineer

Building 16, NO.115, Lane 572, Bibo Road Zhangjiang
Hi-Tech Park, Pudong, Shanghai, PRC, 201203


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]