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 [email protected] http://milianw.de
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Libunwind-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/libunwind-devel
