cross compile badness

Shawn Rutledge shawn.t.rutledge at gmail.com
Thu Aug 30 05:25:33 CEST 2007


While doing this with the MokoMakefile on my Gentoo box:

make setup update openmoko-devel-image

| /home/rutledge/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-initial-4.1.2-r4/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/xgcc
-B/home/rutledge/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-initial-4.1.2-r4/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/
-isystem/home/rutledge/moko/build/tmp/staging/i686-linux/include
-B/home/rutledge/moko/build/tmp/cross/arm-angstrom-linux-gnueabi/bin/
-B/home/rutledge/moko/build/tmp/cross/arm-angstrom-linux-gnueabi/lib/
-isystem /home/rutledge/moko/build/tmp/cross/arm-angstrom-linux-gnueabi/include
-isystem /home/rutledge/moko/build/tmp/cross/arm-angstrom-linux-gnueabi/sys-include
-O2 -g -Os -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include  -I. -I.
-I/home/rutledge/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-initial-4.1.2-r4/gcc-4.1.2/gcc
-I/home/rutledge/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-initial-4.1.2-r4/gcc-4.1.2/gcc/.
-I/home/rutledge/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-initial-4.1.2-r4/gcc-4.1.2/gcc/../include
-I/home/rutledge/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-initial-4.1.2-r4/gcc-4.1.2/gcc/../libcpp/include
  -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-unit-at-a-time -Dinhibit_libc  \
|         -c /home/rutledge/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-initial-4.1.2-r4/gcc-4.1.2/gcc/crtstuff.c
-DCRT_BEGIN \
|         -o crtbegin.o
| CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/libffi
| cc1: internal compiler error: in add_path, at c-incpath.c:362
| Please submit a full bug report,
| with preprocessed source if appropriate.
| See <URL:http://gcc.gnu.org/bugs.html> for instructions.
| make[3]: *** [crtbegin.o] Error 1
| make[3]: Leaving directory
`/home/rutledge/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-initial-4.1.2-r4/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi/gcc'
| make[2]: *** [all-gcc] Error 2
| make[2]: Leaving directory
`/home/rutledge/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-initial-4.1.2-r4/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi'
| make[1]: *** [all] Error 2
| make[1]: Leaving directory
`/home/rutledge/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-initial-4.1.2-r4/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi'
| FATAL: oe_runmake failed
NOTE: Task failed:
/home/rutledge/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-initial-4.1.2-r4/temp/log.do_compile.23326
NOTE: package gcc-cross-initial-4.1.2-r4: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package gcc-cross-initial-4.1.2: failed
ERROR: Build of
/home/rutledge/moko/openembedded/packages/gcc/gcc-cross-initial_4.1.2.bb
do_compile failed
ERROR: Task 2527
(/home/rutledge/moko/openembedded/packages/gcc/gcc-cross-initial_4.1.2.bb,
do_compile) failed
NOTE: Tasks Summary: Attempted 209 tasks of which 209 didn't need to
be rerun and 1 failed.
ERROR: '/home/rutledge/moko/openembedded/packages/gcc/gcc-cross-initial_4.1.2.bb'
failed
make: *** [openmoko-devel-image] Error 1

(It's not the first time this has happened to me, but I never figured
it out last time)



More information about the openmoko-devel mailing list