2.5.62: Cross-building broken

Russell King (rmk@arm.linux.org.uk)
Tue, 18 Feb 2003 00:34:10 +0000


Cross-building ARM from HPPA:

$ make config CROSS_COMPILE=/home/rmk/bin/arm-linux- ARCH=arm
make: Entering directory `/home/rmk/v2.5/linux-rpc'
make -f scripts/Makefile.build obj=scripts
gcc -Wp,-MD,scripts/.empty.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common
-mshort-load-bytes -msoft-float -Wa,-mno-fpu -Uarm -nostdinc -iwithprefix
include -DKBUILD_BASENAME=empty -DKBUILD_MODNAME=empty -c -o
scripts/empty.o scripts/empty.c
make: Leaving directory `/home/rmk/v2.5/linux-rpc'
cc1: Invalid option `short-load-bytes'
make[1]: *** [scripts/empty.o] Error 1
make: *** [scripts] Error 2

We seem to be using the wrong compiler here, or the wrong CFLAGS.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/