Closed topolarity closed 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.
ld.lld
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)
strace -f cc -fuse-ld=lld 2>&1 | grep "ld\""
Seen when putting together https://github.com/JuliaPackaging/Yggdrasil/pull/7621
Note that the error message is something of a lie - it's
ld.lld
that it cannot find notld
.(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)