[oe] failure building gcc-cross-initial for armv5te

Gary Thomas gary at mlbassoc.com
Wed Oct 20 11:33:47 UTC 2010


On 10/20/2010 05:25 AM, Frans Meulenbroeks wrote:
> 2010/10/20 Jaap de Jong<jaap.dejong at nedap.com>:
>>   building gcc-cross-initial for armv5te fails:
>>
>>    ///
>>    | checking for arm-angstrom-linux-gnueabi-ranlib...
>>    arm-angstrom-linux-gnueabi-ranlib
>>    | checking for arm-angstrom-linux-gnueabi-strip...
>>    arm-angstrom-linux-gnueabi-strip
>>    | checking whether ln -s works... yes
>>    | checking for arm-angstrom-linux-gnueabi-gcc...
>>
>> /media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/xgcc
>>
>> -B/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/
>>    -march=armv5te -mtune=arm926ej-s -mthumb-interwork -mno-thumb
>>
>> -isystem/media/OpenEmbedded/unstable/tmp/sysroots/armv5te-angstrom-linux-gnueabi/usr/include
>>
>> -B/media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/bin/
>>
>> -B/media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/lib/
>>    -isystem
>>
>> /media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/include
>>    -isystem
>>
>> /media/OpenEmbedded/unstable/tmp/sysroots/i686-linux/usr/armv5te/arm-angstrom-linux-gnueabi/sys-include
>>
>> --sysroot=/media/OpenEmbedded/unstable/tmp/sysroots/armv5te-angstrom-linux-gnueabi
>>    | checking for suffix of object files... configure: error: in
>>
>> `/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi/libgcc':
>>    | configure: error: cannot compute suffix of object files: cannot
>>    compile
>>    | See `config.log' for more details.
>>    | make[1]: *** [configure-target-libgcc] Error 1
>>    | make[1]: Leaving directory
>>
>> `/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi'
>>    | make: *** [all] Error 2
>>    | FATAL: oe_runmake failed
>>    NOTE: Task failed:
>>
>> /media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/temp/log.do_compile.1864
>>    ERROR: TaskFailed event exception, aborting
>>    ERROR: Build of
>>
>> /media/OpenEmbedded/unstable/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.5.bb
>>    do_compile failed
>>    ERROR: Task 6228
>>
>> (/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.5.bb,
>>    do_compile) failed
>>    NOTE: Waiting for 2 active tasks to finish
>>    NOTE: 1:
>>
>> /media/OpenEmbedded/unstable/org.openembedded.dev/recipes/classpath/classpath-native_0.98.bb,
>>    do_install (1885)
>>    NOTE: 2:
>>
>> virtual:native:/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/xorg-lib/libx11_1.3.99.902.bb,
>>    do_install (1886)
>>    NOTE: Waiting for 1 active tasks to finish
>>    NOTE: 1:
>>
>> /media/OpenEmbedded/unstable/org.openembedded.dev/recipes/classpath/classpath-native_0.98.bb,
>>    do_install (1885)
>>    NOTE: Tasks Summary: Attempted 888 tasks of which 888 didn't need to
>>    be rerun and 1 failed.
>>    ERROR:
>>
>> '/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/gcc/gcc-cross-initial_4.5.bb'
>>    failed
>>
>>
>> Checking
>>
>> tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-initial-4.5-r12.0+svnr164562/gcc-4.5/build.i686-linux.arm-angstrom-linux-gnueabi/gcc/config.log
>>
>> reveals:
>>
>>    configure:4791: checking whether compiler driver understands Ada
>>    configure:4814: result: no
>>    configure:4851: checking how to run the C preprocessor
>>    configure:4921: result: gcc -E
>>    configure:4941: gcc -E  conftest.c
>>    configure:4941: $? = 0
>>    configure:4955: gcc -E  conftest.c
>>    conftest.c:11: fatal error: ac_nonexistent.h: No such file or directory
>>    compilation terminated.
>>
>>
>> Not sure if it has anything to do with it.
>> I can't find ac_nonexistent.h, but perhaps this is intended looking at the
>> filename...
>> Any help is appreciated!
>> Jaap
>> _______________________________________________
>
> With the testing-next branch things build fine with me
> (ditro slugos, machine nslu2le  and nslu2be)

Probably because of pinned versions for the tools.  Notice that
Jaap is building GCC 4.5 from SVN.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------




More information about the Openembedded-devel mailing list