about summary refs log tree commit diff
path: root/posix/gai.conf
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2021-08-30 13:59:33 -0700
committerFangrui Song <maskray@google.com>2021-08-31 20:23:34 -0700
commit224edada607ebc6aaa1aadaae423128fae7880df (patch)
tree95f5da42b7f141f21bb460049257a6f34a2a7ce0 /posix/gai.conf
parent60dfb30976761c9b20a22f18356e0c3e581f5394 (diff)
downloadglibc-224edada607ebc6aaa1aadaae423128fae7880df.tar.gz
glibc-224edada607ebc6aaa1aadaae423128fae7880df.tar.xz
glibc-224edada607ebc6aaa1aadaae423128fae7880df.zip
configure: Allow LD to be LLD 13.0.0 or above [BZ #26558]
When using LLD (LLVM linker) as the linker, configure prints a confusing
message.

    *** These critical programs are missing or too old: GNU ld

LLD>=13.0.0 can build glibc --enable-static-pie. (8.0.0 needs one
workaround for -Wl,-defsym=_begin=0. 9.0.0 works with
--disable-static-pie).

XFAIL two tests sysdeps/x86/tst-ifunc-isa-* which have the BZ #28154
issue (LLD follows the PowerPC port of GNU ld for ifunc by placing
IRELATIVE relocations in .rela.dyn, triggering a glibc ifunc fragility).

The set of dynamic symbols is the same with GNU ld and LLD,
modulo unused SHN_ABS version node symbols.

For comparison, gold does not support --enable-static-pie
yet (--no-dynamic-linker is unsupported BZ #22221), yet
has 6 failures more than LLD. gold linked libc.so has
larger .dynsym differences with GNU ld and LLD
(non-default version symbols are changed to default versions
by a version script BZ #28196).
Diffstat (limited to 'posix/gai.conf')
0 files changed, 0 insertions, 0 deletions