[yocto] Building poky-tiny for ARM fails in do_compile of elfutils

Chatre, Reinette reinette.chatre at intel.com
Tue Jun 5 14:39:40 PDT 2012


On Mon, 2012-06-04 at 14:55 -0700, Khem Raj wrote:
> >> > | ../libdwfl/libdwfl_pic.a(linux-kernel-modules.os): In function `dwfl_linux_kernel_report_offline':
> >> > | /home/rchatre/poky_build/tmp/work/armv5te-poky-linux-gnueabi/elfutils-0.148-r7/elfutils-0.148/libdwfl/linux-kernel-modules.c:310: undefined reference to `fts_open'
> 
> you need libc-ftraverse added to
> 
> >> > | ../libebl/libebl.a(eblwstrtab.o): In function `copystrings':
> >> > | /home/rchatre/poky_build/tmp/work/armv5te-poky-linux-gnueabi/elfutils-0.148-r7/elfutils-0.148/libebl/eblwstrtab.c:329: undefined reference to `wmempcpy'
> >> > | ../libebl/libebl.a(eblwstrtab.o): In function `ebl_wstrtabadd':
> >> > | /home/rchatre/poky_build/tmp/work/armv5te-poky-linux-gnueabi/elfutils-0.148-r7/elfutils-0.148/libebl/eblwstrtab.c:249: undefined reference to `wcslen'
> >> > | ../libebl/libebl.a(eblwstrtab.o): In function `searchstring':
> >> > | /home/rchatre/poky_build/tmp/work/armv5te-poky-linux-gnueabi/elfutils-0.148-r7/elfutils-0.148/libebl/eblwstrtab.c:228: undefined reference to `wmemcmp'
> 
> I think you need to enable  libc-posix-clang-wchar in DISTRO_FEATURES
> if you want this to work.
> 
> you can add both  libc-posix-clang-wchar and  libc-ftraverse to
> DISTRO_FEATURES_LIBC_DEFAULT
> 

Thank you very much! I am able to build the poky-tiny image and boot it
in qemu.

Reinette


More information about the yocto mailing list