https://llvm.org/bugs/show_bug.cgi?id=27482
Bug ID: 27482
Summary: clang fails to bootstrap with LLD
Product: lld
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
mkdir ~/src/llvm/ra
cd ~/src/llvm/ra
CC=clang CXX=clang++ cmake -GNinja .. -DCMAKE_BUILD_TYPE=Release
-DLLVM_ENABLE_ASSERTIONS=1
ninja lld clang
mkdir ~/src/llvm/ra2-lld
cd ~/src/llvm/ra2-lld
CC="$HOME/src/llvm/ra/bin/clang -fuse-ld=lld -Qunused-arguments"
CXX="$HOME/src/llvm/ra/bin/clang++ -fuse-ld=lld -Qunused-arguments" cmake
-GNinja .. -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=1
ninja check-clang
produces several assertion failures like this:
c-index-test: ../lib/Support/CommandLine.cpp:202: void (anonymous
namespace)::CommandLineParser::registerCategory(llvm::cl::OptionCategory *):
Assertion `std::count_if(RegisteredOptionCategories.begin(),
RegisteredOptionCategories.end(), [cat](const OptionCategory *Category) {
return cat->getName() == Category->getName(); }) == 0 && "Duplicate option
categories"' failed.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs