Cannot make sense of LLD linker error with ldc 1.11.0
Per Nordlöw
per.nordlow at gmail.com
Thu Aug 30 13:36:58 UTC 2018
Recently the benchmark
https://github.com/nordlow/phobos-next/tree/master/benchmarks/containers/dub.sdl
run as
dub run --compiler=ldc2 --build=release
has started to fail as
Performing "release" build using ldc2 for x86_64.
phobos-next ~master: target for configuration "library" is up to
date.
benchmark-containers ~master: building configuration
"application"...
lld: error: unknown argument: --no-warn-search-mismatch
lld: error: unable to find library -lzstd
lld: error: unable to find library -lz
lld: error: unable to find library -lbz2
lld: error: unable to find library -lrt
lld: error: unable to find library -ldl
lld: error: unable to find library -lpthread
lld: error: unable to find library -lm
Error: linking with LLD failed
ldc2 failed with exit code 1.
[
on latest stable ldc 1.11.0 on Ubuntu 18.04 x64.
Anybody got a clue what's wrong?
Is there a way to make use of the gold linker instead?
More information about the Digitalmars-d-learn
mailing list