[oe] gcc-cross build fail

Otavio Salvador otavio at ossystems.com.br
Thu Jan 13 16:27:46 UTC 2011


[ Added Khem in CC since he is the patch author ]

Hello,

Commit 051c2ca2a9b0dd30556a188e1d3c941b84fa5a80 breaks the build of
gcc-cross for i586-generic (I am using an amd64 host system) and
reverting it fixes the problem.

As follows:

...
libtool: compile:
/home/otavio/hacking/ossystems/oe/tmp/work/i586-oe-linux/gcc-cross-4.5-r29.0+svnr168622/gcc-4_5-branch/build.x86_64-linux.i586-oe-linux/./gcc/xgcc
-shared-libgcc -B/home/otavio/hacking/ossystems/oe/tmp/work/i586-oe-linux/gcc-cross-4.5-r29.0+svnr168622/gcc-4_5-branch/build.x86_64-linux.i586-oe-linux/./gcc
-nostdinc++ -L/home/otavio/hacking/ossystems/oe/tmp/work/i586-oe-linux/gcc-cross-4.5-r29.0+svnr168622/gcc-4_5-branch/build.x86_64-linux.i586-oe-linux/i586-oe-linux/libstdc++-v3/src
-L/home/otavio/hacking/ossystems/oe/tmp/work/i586-oe-linux/gcc-cross-4.5-r29.0+svnr168622/gcc-4_5-branch/build.x86_64-linux.i586-oe-linux/i586-oe-linux/libstdc++-v3/src/.libs
-march=pentium -isystem/home/otavio/hacking/ossystems/oe/tmp/sysroots/i586-oe-linux/include
-B/home/otavio/hacking/ossystems/oe/tmp/sysroots/x86_64-linux/i586/i586-oe-linux/bin/
-B/home/otavio/hacking/ossystems/oe/tmp/sysroots/x86_64-linux/i586/i586-oe-linux/lib/
-isystem /home/otavio/hacking/ossystems/oe/tmp/sysroots/x86_64-linux/i586/i586-oe-linux/include
-isystem /home/otavio/hacking/ossystems/oe/tmp/sysroots/x86_64-linux/i586/i586-oe-linux/sys-include
--sysroot=/home/otavio/hacking/ossystems/oe/tmp/sysroots/i586-oe-linux
-I/home/otavio/hacking/ossystems/oe/tmp/work/i586-oe-linux/gcc-cross-4.5-r29.0+svnr168622/gcc-4_5-branch/build.x86_64-linux.i586-oe-linux/i586-oe-linux/libstdc++-v3/include/i586-oe-linux
-I/home/otavio/hacking/ossystems/oe/tmp/work/i586-oe-linux/gcc-cross-4.5-r29.0+svnr168622/gcc-4_5-branch/build.x86_64-linux.i586-oe-linux/i586-oe-linux/libstdc++-v3/include
-I/home/otavio/hacking/ossystems/oe/tmp/work/i586-oe-linux/gcc-cross-4.5-r29.0+svnr168622/gcc-4_5-branch/libstdc++-v3/libsupc++
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections
-g -Os -c /home/otavio/hacking/ossystems/oe/tmp/work/i586-oe-linux/gcc-cross-4.5-r29.0+svnr168622/gcc-4_5-branch/libstdc++-v3/src/ios_init.cc
-o ios_init.o >/dev/null 2>&1
make[4]: *** [ios_init.lo] Error 1
make[4]: Leaving directory
`/home/otavio/hacking/ossystems/oe/tmp/work/i586-oe-linux/gcc-cross-4.5-r29.0+svnr168622/gcc-4_5-branch/build.x86_64-linux.i586-oe-linux/i586-oe-linux/libstdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/otavio/hacking/ossystems/oe/tmp/work/i586-oe-linux/gcc-cross-4.5-r29.0+svnr168622/gcc-4_5-branch/build.x86_64-linux.i586-oe-linux/i586-oe-linux/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/otavio/hacking/ossystems/oe/tmp/work/i586-oe-linux/gcc-cross-4.5-r29.0+svnr168622/gcc-4_5-branch/build.x86_64-linux.i586-oe-linux/i586-oe-linux/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory
`/home/otavio/hacking/ossystems/oe/tmp/work/i586-oe-linux/gcc-cross-4.5-r29.0+svnr168622/gcc-4_5-branch/build.x86_64-linux.i586-oe-linux'
make: *** [all] Error 2
FATAL: oe_runmake failed


It looks like a linaro related regression and it looks like linaro
people are aware of this:
http://lists.linaro.org/pipermail/linaro-toolchain/2011-January/000685.html

Any idea which change of the patch might be responsable for it?

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br




More information about the Openembedded-devel mailing list