Summary: | dev-libs/boost relocation R_X86_64_TP OFF32 against `_ZZN12_GLOBAL__N_110get_globalEvE6global' can not be used when making a shared object; recompile with -fPIC | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Anton Kochkov <anton.kochkov> |
Component: | Current packages | Assignee: | David Seifert <soap> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | ada+disabled, cpp+disabled, jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | full build log |
Description
Anton Kochkov
2016-11-15 13:30:13 UTC
Looks related: https://bugs.gentoo.org/show_bug.cgi?id=597694 Same in sci-libs/scipy: /scipy-0.18.1/work/scipy-0.18.1-python2_7/build/temp.linux-x86_64-2.7 -lpython2.7 -o /var/tmp/portage/sci-libs/scipy-0.18.1/work/scipy-0. 18.1-python2_7/build/lib/scipy/interpolate/_interpolate.so /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libstdc++.a(eh_globals.o): relocation R_X86_64_ TPOFF32 against `_ZZN12_GLOBAL__N_110get_globalEvE6global' can not be used when making a shared object; recompile with -fPIC /usr/lib64/libstdc++.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libstdc++.a(eh_globals.o): relocation R_X86_64_ TPOFF32 against `_ZZN12_GLOBAL__N_110get_globalEvE6global' can not be used when making a shared object; recompile with -fPIC /usr/lib64/libstdc++.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status Same in sys-cluster/openmpi: /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libstdc++.a(eh_globals.o): relocation R_X86_64_TPOFF32 against `_ZZN12_GLOBAL__N_110get_globalEvE6global' can not be used when making a shared object; recompile with -fPIC /usr/lib64/libstdc++.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status Same in net-libs/gnutls: libtool: link: x86_64-pc-linux-gnu-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/crti.o /us r/lib/gcc/x86_64-pc-linux-gnu/5.3.0/crtbeginS.o .libs/libgnutlsxx_la-gnutlsxx.o -Wl,-rpath -Wl,/var/tmp/portage/net-libs/gnutls-3.4.16 /work/gnutls-3.4.16-abi_x86_64.amd64/lib/.libs -Wl,--as-needed ./.libs/libgnutls.so -L/usr/lib64 -lz /usr/lib64/libtasn1.so -lnettle -lho gweed -lgmp -L/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/li b/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../.. /usr/lib/../lib64/libstdc++.a -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/.. /../../../lib64/crtn.o -march=core2 -mtune=generic -O2 -Wl,-O1 -Wl,-soname -Wl,libgnutlsxx.so.28 -o .libs/libgnutlsxx.so.28.1.0 /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/../lib64/libstdc++.a(eh_globals.o): relocation R_ X86_64_TPOFF32 against `_ZZN12_GLOBAL__N_110get_globalEvE6global' can not be used when making a shared object; recompile with -fPIC /usr/lib/../lib64/libstdc++.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status make[4]: *** [Makefile:1663: libgnutlsxx.la] Error 1 Found the reason - installed dev-lang/gnat-gcc-4.9.3, which provided this /usr/lib/libstdc++.a. All those bugs were solved after removing gnat-gcc. Still cannot be closed for now, since installing gnat-gcc brings problem back. Added Ada team, since this bug is only presented when dev-lang/gnat-gcc-4.9.3 is installed. *** Bug 599784 has been marked as a duplicate of this bug. *** *** Bug 597694 has been marked as a duplicate of this bug. *** Sorry, ada is a massive PITA and pretty much unsupported on Gentoo right now. |