jobnoorman added a comment.

Hi, this seems to have broken my bolt+debug+shared build. I don't think there 
are build bots for this configuration but you can reproduce it like this:

  cmake -G Ninja -DCMAKE_BUILD_TYPE="Debug" \
                 -DLLVM_ENABLE_PROJECTS="clang;lld;bolt" \
                 -DBUILD_SHARED_LIBS=True \
                 -DLLVM_BUILD_TESTS=True \
                 -DLLVM_CCACHE_BUILD=ON \
                 -DLLVM_ENABLE_LLD=True \
                 -DLLVM_TARGETS_TO_BUILD="X86;RISCV;AArch64" \
                 -DLLVM_APPEND_VC_REV=False ../llvm

And this is the linker error:

  ld.lld: error: undefined symbol: llvm::LLT::print(llvm::raw_ostream&) const
  >>> referenced by LowLevelType.h:269 
(/.../llvm-project/llvm/include/llvm/CodeGen/LowLevelType.h:269)
  >>>               
tools/bolt/lib/Passes/CMakeFiles/LLVMBOLTPasses.dir/AsmDump.cpp.o:(llvm::LLT::dump()
 const)
  collect2: error: ld returned 1 exit status


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148767/new/

https://reviews.llvm.org/D148767

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to