[llvm-bugs] [Bug 46641] New: Build broken with LLVM_ENABLE_THREADS=OFF, undefined llvm::parallel::strategy

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jul 8 09:32:59 PDT 2020


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: unassignedbugs at nondot.org
          Reporter: dmajor at mozilla.com
                CC: i at maskray.me, llvm-bugs at lists.llvm.org,
                    smithp352 at googlemail.com

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200708/2a9b1a91/attachment.html>


More information about the llvm-bugs mailing list