Zoltan Martonka has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/23892


Change subject: [cmake_modules] fix linker detection
......................................................................

[cmake_modules] fix linker detection

KuduLinker.cmake does not work as intended.
The code is meant to prioritize:
1. lld
2. lld built in thirdparty
3. gold

However, the check for the thirdparty linker always fails,
because it uses:
  -fuse-ld={kudu}/thirdparty/clang-toolchain/bin
but it should use:
  -fuse-ld=lld -B{kudu}/thirdparty/clang-toolchain/bin

The GNU gold linker is officially deprecated.
This change will be needed for upgrading to
LLVM 16 with ORC codegen, since gold crashes
with an internal linker error on RHEL 9.

Change-Id: I567caf9b73b75020facce8ce800e50662af60f39
---
M cmake_modules/KuduLinker.cmake
1 file changed, 8 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/92/23892/1
--
To view, visit http://gerrit.cloudera.org:8080/23892
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I567caf9b73b75020facce8ce800e50662af60f39
Gerrit-Change-Number: 23892
Gerrit-PatchSet: 1
Gerrit-Owner: Zoltan Martonka <[email protected]>

Reply via email to