I'm attempting to compile the linux kernel v2.6.6 with gcc 3.3.3
generated using Dan Kegel's crosstool v 0.28 (latest, downloaded it friday).
I'm getting the error message in the subject early in the kernel compile.
I'm just getting ready to start a project, so I'm experimenting. Kernel
was configed with 'make ARCH=arm netwinder_defconfig && make ARCH=arm
oldconfig' Then under 'make ARCH=arm menuconfig' I changed the
processor type to PXA250/210-based, and turned off NWFPE math emulation.
Figuring this would be a safe compile to start with (am I wrong?).
perhaps further testing of the cross compiler is needed. I'm using the
arm-softfloat config, modified to name the binaries arm-xscale instead
of arm-softfloat. I edited the makefile to point to the correct cross
compiler CROSS_COMPILE ?= arm-xscale-linux-gnu-
make ARCH=arm V=1 gives me this output:
yugami@killerloop:~/projects/AHT/kernel/linux-2.6.6$ make ARCH=arm V=1
CHK include/linux/version.h
rm -rf .tmp_versions
mkdir -p .tmp_versions
make -f scripts/Makefile.build obj=scripts/basic
gcc -Wp,-MD,scripts/basic/.fixdep.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -o scripts/basic/fixdep scripts/basic/fixdep.c
gcc -Wp,-MD,scripts/basic/.split-include.d -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -o scripts/basic/split-include
scripts/basic/split-include.c
gcc -Wp,-MD,scripts/basic/.docproc.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -o scripts/basic/docproc scripts/basic/docproc.c
make -f scripts/Makefile.build obj=scripts
gcc -Wp,-MD,scripts/.conmakehash.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -o scripts/conmakehash scripts/conmakehash.c
gcc -Wp,-MD,scripts/.kallsyms.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -o scripts/kallsyms scripts/kallsyms.c
/opt/crosstool/arm-xscale-linux-gnu/gcc-3.3.3-glibc-2.3.2/bin/arm-xscale-linux-gnu-gcc
-Wp,-MD,scripts/.empty.o.d -nostdinc -iwithprefix include -D__KERNEL__
-Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -fno-omit-frame-pointer -mapcs -mno-sched-prolog
-mlittle-endian -mapcs-32 -D__LINUX_ARM_ARCH__=5 -march=armv5te
-mtune=xscale -Wa,-mcpu=xscale -mshort-load-bytes -msoft-float
-Wa,-mno-fpu -Uarm -Os -DKBUILD_BASENAME=empty
-DKBUILD_MODNAME=empty -c -o scripts/empty.o scripts/empty.c
Assembler messages:
Error: use of old and new-style options to set FPU type
make[1]: *** [scripts/empty.o] Error 1
make: *** [scripts] Error 2
-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ/Etiquette: http://www.arm.linux.org.uk/armlinux/mailinglists.php
[Site Home]
[IETF Annouce]
[Security]
[Bugtraq]
[Linux]
[Linux ARM Kernel]
[Linux MIPS]
[ECOS]
[Tools]
[DDR & Rambus]
[Monitors]