$ MACHINE=qemuarm bitbake oprofile . . . file-0.9.6/libregex/tests' | make[2]: Leaving directory `/home/nitin/build/build-eglibc/tmp/work/armv5te-poky-linux-gnueabi/oprofile-0.9.6-r0/oprofile-0.9.6/libregex' | Making all in libpp | make[2]: Entering directory `/home/nitin/build/build-eglibc/tmp/work/armv5te-poky-linux-gnueabi/oprofile-0.9.6-r0/oprofile-0.9.6/libpp' | make[2]: Nothing to be done for `all'. | make[2]: Leaving directory `/home/nitin/build/build-eglibc/tmp/work/armv5te-poky-linux-gnueabi/oprofile-0.9.6-r0/oprofile-0.9.6/libpp' | Making all in opjitconv | make[2]: Entering directory `/home/nitin/build/build-eglibc/tmp/work/armv5te-poky-linux-gnueabi/oprofile-0.9.6-r0/oprofile-0.9.6/opjitconv' | /bin/sh ../arm-poky-linux-gnueabi-libtool --tag=CC --mode=link ccache arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/home/nitin/build/build-eglibc/tmp/sysroots/armv5te-poky-linux-gnueabi -W -Wall -fno-common -Wdeclaration-after-statement -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--as-needed -o opjitconv opjitconv.o conversion.o parse_dump.o jitsymbol.o create_bfd.o debug_line.o ../libutil/libutil.a -lbfd -liberty -ldl | arm-poky-linux-gnueabi-libtool: link: cannot find the library `/home/nitin/build/build-eglibc/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/lib/home/nitin/build/build-eglibc/tmp/sysroots/armv5te-poky-linux-gnueabi/libz.la' or unhandled argument `/home/nitin/build/build-eglibc/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/lib/home/nitin/build/build-eglibc/tmp/sysroots/armv5te-poky-linux-gnueabi/libz.la' | make[2]: *** [opjitconv] Error 1 | make[2]: Leaving directory `/home/nitin/build/build-eglibc/tmp/work/armv5te-poky-linux-gnueabi/oprofile-0.9.6-r0/oprofile-0.9.6/opjitconv' | make[1]: *** [all-recursive] Error 1 | make[1]: Leaving directory `/home/nitin/build/build-eglibc/tmp/work/armv5te-poky-linux-gnueabi/oprofile-0.9.6-r0/oprofile-0.9.6' | make: *** [all] Error 2 | FATAL: oe_runmake failed NOTE: package oprofile-0.9.6-r0: task do_compile: Failed ERROR: TaskFailed event exception, aborting . . . ERROR: '/home/nitin/prj/poky.git/meta/packages/oprofile/oprofile_0.9.6.bb' failed
Is this failing only with eglibc?
It was not specific to eglibc. I think there is a commit done by Kevin in the master to fix this.
Kevin, can you update on whether you've fixed this bug? Thanks
yes, I think it has been fixed. Sorry that I don't know there's a bug reported before: commit 4cdaa1789a82a89121c0c2b91724848755f12863 Author: Kevin Tian <kevin.tian@intel.com> Date: Fri Aug 20 13:13:36 2010 +0800 gdb: disable installation of bfd/iberty/opcodes Those are assumed to be provided by binutils, so we disable installation here. Without doing so, a broken libbfd.la from gdb is installed to sysroot which overrides binutils version and then hurt other packages such as oprofile also fix --with-readline to --with-system-readline Signed-off-by: Kevin Tian <kevin.tian@intel.com>