------- Comment From <email address hidden> 2024-02-26 03:48 EDT-------
Ubuntu noble 24.04 is using glibc 2.39 which includes the required patch:
> In glibc-upstream, this configure check is now adjusted and it allows checking binutils by version number:
> commit "s390x: Fix static PIE condition for toolchain bootstrapping." (will be in glibc 2.39)
> https://sourceware.org/git/?p=glibc.git;a=commit;h=f5f96b784beb3480e0e8d10e250ca7e6063ab881
I've also upgraded to current pre-release of Ubuntu 24.04 and checked that compiling/running a static pie program now works. Linking with "-Wl,-v" also shows that rcrt1.o is now also used from libc6-dev-s390x-cross package.
------- Comment From <email address hidden> 2024-02-26 03:48 EDT------- /sourceware. org/git/ ?p=glibc. git;a=commit; h=f5f96b784beb3 480e0e8d10e250c a7e6063ab881
Ubuntu noble 24.04 is using glibc 2.39 which includes the required patch:
> In glibc-upstream, this configure check is now adjusted and it allows checking binutils by version number:
> commit "s390x: Fix static PIE condition for toolchain bootstrapping." (will be in glibc 2.39)
> https:/
The libc6-dev- s390x-cross package now contains the rcrt1.o file: /packages. ubuntu. com/noble/ all/libc6- dev-s390x- cross/filelist linux-gnu/ lib/rcrt1. o
https:/
/usr/s390x-
I've also upgraded to current pre-release of Ubuntu 24.04 and checked that compiling/running a static pie program now works. Linking with "-Wl,-v" also shows that rcrt1.o is now also used from libc6-dev- s390x-cross package.