JuliaPackaging / BinaryBuilderBase.jl

https://juliapackaging.github.io/BinaryBuilderBase.jl/stable
MIT License
11 stars 31 forks source link

`cc -fuse-ld=lld` is broken due to GCC being unable to find `ld.lld` #349

Closed topolarity closed 9 months ago

topolarity commented 9 months ago
sandbox:${WORKSPACE}/srcdir # cc -fuse-ld=lld
collect2: fatal error: cannot find ‘ld’
compilation terminated.

Note that the error message is something of a lie - it's ld.lld that it cannot find not ld.

(You can see that if you do strace -f cc -fuse-ld=lld 2>&1 | grep "ld\"" which will show the files attempted to be opened by GCC)

topolarity commented 9 months ago

Seen when putting together https://github.com/JuliaPackaging/Yggdrasil/pull/7621