[klibc] [PATCH] support llvm's lld

Anatoly Pugachev matorola at gmail.com
Tue Jan 28 02:13:33 PST 2020

On Tue, Jan 28, 2020 at 1:06 AM Stanislav Fomichev <sdf at google.com> wrote:
> When using clang+llvm and lld, I get the following error:
> ld.lld: error: -Ttext-segment is not supported. Use --image-base if you intend to set the base address
> Let's test whether linker is lld and use --image-base instead of
> -Ttext-segment. See llvm's rationale for not supporting -Ttext-segment:
> https://github.com/llvm/llvm-project/commit/4dc2fb123dcfe9a97ad6f3a1135053b74efd0bc9
> Note that I've tested x86_64 only, everything else is just a copy-paste.

how do i test it on other arches? just trying to build it (make/cmake)
or there's a test which could be used?

More information about the klibc mailing list