Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Robert Yang <liezhi.yang@windriver.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: failed to build libunwind when qemuarm64
Date: Tue, 14 Apr 2015 13:45:04 +0800	[thread overview]
Message-ID: <552CA960.2080804@windriver.com> (raw)
In-Reply-To: <552CA285.9070909@windriver.com>


Refer to RP's fix will fix the problem:

commit 6cd8c8d7466cdf29e7a94ebd4978b129da4455fa
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date:   Tue Apr 7 15:53:04 2015 +0100

     libunwind: Build with gold to avoid build failures


I will send a patch for it.

// Robert

On 04/14/2015 01:15 PM, Robert Yang wrote:
>
> Does anyone meet this or have any suggestion, please ?
>
> $ bitbake libunwind
> [snip]
> | ../aarch64-poky-linux-libtool  --tag=CC   --mode=link aarch64-poky-linux-gcc
> --sysroot=/buildarea/lyang1/test_uni/tmp/sysroots/qemuarm64  -O2 -pipe -g
> -feliminate-unused-debug-types  -fexc
> eptions -Wall -Wsign-compare  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -o
> test-coredump-unwind test-coredump-unwind.o ../src/libunwind-coredump.la
> ../src/libunwind-aarch64.la
> | aarch64-poky-linux-libtool: link: aarch64-poky-linux-gcc
> --sysroot=/buildarea/lyang1/test_uni/tmp/sysroots/qemuarm64 -O2 -pipe -g
> -feliminate-unused-debug-types -fexceptions -Wall -Wsign-co
> mpare -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o test-ptrace-misc
> test-ptrace-misc.o ident.o
> | aarch64-poky-linux-libtool: link: aarch64-poky-linux-gcc
> --sysroot=/buildarea/lyang1/test_uni/tmp/sysroots/qemuarm64 -O2 -pipe -g
> -feliminate-unused-debug-types -fexceptions -Wall -Wsign-co
> mpare -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o .libs/Lperf-trace
> Lperf-trace.o  ../src/.libs/libunwind.so -lc -lgcc_s
> | aarch64-poky-linux-libtool: link: aarch64-poky-linux-gcc
> --sysroot=/buildarea/lyang1/test_uni/tmp/sysroots/qemuarm64 -O2 -pipe -g
> -feliminate-unused-debug-types -fexceptions -Wall -Wsign-co
> mpare -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o .libs/Lperf-simple
> Lperf-simple.o  ../src/.libs/libunwind.so -lc -lgcc_s
> |
> /buildarea/lyang1/test_uni/tmp/sysroots/x86_64-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/4.9.2/ld:
> copy reloc against protected `_ULaarch64_local_addr_space' is invalid
> |
> /buildarea/lyang1/test_uni/tmp/sysroots/x86_64-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/4.9.2/ld:
> failed to set dynamic section sizes: Bad value
> |
> /buildarea/lyang1/test_uni/tmp/sysroots/x86_64-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/4.9.2/ld:
> copy reloc against protected `_ULaarch64_local_addr_space' is invalid
> |
> /buildarea/lyang1/test_uni/tmp/sysroots/x86_64-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/4.9.2/ld:
> failed to set dynamic section sizes: Bad value
> | aarch64-poky-linux-libtool: link: aarch64-poky-linux-gcc
> --sysroot=/buildarea/lyang1/test_uni/tmp/sysroots/qemuarm64 -O2 -pipe -g
> -feliminate-unused-debug-types -fexceptions -Wall -Wsign-co
> mpare -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o .libs/Gperf-trace
> Gperf-trace.o  ../src/.libs/libunwind-aarch64.so
> /buildarea/lyang1/test_uni/tmp/work/aarch64-poky-linux/libunwind/1.1-r0/build/src/.libs/libunwind.so
> ../src/.libs/libunwind.so -lc -lgcc_s
> | collect2: error: ld returned 1 exit status
> | make[1]: *** [Lperf-trace] Error 1
> | make[1]: *** Waiting for unfinished jobs....
> | aarch64-poky-linux-libtool: link: aarch64-poky-linux-gcc
> --sysroot=/buildarea/lyang1/test_uni/tmp/sysroots/qemuarm64 -O2 -pipe -g
> -feliminate-unused-debug-types -fexceptions -Wall -Wsign-compare -Wl,-O1
> -Wl,--hash-style=gnu -Wl,--as-needed -o .libs/Gperf-simple Gperf-simple.o
> ../src/.libs/libunwind-aarch64.so
> /buildarea/lyang1/test_uni/tmp/work/aarch64-poky-linux/libunwind/1.1-r0/build/src/.libs/libunwind.so
> ../src/.libs/libunwind.so -lc -lgcc_s
> | collect2: error: ld returned 1 exit status
> | make[1]: *** [Lperf-simple] Error 1
> |
> /buildarea/lyang1/test_uni/tmp/sysroots/x86_64-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/4.9.2/ld:
> copy reloc against protected `_Uaarch64_local_addr_space' is invalid
> |
> /buildarea/lyang1/test_uni/tmp/sysroots/x86_64-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/4.9.2/ld:
> failed to set dynamic section sizes: Bad value
> |
> /buildarea/lyang1/test_uni/tmp/sysroots/x86_64-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/4.9.2/ld:
> copy reloc against protected `_Uaarch64_local_addr_space' is invalid
> |
> /buildarea/lyang1/test_uni/tmp/sysroots/x86_64-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/4.9.2/ld:
> failed to set dynamic section sizes: Bad value
> | collect2: error: ld returned 1 exit status
> | make[1]: *** [Gperf-trace] Error 1
> | collect2: error: ld returned 1 exit status
> | make[1]: *** [Gperf-simple] Error 1
> | aarch64-poky-linux-libtool: link: aarch64-poky-linux-gcc
> --sysroot=/buildarea/lyang1/test_uni/tmp/sysroots/qemuarm64 -O2 -pipe -g
> -feliminate-unused-debug-types -fexceptions -Wall -Wsign-compare -Wl,-O1
> -Wl,--hash-style=gnu -Wl,--as-needed -o .libs/test-coredump-unwind
> test-coredump-unwind.o  ../src/.libs/libunwind-coredump.so
> ../src/.libs/libunwind-aarch64.so
> /buildarea/lyang1/test_uni/tmp/work/aarch64-poky-linux/libunwind/1.1-r0/build/src/.libs/libunwind.so
> -lgcc_s -lc
> |
> /buildarea/lyang1/test_uni/tmp/sysroots/x86_64-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/4.9.2/ld:
> copy reloc against protected `_UCD_accessors' is invalid
> |
> /buildarea/lyang1/test_uni/tmp/sysroots/x86_64-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/4.9.2/ld:
> failed to set dynamic section sizes: Bad value
> | collect2: error: ld returned 1 exit status
> [snip]
>


  reply	other threads:[~2015-04-14  5:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-14  5:15 failed to build libunwind when qemuarm64 Robert Yang
2015-04-14  5:45 ` Robert Yang [this message]
2015-04-20  3:37 ` Khem Raj

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=552CA960.2080804@windriver.com \
    --to=liezhi.yang@windriver.com \
    --cc=openembedded-core@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