[oe] Problems building binutils-cross_2.18.50.0.7.bb

jorge fernandez monteagudo jorgefm at cirsa.com
Wed Nov 4 10:27:53 UTC 2009


Hi OE list members!

It's my first message on this list, and it's related to the problems I 
have building
OE for my beagleboard. My host machine is a mandriva 2008.0.

I'm following the steps from 
http://elinux.org/BeagleBoardAndOpenEmbeddedGit
and I've been able to do the next steps:

$ git clone http://repo.or.cz/r/openembedded.git
$ cd openembedded
$ git checkout -b stable/2009 origin/stable/2009
$ git pull

I have the repository updated but when I try to build the OE with:

$ bitbake console-image

the process begins ok, but in the 'binutils-cross_2.18.50.0.7.bb' recipe 
fails.
The messages I get are:

NOTE: Running task 253 of 2892 (ID: 1124, 
/mnt/hdb1/arm-beagle/openembedded/recipes/binutils/binutils-cross_2.18.50.0.7.bb, 
do_setscene)
NOTE: Running task 254 of 2892 (ID: 1125, 
/mnt/hdb1/arm-beagle/openembedded/recipes/binutils/binutils-cross_2.18.50.0.7.bb, 
do_fetch)
NOTE: fetch 
http://kernel.org/pub/linux/devel/binutils/binutils-2.18.50.0.7.tar.bz2
--10:12:07-- 
http://kernel.org/pub/linux/devel/binutils/binutils-2.18.50.0.7.tar.bz2
           => 
`/mnt/hdb1/arm-beagle/tmp/downloads/binutils-2.18.50.0.7.tar.bz2'
Connecting to xxx.xxx.xxx.xxx:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 14,788,318 (14M) [application/x-bzip2]

100%[=======================================================================================================================>] 
14,788,318    59.23K/s    ETA 00:00

10:17:05 (48.64 KB/s) - 
`/mnt/hdb1/arm-beagle/tmp/downloads/binutils-2.18.50.0.7.tar.bz2' saved 
[14788318/14788318]

NOTE: Running task 255 of 2892 (ID: 1127, 
/mnt/hdb1/arm-beagle/openembedded/recipes/binutils/binutils-cross_2.18.50.0.7.bb, 
do_unpack)
NOTE: Unpacking tmp/downloads/binutils-2.18.50.0.7.tar.bz2 to 
tmp/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/
NOTE: Running task 256 of 2892 (ID: 1128, 
/mnt/hdb1/arm-beagle/openembedded/recipes/binutils/binutils-cross_2.18.50.0.7.bb, 
do_patch)
NOTE: Applying patch 'binutils-2.16.91.0.6-objcopy-rename-errorcode.patch' 
(openembedded/recipes/binutils/binutils-2.18.50.0.7/binutils-2.16.91.0.6-objcopy-rename-errorcode.patch)
NOTE: Applying patch 'binutils-uclibc-100-uclibc-conf.patch' 
(openembedded/recipes/binutils/binutils-2.18.50.0.7/binutils-uclibc-100-uclibc-conf.patch)
NOTE: Applying patch '110-arm-eabi-conf.patch' 
(openembedded/recipes/binutils/binutils-2.18.50.0.7/110-arm-eabi-conf.patch)
NOTE: Applying patch 'binutils-uclibc-300-001_ld_makefile_patch.patch' 
(openembedded/recipes/binutils/binutils-2.18.50.0.7/binutils-uclibc-300-001_ld_makefile_patch.patch)
NOTE: Applying patch 'binutils-uclibc-300-006_better_file_error.patch' 
(openembedded/recipes/binutils/binutils-2.18.50.0.7/binutils-uclibc-300-006_better_file_error.patch)
NOTE: Applying patch 
'binutils-uclibc-300-012_check_ldrunpath_length.patch' 
(openembedded/recipes/binutils/binutils-2.18.50.0.7/binutils-uclibc-300-012_check_ldrunpath_length.patch)
NOTE: Applying patch 'binutils-uclibc-gas-needs-libm.patch' 
(openembedded/recipes/binutils/binutils-2.18.50.0.7/binutils-uclibc-gas-needs-libm.patch)
NOTE: Applying patch 'binutils-arm-pr7093.patch' 
(openembedded/recipes/binutils/binutils-2.18.50.0.7/binutils-arm-pr7093.patch)
NOTE: Applying patch 'binutils-2.16.1-e300c2c3.patch' 
(openembedded/recipes/binutils/binutils-2.18.50.0.7/binutils-2.16.1-e300c2c3.patch)
NOTE: Running task 257 of 2892 (ID: 1129, 
/mnt/hdb1/arm-beagle/openembedded/recipes/binutils/binutils-cross_2.18.50.0.7.bb, 
do_configure)
NOTE: Running task 258 of 2892 (ID: 1130, 
/mnt/hdb1/arm-beagle/openembedded/recipes/binutils/binutils-cross_2.18.50.0.7.bb, 
do_qa_configure)
NOTE: Running task 259 of 2892 (ID: 1131, 
/mnt/hdb1/arm-beagle/openembedded/recipes/binutils/binutils-cross_2.18.50.0.7.bb, 
do_compile)
ERROR: function do_compile failed
ERROR: see log in 
/mnt/hdb1/arm-beagle/tmp/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/temp/log.do_compile.1958
NOTE: Task failed: 
/mnt/hdb1/arm-beagle/tmp/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/temp/log.do_compile.1958
ERROR: TaskFailed event exception, aborting
ERROR: Build of 
/mnt/hdb1/arm-beagle/openembedded/recipes/binutils/binutils-cross_2.18.50.0.7.bb 
do_compile failed
ERROR: Task 1131 
(/mnt/hdb1/arm-beagle/openembedded/recipes/binutils/binutils-cross_2.18.50.0.7.bb, 
do_compile) failed
NOTE: Tasks Summary: Attempted 258 tasks of which 0 didn't need to be 
rerun and 1 failed.
ERROR: 
'/mnt/hdb1/arm-beagle/openembedded/recipes/binutils/binutils-cross_2.18.50.0.7.bb' 
failed


