[llvm-bugs] [Bug 41325] New: libomp links against system compiler-rt instead of newly built version

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Mar 31 10:46:50 PDT 2019


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

            Bug ID: 41325
           Summary: libomp links against system compiler-rt instead of
                    newly built version
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Runtime Library
          Assignee: unassignedbugs at nondot.org
          Reporter: bero at lindev.ch
                CC: llvm-bugs at lists.llvm.org

When building llvm 8.0 with clang, compiler-rt, openmp etc. all in the tree,
libomp links against whatever libclang_rt.builtins*.a is previously installed
on the system instead of the version just built.

This causes issues if libomp relies on features not present in an old version
and/or (given it links statically) if the previously installed libclang_rt is
buggy.

-- 
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/20190331/d517d5d2/attachment-0001.html>


More information about the llvm-bugs mailing list