[PATCH] D148767: Restore CodeGen/LowLevelType from `Support`

Job Noorman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 3 09:05:10 PDT 2023


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



More information about the cfe-commits mailing list