and the log messages are:


if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H 
-isystem/mnt/hdb1/arm-beagle/tmp/staging/i686-linux/usr/include -O2 -I. 
-I/mnt/hdb1/arm-beagle/tmp/work/armv7a-angstrom-linux-gnue
abi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/libiberty/../include 
 -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic 
/mnt/hdb1/arm-be
agle/tmp/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/libiberty/fibheap.c 
-o pic/fibheap.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H 
-isystem/mnt/hdb1/arm-beagle/tmp/staging/i686-linux/usr/include -O2 -I. 
-I/mnt/hdb1/arm-beagle/tmp/work/armv7a-angstrom-linux-gnueabi/binuti
ls-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/libiberty/../include  -W 
-Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic 
/mnt/hdb1/arm-beagle/tmp/wo
rk/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/libiberty/fibheap.c 
-o fibheap.o
Use of uninitialized value in concatenation (.) or string at 
/usr/share/colorgcc/gcc line 200.
/mnt/hdb1/arm-beagle/tmp/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/libiberty/fibheap.c: 
In function 'fibheap_union':
/mnt/hdb1/arm-beagle/tmp/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/libiberty/fibheap.c:151: 
warning: implicit declarati
on of function 'free'
/mnt/hdb1/arm-beagle/tmp/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/libiberty/fibheap.c: 
In function 'fibheap_delete_nod
e':
/mnt/hdb1/arm-beagle/tmp/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/libiberty/fibheap.c:258: 
error: 'LONG_MIN' undeclare
d (first use in this function)
/mnt/hdb1/arm-beagle/tmp/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/libiberty/fibheap.c:258: 
error: (Each undeclared ide
ntifier is reported only once
/mnt/hdb1/arm-beagle/tmp/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/libiberty/fibheap.c:258: 
error: for each function it
 appears in.)
/mnt/hdb1/arm-beagle/tmp/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/libiberty/fibheap.c: 
In function 'fibheap_consolidat
e':
/mnt/hdb1/arm-beagle/tmp/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/libiberty/fibheap.c:360: 
warning: implicit declarati
on of function 'memset'
/mnt/hdb1/arm-beagle/tmp/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/libiberty/fibheap.c:360: 
warning: incompatible impli
cit declaration of built-in function 'memset'
make[2]: *** [fibheap.o] Error 1
make[2]: Leaving directory 
`/mnt/hdb1/arm-beagle/tmp/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/build.i686-linux.arm-ang
strom-linux-gnueabi/libiberty'
make[1]: *** [all-libiberty] Error 2
make[1]: Leaving directory 
`/mnt/hdb1/arm-beagle/tmp/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/build.i686-linux.arm-ang
strom-linux-gnueabi'
make: *** [all] Error 2
FATAL: oe_runmake failed


Any comment is welcome!

Best regards

Jorge 


More information about the Openembedded-devel mailing list