libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libunwind-devel] compile error in tests: cannot make copy relocation fo


From: Milian Wolff
Subject: [Libunwind-devel] compile error in tests: cannot make copy relocation for protected symbol '_Ux86_64_local_addr_space'
Date: Sat, 28 Jan 2017 22:09:05 +0100

Hey all,

I just updated to latest master (haven't done so in a long time), and started 
from scratch to build with a clean build folder (i.e. out of source). 
Everything is peachy until the tests get build:

~~~~~~~~~~~~~~~~~~~~~~
Making all in tests
make[1]: Entering directory '/home/milian/projects/build/libunwind/tests'
/bin/sh ../libtool  --tag=CC   --mode=link /usr/bin/gcc  -g -O2 -fexceptions -
Wall -Wsign-compare   -o Gperf-simple Gperf-simple.o ../src/libunwind-
x86_64.la ../src/libunwind.la 
libtool: link: /usr/bin/gcc -g -O2 -fexceptions -Wall -Wsign-compare -o .libs/
Gperf-simple Gperf-simple.o  ../src/.libs/libunwind-x86_64.so /home/milian/
projects/build/libunwind/src/.libs/libunwind.so ../src/.libs/libunwind.so -lc 
-lgcc_s -llzma -Wl,-rpath -Wl,/home/milian/projects/compiled/other/lib
/home/milian/.bin/ld: error: Gperf-simple.o: cannot make copy relocation for 
protected symbol '_Ux86_64_local_addr_space', defined in ../src/.libs/
libunwind-x86_64.so
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:1035: Gperf-simple] Error 1
make[1]: Leaving directory '/home/milian/projects/build/libunwind/tests'
make: *** [Makefile:598: all-recursive] Error 1
makeobj[0]: Leaving directory `/home/milian/projects/build/libunwind'
~~~~~~~~~~~~~~~~~~~~~~

I have found https://sourceware.org/bugzilla/show_bug.cgi?id=17711 which makes 
it sounds as if this has long been fixed... Has anyone a clue what's going on? 
This is on ArchLinux with gcc and ld of the following versions:

~~~~~~~~~~~~~~~~~~~~~~
gcc --version
gcc (GCC) 6.3.1 20170109
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

ld --version
GNU gold (GNU Binutils 2.27) 1.12
Copyright (C) 2016 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
~~~~~~~~~~~~~~~~~~~~~~

Configure line I used is:

~/projects/src/libunwind/configure --prefix $HOME/projects/compiled/other/ --
enable-debug-frame --enable-minidebuginfo --enable-coredump --enable-ptrace --
enable-setjmp 

Thanks

-- 
Milian Wolff
address@hidden
http://milianw.de

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]