[llvm-bugs] [Bug 31812] New: libLLVMSupport.a gets linked twice during CMake based builds

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jan 31 03:31:10 PST 2017


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

            Bug ID: 31812
           Summary: libLLVMSupport.a gets linked twice during CMake based
                    builds
           Product: Build scripts
           Version: 3.9
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: Awais_Belal at mentor.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Cross building LLVM 3.9.1 sometimes fail reporting undefined symbols in
libLLVMSupport static library. Doing a bit of log digging shows that
libLLVMSupport gets linked twice (both for NATIVE and target builds) and when
this multiple linking step takes place concurrently the libLLVMSupport static
library gets corrupted and the mentioned build failure is seen.
This was discussed on the llvm-dev mailing list and I was asked to report this
here. The mailing list entry is:
http://lists.llvm.org/pipermail/llvm-dev/2017-January/109570.html

-- 
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/20170131/882a6a00/attachment.html>


More information about the llvm-bugs mailing list