From: Stefan Liebler Date: Tue, 16 Dec 2025 14:20:29 +0000 (+0100) Subject: Deprecate s390-linux-gnu (31bit) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=638d437dbf9c68e40986edaa9b0d1c2e72a1ae81;p=thirdparty%2Fglibc.git Deprecate s390-linux-gnu (31bit) The next linux 6.19 release will remove support for compat syscalls on s390x with those commits: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0d79affa31cbee477a45642efc49957d05466307 0d79affa31cb Merge branch 'compat-removal' 4ac286c4a8d9 s390/syscalls: Switch to generic system call table generation f4e1f1b1379d s390/syscalls: Remove system call table pointer from thread_struct 3db5cf935471 s390/uapi: Remove 31 bit support from uapi header files 8e0b986c59c6 s390: Remove compat support 169ebcbb9082 tools: Remove s390 compat support 7afb095df3e3 s390/syscalls: Add pt_regs parameter to SYSCALL_DEFINE0() syscall wrapper b2da5f6400b4 s390/kvm: Use psw32_t instead of psw_compat_t 8c633c78c23a s390/ptrace: Rename psw_t32 to psw32_t This patch also removes s390-linux-gnu (31bit) from build-many-glibcs.py. Then the next update of syscall numbers for Linux 6.19 won't change sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h Reviewed-by: Andreas K. Huettel --- diff --git a/NEWS b/NEWS index 6964ca074e..2f266f2534 100644 --- a/NEWS +++ b/NEWS @@ -77,6 +77,11 @@ Deprecated and removed features, and other changes affecting compatibility: * The support for TX lock elision of pthread mutexes has been removed on all architectures (powerpc, s390x, x86_64). +* The next linux 6.19 release will remove support for compat syscalls on s390x. + Therefore the s390-linux-gnu (31bit) configuration is deprecated in the + glibc 2.43 release and will then be removed with glibc 2.44 release. + Note that s390x-linux-gnu (64bit) remains supported. + Changes to build and runtime requirements: [Add changes to build and runtime requirements here] diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index 940b66a09a..25551ed038 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -439,8 +439,6 @@ class Context(object): '--disable-multilib']) self.add_config(arch='s390x', os_name='linux-gnu', - glibcs=[{}, - {'arch': 's390', 'ccopts': '-m31'}], extra_glibcs=[{'variant': 'O3', 'cflags': '-O3'}, {'variant': 'zEC12',