[llvm-bugs] [Bug 26054] New: Race condition in compiler-rt cmake build

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jan 6 16:26:52 PST 2016


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

            Bug ID: 26054
           Summary: Race condition in compiler-rt cmake build
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: hjl.tools at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

On machine with 24 cores,

cmake --build build-x86_64-linux-gnux32 -- -j 12

may lead to

/usr/local/bin/ld:/export/build/gnu/llvm-clang-x32-bootstrap-cmake/stage2/build-x86_64-linux-gnux32/projects/compiler-rt/lib/asan/clang_rt.asan-dynamic-x32.vers:1:
syntax error in VERSION script
clang-3.8: error: linker command failed with exit code 1 (use -v to see
invocation)
projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-dynamic-x32.dir/build.make:224:
recipe for target 'lib/clang/3.8.0/lib/linux/libclang_rt.asan-x32.so' failed
gmake[5]: *** [lib/clang/3.8.0/lib/linux/libclang_rt.asan-x32.so] Error 1

libclang_rt.asan-x32.so was built while clang_rt.asan-dynamic-x32.vers
was being generated.  As the result, linker read the partially
written clang_rt.asan-dynamic-x32.vers.

-- 
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/20160107/d8a39e19/attachment.html>


More information about the llvm-bugs mailing list