cross compile badness

Shawn Rutledge shawn.t.rutledge at gmail.com
Thu Aug 30 19:45:10 CEST 2007


OE in general is better than it was a couple years ago, at least.  I
suspect this "badness" is caused by a specific version of gcc or libc
or something, but that's just a wild guess; there sure isn't much info
on the net about it.

On 8/30/07, Heilpern, Mark <mark.heilpern at authentec.com> wrote:
> I haven't seen this particular error, but I have not yet been able to
> successfully use MokoMakefile through to completion. Often just waiting
> a day and retrying has to me further until the next breakage point;
> sometimes the update process has sent me backwards, breaking at an early
> point rather than later.
>
> Last night I deleted everything except the makefile and started over...
> right now I'm stuck because "svn.berlios.de: connection refused".
>
> It's rather annoying, isn't it? I'm sure as the project progresses and
> approaches stability, this will improve.
>
>
>
> -----Original Message-----
> From: openmoko-devel-bounces at lists.openmoko.org
> [mailto:openmoko-devel-bounces at lists.openmoko.org] On Behalf Of Shawn
> Rutledge
> Sent: Wednesday, August 29, 2007 11:26 PM
> To: openmoko-devel at lists.openmoko.org
> Subject: cross compile badness
>
> 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-cro
> ss-initial-4.1.2-r4/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueab
> i/./gcc/xgcc
> -B/home/rutledge/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-c
> ross-initial-4.1.2-r4/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnue
> abi/./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-inclu
> de
> -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-c
> ross-initial-4.1.2-r4/gcc-4.1.2/gcc
> -I/home/rutledge/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-c
> ross-initial-4.1.2-r4/gcc-4.1.2/gcc/.
> -I/home/rutledge/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-c
> ross-initial-4.1.2-r4/gcc-4.1.2/gcc/../include
> -I/home/rutledge/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-c
> ross-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-cro
> ss-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-cr
> oss-initial-4.1.2-r4/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnuea
> bi/gcc'
> | make[2]: *** [all-gcc] Error 2
> | make[2]: Leaving directory
> `/home/rutledge/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cr
> oss-initial-4.1.2-r4/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnuea
> bi'
> | make[1]: *** [all] Error 2
> | make[1]: Leaving directory
> `/home/rutledge/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cr
> oss-initial-4.1.2-r4/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnuea
> bi'
> | FATAL: oe_runmake failed
> NOTE: Task failed:
> /home/rutledge/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cro
> ss-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.b
> b,
> 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.b
> b'
> 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