On 2020-12-28, H.J. Lu wrote: >On Mon, Dec 28, 2020 at 11:49 AM Fangrui Song via Libc-alpha > wrote: >> >> When using lld as the linker, configure prints a confusing message. >> >> *** These critical programs are missing or too old: GNU ld >> >> lld>=8 can build glibc with very few patches. lld may be built with a >> custom version information (e.g. git commit ID), so a version check is not >> useful at all. > >But not all versions of lld can be used to build glibc. Please find a way >to check the working lld version. Replaced this with "configure: Allow LD to be LLD 9.0.0 or above" in https://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/maskray/lld 8.0.0 needs an additional workaround. Since 9.0.0 is quite common in distributions, I just set the baseline to 9.0.0 to reduce friction.