>> > | ../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 >> > >> > >> > I would appreciate any hints on how to build a poky-tiny image for ARM. >> > I would prefer to build an image that can run in the host's qemu, not >> > needing yocto to build qemu. It seems that I will have to create a new >> > machine configuration for that but wanted to see if I can get the >> > standard items built first, which is giving the problems described >> > above. >> > >> >> can you do the same exercise on master and see if you can reproduce the >> problem on master too. If the problem goes away then I think I have >> some idea what >> could be wrong. > > I moved to master with HEAD of de4cdfd6bc1280ac7ac0559b87734d26294ef773. > Unfortunately the error appears to be the same. I copy it below: > > | arm-poky-linux-gnueabi-ranlib libdw_pic.a > | arm-poky-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork > -mtune=arm926ej-s > --sysroot=/home/rchatre/poky_build_master/tmp/sysroots/qemuarm -std=gnu99 > -Wall -Wshadow -Werror -Wunused -Wextra -fgnu89-inline -Wformat=2 -O2 > -pipe -g -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu > -Wl,--as-needed -o libdw.so -shared -o libdw.so > -Wl,--soname,libdw.so.1,-z,defs \ > | »------Wl,--enable-new-dtags,-rpath,/usr/lib/elfutils \ > | »------Wl,--version-script,libdw.map,--no-undefined \ > | »------Wl,--whole-archive libdw_pic.a ../libdwfl/libdwfl_pic.a > ../libebl/libebl.a ../libelf/libelf.so -Wl,--no-whole-archive\ > | »------ldl -lbz2 -lz > | ../libdwfl/libdwfl_pic.a(linux-kernel-modules.os): In function > `dwfl_linux_kernel_report_offline': > | > /home/rchatre/poky_build_master/tmp/work/armv5te-poky-linux-gnueabi/elfutils-0.148-r7/elfutils-0.148/libdwfl/linux-kernel-modules.c:310: > undefined reference to `fts_open' > | > /home/rchatre/poky_build_master/tmp/work/armv5te-poky-linux-gnueabi/elfutils-0.148-r7/elfutils-0.148/libdwfl/linux-kernel-modules.c:320: > undefined reference to `fts_read' > | > /home/rchatre/poky_build_master/tmp/work/armv5te-poky-linux-gnueabi/elfutils-0.148-r7/elfutils-0.148/libdwfl/linux-kernel-modules.c:391: > undefined reference to `fts_close' > | > /home/rchatre/poky_build_master/tmp/work/armv5te-poky-linux-gnueabi/elfutils-0.148-r7/elfutils-0.148/libdwfl/linux-kernel-modules.c:327: > undefined reference to `fts_set' > | ../libdwfl/libdwfl_pic.a(linux-kernel-modules.os): In function > `dwfl_linux_kernel_find_elf': > | > /home/rchatre/poky_build_master/tmp/work/armv5te-poky-linux-gnueabi/elfutils-0.148-r7/elfutils-0.148/libdwfl/linux-kernel-modules.c:647: > undefined reference to `fts_open' > | > /home/rchatre/poky_build_master/tmp/work/armv5te-poky-linux-gnueabi/elfutils-0.148-r7/elfutils-0.148/libdwfl/linux-kernel-modules.c:691: > undefined reference to `fts_read' > | > /home/rchatre/poky_build_master/tmp/work/armv5te-poky-linux-gnueabi/elfutils-0.148-r7/elfutils-0.148/libdwfl/linux-kernel-modules.c:691: > undefined reference to `fts_read' > | > /home/rchatre/poky_build_master/tmp/work/armv5te-poky-linux-gnueabi/elfutils-0ERROR: > Function failed: do_compile (see > /home/rchatre/poky_build_master/tmp/work/armv5te-poky-linux-gnueabi/elfutils-0.148-r7/temp/log.do_compile.11166 > for further information) > | .148-r7/elfutils-0.148/libdwfl/linux-kernel-modules.c:740: undefined > reference to `fts_close' > | > /home/rchatre/poky_build_master/tmp/work/armv5te-poky-linux-gnueabi/elfutils-0.148-r7/elfutils-0.148/libdwfl/linux-kernel-modules.c:698: > undefined reference to `fts_set' > | > /home/rchatre/poky_build_master/tmp/work/armv5te-poky-linux-gnueabi/elfutils-0.148-r7/elfutils-0.148/libdwfl/linux-kernel-modules.c:715: > undefined reference to `fts_close' > | ../libdwfl/libdwfl_pic.a(linux-kernel-modules.os): In function > `check_module_notes': > | > /home/rchatre/poky_build_master/tmp/work/armv5te-poky-linux-gnueabi/elfutils-0.148-r7/elfutils-0.148/libdwfl/linux-kernel-modules.c:532: > undefined reference to `fts_open' > | > /home/rchatre/poky_build_master/tmp/work/armv5te-poky-linux-gnueabi/elfutils-0.148-r7/elfutils-0.148/libdwfl/linux-kernel-modules.c:541: > undefined reference to `fts_read' > | > /home/rchatre/poky_build_master/tmp/work/armv5te-poky-linux-gnueabi/elfutils-0.148-r7/elfutils-0.148/libdwfl/linux-kernel-modules.c:570: > undefined reference to `fts_close' > | ../libebl/libebl.a(eblwstrtab.o): In function `copystrings': > | > /home/rchatre/poky_build_master/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_master/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_master/tmp/work/armv5te-poky-linux-gnueabi/elfutils-0.148-r7/elfutils-0.148/libebl/eblwstrtab.c:228: > undefined reference to `wmemcmp' > | collect2: error: ld returned 1 exit status > | make[3]: *** [libdw.so] Error 1 > | make[3]: Leaving directory > `/home/rchatre/poky_build_master/tmp/work/armv5te-poky-linux-gnueabi/elfutils-0.148-r7/elfutils-0.148/libdw' > | make[2]: *** [all] Error 2 > | make[2]: Leaving directory > `/home/rchatre/poky_build_master/tmp/work/armv5te-poky-linux-gnueabi/elfutils-0.148-r7/elfutils-0.148/libdw' > | make[1]: *** [all-recursive] Error 1 > | make[1]: Leaving directory > `/home/rchatre/poky_build_master/tmp/work/armv5te-poky-linux-gnueabi/elfutils-0.148-r7/elfutils-0.148' > | make: *** [all] Error 2 > | ERROR: oe_runmake failed > NOTE: package elfutils-0.148-r7: task do_compile: Failed > ERROR: Task 604 > (/opt/poky.git/meta/recipes-devtools/elfutils/elfutils_0.148.bb, do_compile) > failed with exit code '1' > > > I'd be happy to try any ideas you have. > > Reinette > _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto