Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-core@lists.openembedded.org,
	openembedded-devel@lists.openembedded.org
Subject: Re: State of bitbake world, Failed tasks 2015-10-26
Date: Tue, 27 Oct 2015 13:42:20 +0100	[thread overview]
Message-ID: <20151027124220.GE2577@jama> (raw)
In-Reply-To: <20151026204716.GJ2554@jama>

[-- Attachment #1: Type: text/plain, Size: 2800 bytes --]

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,

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

      parent reply	other threads:[~2015-10-27 12:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-26 20:47 State of bitbake world, Failed tasks 2015-10-26 Martin Jansa
2015-10-26 22:49 ` Andreas Müller
2015-10-27 12:01   ` Martin Jansa
2015-11-09 15:32     ` Martin Jansa
2015-10-27 12:42 ` Martin Jansa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151027124220.GE2577@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox