On Mon, Oct 26, 2015 at 09:47:16PM +0100, Martin Jansa wrote: > === qemuarm (1) === > * /openembedded-core/meta/recipes-support/libunwind/libunwind_1.1.bb, > do_compile
I was checking this one today ../arm-oe-linux-gnueabi-libtool --tag=CC --mode=link arm-oe-linux-gnueabi-gcc -march=armv5e -marm -mthumb-interwork --sysroot=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm -O2 -pipe -g -feliminate-unused-debug-types -DAO_USE_PTHREAD_DEFS=1 -fexceptions -Wall -Wsign-compare -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fuse-ld=gold -o test-coredump-unwind test-coredump-unwind.o ../src/libunwind-coredump.la ../src/libunwind-arm.la arm-oe-linux-gnueabi-libtool: link: arm-oe-linux-gnueabi-gcc -march=armv5e -marm -mthumb-interwork --sysroot=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm -O2 -pipe -g -feliminate-unused-debug-types -DAO_USE_PTHREAD_DEFS=1 -fexceptions -Wall -Wsign-compare -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fuse-ld=gold -o .libs/Lperf-simple Lperf-simple.o ../src/.libs/libunwind.so -lc -lgcc_s ../src/.libs/libunwind.so: error: undefined reference to 'AO_pt_lock' collect2: error: ld returned 1 exit status make[1]: *** [Lperf-simple] Error 1 arm-oe-linux-gnueabi-libtool: link: arm-oe-linux-gnueabi-gcc -march=armv5e -marm -mthumb-interwork --sysroot=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm -O2 -pipe -g -feliminate-unused-debug-types -DAO_USE_PTHREAD_DEFS=1 -fexceptions -Wall -Wsign-compare -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fuse-ld=gold -o .libs/Gperf-simple Gperf-simple.o ../src/.libs/libunwind-arm.so /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/libunwind/1.1-r0/build/src/.libs/libunwind.so ../src/.libs/libunwind.so -lc -lgcc_s ../src/.libs/libunwind-arm.so: error: undefined reference to 'AO_pt_lock' collect2: error: ld returned 1 exit status ... Adding -latomic_ops works, but * News for v0.98.3: ** Dont link against libatomic_ops for now. Due to a packaging bug on Debian, linking against this library causes libunwind.so to get a dependency on libatomic_ops.so, which is not at all what we want. Fortunately, we don't have to link against that library on x86 or ia64 since the library is strictly needed only for platforms with poor atomic operation support. Once the libatomic_ops package is fixed, we can re-enable linking against libatomic_ops. and # AC_CHECK_LIB(atomic_ops, main) is commented out in configure for all builds. https://raw.githubusercontent.com/rdnetto/teapot-buildroot/master/package/libunwind/libunwind-02-Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch fixes the issue in my builds, I'll send patch shortly, I wonder why YP autobuilder didn't catch this issue. Regards,
signature.asc
Description: Digital signature
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core