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: unassignedb...@nondot.org
          Reporter: hjl.to...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to