s390x: Fix static PIE condition for toolchain bootstrapping.
commitf5f96b784beb3480e0e8d10e250ca7e6063ab881
authorStefan Liebler <stli@linux.ibm.com>
Mon, 14 Aug 2023 12:22:24 +0000 (14 14:22 +0200)
committerStefan Liebler <stli@linux.ibm.com>
Fri, 18 Aug 2023 08:57:59 +0000 (18 10:57 +0200)
tree01cb79e07bf67070df0e2c76cf8fac2a488f8154
parent464fd8249e8b791248cab7b0e0cd91757435fa9e
s390x: Fix static PIE condition for toolchain bootstrapping.

The static PIE configure check uses link tests.  When bootstrapping
a cross-toolchain, the link tests fail due to missing crt-files /
libc.so.  As we explicitely want to test an issue in binutils (ld),
we now also explicitely check for known linker versions.

See also commit 368b7c614b102122b86af3953daea2b30230d0a8
S390: Use compile-only instead of also link-tests in configure.
sysdeps/s390/s390-64/configure
sysdeps/s390/s390-64/configure.ac