https://bugs.llvm.org/show_bug.cgi?id=46641
Bug ID: 46641
Summary: Build broken with LLVM_ENABLE_THREADS=OFF, undefined
llvm::parallel::strategy
Product: lld
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
After llvmorg-11-init-7275-geb4663d8c6a
(https://github.com/llvm/llvm-project/commit/eb4663d8c6ad), building with
-DLLVM_ENABLE_THREADS=OFF fails:
Undefined symbols for architecture x86_64:
"llvm::parallel::strategy", referenced from:
readConfigs(llvm::opt::InputArgList&) in liblldELF.a(Driver.cpp.o)
lld::coff::LinkerDriver::link(llvm::ArrayRef<char const*>) in
liblldCOFF.a(Driver.cpp.o)
lld::wasm::(anonymous namespace)::LinkerDriver::link(llvm::ArrayRef<char
const*>) in liblldWasm.a(Driver.cpp.o)
lld::unlinkAsync(llvm::StringRef) in liblldCommon.a(Filesystem.cpp.o)
lld::elf::MergeNoTailSection::finalizeContents() in
liblldELF.a(SyntheticSections.cpp.o)
createSymbols(llvm::ArrayRef<std::__1::vector<lld::elf::GdbIndexSection::NameAttrEntry,
std::__1::allocator<lld::elf::GdbIndexSection::NameAttrEntry> > >,
std::__1::vector<lld::elf::GdbIndexSection::GdbChunk,
std::__1::allocator<lld::elf::GdbIndexSection::GdbChunk> > const&) in
liblldELF.a(SyntheticSections.cpp.o)
void lld::elf::doIcf<llvm::object::ELFType<(llvm::support::endianness)1,
false> >() in liblldELF.a(ICF.cpp.o)
...
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs