[llvm-bugs] [Bug 43604] New: ubuntu bionic x86_64: static libc++.a version 9 cannot be used in shared libraries since build without -fPIC

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Oct 8 04:10:44 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=43604

            Bug ID: 43604
           Summary: ubuntu bionic x86_64: static libc++.a version 9 cannot
                    be used in shared libraries since build without -fPIC
           Product: Packaging
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: deb packages
          Assignee: unassignedbugs at nondot.org
          Reporter: andrei.alekseenko at gmail.com
                CC: llvm-bugs at lists.llvm.org

/usr/bin/ld: /usr/lib/llvm-9/lib/libc++.a(algorithm.cpp.o): relocation
R_X86_64_32S against `.rodata._ZNSt3__16__sortIRNS_6__lessIccEEPcEEvT0_S5_T_'
can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/llvm-9/lib/libc++.a(chrono.cpp.o): relocation R_X86_64_32
against `.rodata.str1.1' can not be used when making a shared object; recompile
with -fPIC
/usr/bin/ld: /usr/lib/llvm-9/lib/libc++.a(condition_variable.cpp.o): relocation
R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared
object; recompile with -fPIC
/usr/bin/ld: /usr/lib/llvm-9/lib/libc++.a(exception.cpp.o): relocation
R_X86_64_32S against symbol `_ZTVSt16nested_exception' can not be used when
making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/llvm-9/lib/libc++.a(future.cpp.o): relocation R_X86_64_32
against `.rodata.str1.1' can not be used when making a shared object; recompile
with -fPIC
/usr/bin/ld: /usr/lib/llvm-9/lib/libc++.a(hash.cpp.o): relocation R_X86_64_32
against `.rodata' can not be used when making a shared object; recompile with
-fPIC
/usr/bin/ld: /usr/lib/llvm-9/lib/libc++.a(ios.cpp.o): relocation R_X86_64_32S
against symbol `_ZTVNSt3__18ios_baseE' can not be used when making a shared
object; recompile with -fPIC
/usr/bin/ld: /usr/lib/llvm-9/lib/libc++.a(iostream.cpp.o): relocation
R_X86_64_32 against `.bss' can not be used when making a shared object;
recompile with -fPIC
/usr/bin/ld: /usr/lib/llvm-9/lib/libc++.a(locale.cpp.o): relocation R_X86_64_32
against `.bss' can not be used when making a shared object; recompile with
-fPIC
/usr/bin/ld: /usr/lib/llvm-9/lib/libc++.a(memory.cpp.o): relocation R_X86_64_32
against `.rodata.str1.1' can not be used when making a shared object; recompile
with -fPIC
/usr/bin/ld: /usr/lib/llvm-9/lib/libc++.a(mutex.cpp.o): relocation R_X86_64_32
against `.rodata.str1.1' can not be used when making a shared object; recompile
with -fPIC
/usr/bin/ld: /usr/lib/llvm-9/lib/libc++.a(new.cpp.o): relocation R_X86_64_32
against symbol `_ZTISt9bad_alloc' can not be used when making a shared object;
recompile with -fPIC
/usr/bin/ld: /usr/lib/llvm-9/lib/libc++.a(regex.cpp.o): relocation R_X86_64_32
against symbol `__gxx_personality_v0' can not be used when making a shared
object; recompile with -fPIC
/usr/bin/ld: /usr/lib/llvm-9/lib/libc++.a(stdexcept.cpp.o): relocation
R_X86_64_32S against symbol `_ZTVSt11logic_error' can not be used when making a
shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/llvm-9/lib/libc++.a(string.cpp.o): relocation R_X86_64_32
against `.rodata.str1.1' can not be used when making a shared object; recompile
with -fPIC
/usr/bin/ld: /usr/lib/llvm-9/lib/libc++.a(system_error.cpp.o): relocation
R_X86_64_32S against symbol `_ZTVNSt3__114error_categoryE' can not be used when
making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/llvm-9/lib/libc++.a(thread.cpp.o): relocation R_X86_64_32
against `.rodata.str1.1' can not be used when making a shared object; recompile
with -fPIC
/usr/bin/ld: /usr/lib/llvm-9/lib/libc++.a(vector.cpp.o): relocation R_X86_64_32
against `.rodata.str1.1' can not be used when making a shared object; recompile
with -fPIC
/usr/bin/ld: /usr/lib/llvm-9/lib/libc++.a(charconv.cpp.o): relocation
R_X86_64_32S against `.rodata' can not be used when making a shared object;
recompile with -fPIC

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191008/fd3b5891/attachment.html>


More information about the llvm-bugs mailing list