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

Khem Raj via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 3 20:37:34 PDT 2023


raj.khem added a comment.

I am late to party I know. I am trying to enable lld as default system linker for one of yocto based distros and this option turned on by default now breaks quite a few packages on linux with this error

| riscv64-yoe-linux-ld.lld: error: version script assignment of <SYMBOL>' to symbol '<ALIAS>' failed: symbol not defined |
|

I guess I have to add `-Wl,--undefined-version` to global LDFLAGS for now until these packages are fixed one by one.


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