[llvm-bugs] [Bug 28254] New: libclang_rt.builtins isn't built with -fPIC

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jun 21 16:18:59 PDT 2016


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

            Bug ID: 28254
           Summary: libclang_rt.builtins isn't built with -fPIC
           Product: compiler-rt
           Version: unspecified
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: brian at peloton-tech.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

libclang_rt.builtins doesn't get built with -fPIC. For ARM, this means building
shared objects with -rtlib=compiler-rt doesn't work. I get an error complaining
about bad types of relocations when I try. If just adding -fPIC is a workable
fix, http://reviews.llvm.org/D19681 does that and seems to work great.

-- 
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/20160621/5d46df38/attachment.html>


More information about the llvm-bugs mailing list