[PATCH] Deprecate s390-linux-gnu (31bit)

Stefan Liebler stli@linux.ibm.com
Wed Dec 17 12:59:04 GMT 2025


On 12/17/25 00:53, Andreas K. Huettel wrote:
> Am Dienstag, 16. Dezember 2025, 15:20:29 Mitteleuropäische Normalzeit schrieb Stefan Liebler:
>> 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
>> ---
>>  NEWS                         | 5 +++++
>>  scripts/build-many-glibcs.py | 2 --
>>  2 files changed, 5 insertions(+), 2 deletions(-)
>>
>> diff --git a/NEWS b/NEWS
>> index 6964ca074e..1e0d7864d1 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 and will then
> 
> is deprecated in the glibc 2.43 release 
> 
>> +  be removed with glibc 2.44 release. Note that s390x-linux-gnu (64bit) keeps
> 
> remains supported
> 
>> +  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',
>>
> 
> Mostly symbolic but anyway, 
> 
> Reviewed-by: Andreas K. Huettel <dilfridge@gentoo.org>
> 
Committed with your changes.

Thanks,
Stefan


More information about the Libc-alpha mailing list