Hi OE users, I'm new to this list and also to OE. My goal is to have a reliable and controllable tool to build distros for embedded devices of different kinds. OE looks promising to me but I have a lot to learn on how all this works.
I'm running my first builds following instructions in OE GettingStarted guide. Relevant configuration parameters are: OE Build Configuration: BB_VERSION = "1.8.11" METADATA_BRANCH = "org.openembedded.dev" METADATA_REVISION = "67aa127f4b4cb2e4083a02adfddd7d82534751a3" TARGET_ARCH = "i586" TARGET_OS = "linux" MACHINE = "epia" DISTRO = "angstrom" DISTRO_VERSION = "2008.1-test-20081114" TARGET_FPU = "" The target I'm trying to build is "bootstrap-image". Build fails due to a problem with package gcc-cross-kernel-3.3.4_3.3.4 : bitbake log is below. Googleing around I noticed a similar issue was recently reported in http://bugs.openembedded.net/show_bug.cgi?id=4626 for different gcc versions, but for my host distro. I'm not yet skilled enough with OE to understand how to fix and maybe contribute the fix itself. Please help me understand if this can be the same issue as with the previous bug report and how I can arrange a fix in the OE metadata file structure. If more details required about the environment, please ask. TIA Andrea ---------------------------------------- NOTE: Running task 670 of 2075 (ID: 1027, /home/gizero/work/oe/stuff/openembedded/packages/gcc/gcc-cross-kernel-3.3.4_3.3.4.bb, do_compile) NOTE: package gcc-cross-kernel-3.3.4-3.3.4: started NOTE: package gcc-cross-kernel-3.3.4-3.3.4-r8: task do_compile: started ERROR: function do_compile failed ERROR: log data follows (/home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/temp/log.do_compile.7210) | NOTE: make ARCH_FLAGS_FOR_TARGET=-march=c3 -mtune=c3 | make[1]: Entering directory `/home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/gcc-3.3.4/build.i686-linux.i586-angstrom-linux/libiberty' | make[2]: Entering directory `/home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/gcc-3.3.4/build.i686-linux.i586-angstrom-linux/libiberty/testsuite' | make[2]: Nothing to be done for `all'. | make[2]: Leaving directory `/home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/gcc-3.3.4/build.i686-linux.i586-angstrom-linux/libiberty/testsuite' | make[1]: Leaving directory `/home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/gcc-3.3.4/build.i686-linux.i586-angstrom-linux/libiberty' | make[1]: Entering directory `/home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/gcc-3.3.4/build.i686-linux.i586-angstrom-linux/gcc' | (cd intl && make all) | make[2]: Entering directory `/home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/gcc-3.3.4/build.i686-linux.i586-angstrom-linux/gcc/intl' | make[2]: Nothing to be done for `all'. | make[2]: Leaving directory `/home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/gcc-3.3.4/build.i686-linux.i586-angstrom-linux/gcc/intl' | gcc -isystem/home/gizero/work/oe/stuff/build/tmp/staging/i686-linux/usr/include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/gcc-3.3.4/gcc -I/home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/gcc-3.3.4/gcc/. -I/home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/gcc-3.3.4/gcc/config -I/home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/gcc-3.3.4/gcc/../include \ | -DTARGET_MACHINE=\"i586-angstrom-linux\" \ | -c /home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/gcc-3.3.4/gcc/collect2.c -o collect2.o | /home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/gcc-3.3.4/gcc/collect2.c: In function 'notice': | /home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/gcc-3.3.4/gcc/collect2.c:363: warning: traditional C rejects ISO C style function definitions | /home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/gcc-3.3.4/gcc/collect2.c: In function 'fatal_perror': | /home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/gcc-3.3.4/gcc/collect2.c:375: warning: traditional C rejects ISO C style function definitions | /home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/gcc-3.3.4/gcc/collect2.c: In function 'fatal': | /home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/gcc-3.3.4/gcc/collect2.c:393: warning: traditional C rejects ISO C style function definitions | /home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/gcc-3.3.4/gcc/collect2.c: In function 'error': | /home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/gcc-3.3.4/gcc/collect2.c:409: warning: traditional C rejects ISO C style function definitions | /home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/gcc-3.3.4/gcc/collect2.c: In function 'dump_file': | /home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/gcc-3.3.4/gcc/collect2.c:515: warning: comparison of unsigned expression < 0 is always false | In function 'open', | inlined from 'collect_execute' at /home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/gcc-3.3.4/gcc/collect2.c:1575: | /usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments | make[1]: *** [collect2.o] Error 1 | make[1]: Leaving directory `/home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/gcc-3.3.4/build.i686-linux.i586-angstrom-linux/gcc' | make: *** [all-gcc] Error 2 | FATAL: oe_runmake failed NOTE: Task failed: /home/gizero/work/oe/stuff/build/tmp/work/i586-angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r8/temp/log.do_compile.7210 NOTE: package gcc-cross-kernel-3.3.4-3.3.4-r8: task do_compile: failed ERROR: TaskFailed event exception, aborting NOTE: package gcc-cross-kernel-3.3.4-3.3.4: failed ERROR: Build of /home/gizero/work/oe/stuff/openembedded/packages/gcc/gcc-cross-kernel-3.3.4_3.3.4.bb do_compile failed ERROR: Task 1027 (/home/gizero/work/oe/stuff/openembedded/packages/gcc/gcc-cross-kernel-3.3.4_3.3.4.bb, do_compile) failed NOTE: Tasks Summary: Attempted 669 tasks of which 669 didn't need to be rerun and 1 failed. ERROR: '/home/gizero/work/oe/stuff/openembedded/packages/gcc/gcc-cross-kernel-3.3.4_3.3.4.bb' failed NOTE: build 200811140830: completed _______________________________________________ Openembedded-users mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
