[PATCH] D135402: [LLD] Enable --no-undefined-version by default.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 7 15:54:53 PST 2022


MaskRay added a comment.

In D135402#3913463 <https://reviews.llvm.org/D135402#3913463>, @ronlieb wrote:

> https://lab.llvm.org/buildbot/#/builders/193/builds/21412

I cannot reproduce.

  cmake -GNinja -Sllvm -B/tmp/out/s2-custom -DCMAKE_BUILD_TYPE=Release ${LLVM} -DCMAKE_CXX_COMPILER=/tmp/Rel/bin/clang++ -DCMAKE_C_COMPILER=/tmp/Rel/bin/clang -DCLANG_DEFAULT_LINKER=lld '-DLLVM_TARGETS_TO_BUILD=X86;AMDGPU' -DLLVM_ENABLE_RUNTIMES=openmp '-DLLVM_ENABLE_PROJECTS=clang;llvm;lld'
  ninja -C /tmp/out/s2-custom check-openmp

I checked moving `openmp` from LLVM_ENABLE_RUNTIMES to LLVM_ENABLE_PROJECTS as well. Beside, I cannot find `--version-script` in the failed log. How does the build use the problematic linker script?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135402



More information about the llvm-commits mailing list