On Wed, Mar 12, 2025 at 12:38:59PM +0000, Joseph Myers wrote: > This commit has changed int __attribute__ ((__mode__ (__word__))) on s390 > -m31 from int to long long. That introduces a glibc testsuite failure - > the glibc testsuite verifies the expected C++ name mangling of various > types, including register_t (which is defined with that attribute). > > https://sourceware.org/pipermail/libc-testresults/2025q1/013529.html
Thank you very much for pointing this out. The intention of -m31 -mesa and -m31 -mzarch was that they are (ABI) compatible which is almost true except as it turns out they are not for attribute mode(word). After doing some archaeology and digging out an over 18 year old thread [1,2] which is about this very attribute, I come to the conclusion to revert this patch. The intention by deprecating and eventually removing ESA/390 support was to prepare for a future removal of -m31; though in smaller steps. Thus, instead of introducing some potential hick ups along the route, I will revert this patch and will revisit this topic when time for -m31 in its entirety has come---independent of -mesa/-mzarch. Cheers, Stefan [1] https://gcc.gnu.org/pipermail/gcc-patches/2006-September/200465.html [2] https://gcc.gnu.org/pipermail/gcc-patches/2006-October/201154.html