I'm trying to build OpenZaurus 3.5.5.  I would hope now that it's using a 2.6
kernel, it's not required to use gcc 2.95 anymore?  So I commented out
this line in local.conf:

#ASSUME_PROVIDED += "virtual/arm-linux-gcc-2.95"

| 
/home/rutledge/src/openzaurus/build-tosa/tmp/work/armv5te-linux/gcc-cross-initial-3.4.4-r4/gcc-3.4.4/build.i686-linux.arm-linux/gcc/xgcc
-B/home/rutledge/src/openzaurus/build-tosa/tmp/work/armv5te-linux/gcc-cross-initial-3.4.4-r4/gcc-3.4.4/build.i686-linux.arm-linux/gcc/
-B/home/rutledge/src/openzaurus/build-tosa/tmp/cross/arm-linux/bin/
-B/home/rutledge/src/openzaurus/build-tosa/tmp/cross/arm-linux/lib/
-isystem /home/rutledge/src/openzaurus/build-tosa/tmp/cross/arm-linux/include
-isystem 
/home/rutledge/src/openzaurus/build-tosa/tmp/cross/arm-linux/sys-include
-O2 -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include  -I. -I.
-I/home/rutledge/src/openzaurus/build-tosa/tmp/work/armv5te-linux/gcc-cross-initial-3.4.4-r4/gcc-3.4.4/gcc
-I/home/rutledge/src/openzaurus/build-tosa/tmp/work/armv5te-linux/gcc-cross-initial-3.4.4-r4/gcc-3.4.4/gcc/.
-I/home/rutledge/src/openzaurus/build-tosa/tmp/work/armv5te-linux/gcc-cross-initial-3.4.4-r4/gcc-3.4.4/gcc/../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/src/openzaurus/build-tosa/tmp/work/armv5te-linux/gcc-cross-initial-3.4.4-r4/gcc-3.4.4/gcc/crtstuff.c
-DCRT_BEGIN \
|         -o crtbegin.o
| CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/libffi
| cc1: internal compiler error: Aborted
| Please submit a full bug report,
| with preprocessed source if appropriate.
| See <URL:http://gcc.gnu.org/bugs.html> for instructions.
| make[1]: *** [crtbegin.o] Error 1
| make[1]: Leaving directory
`/home/rutledge/src/openzaurus/build-tosa/tmp/work/armv5te-linux/gcc-cross-initial-3.4.4-r4/gcc-3.4.4/build.i686-linux.arm-linux/gcc'
| make: *** [all-gcc] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:
/home/rutledge/src/openzaurus/build-tosa/tmp/work/armv5te-linux/gcc-cross-initial-3.4.4-r4/temp/log.do_compile.24909

My understanding is this message means it is wrong for the gcc
makefile to have an option like

-I/usr/include/libffi

because that is not suitable for cross-compiling, right?  So what do I
do about that?  Is there a gcc version which does not have this issue?
If so, how do I choose to compile it, rather than this default
version which bitbake has chosen?
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to