Re: Tuple and changes for m68k with -malign-int

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.68k,gmane.comp.lib.glibc.user,gmane.linux.ports.m68k
Message-ID <ddbed621ab2743ed0fc4262d1b30cfae805f5904.camel@physik.fu-berlin.de>
Hi Geert,

On Mon, 2025-05-19 at 10:25 +0200, Geert Uytterhoeven wrote:
> On Mon, 19 May 2025 at 10:18, John Paul Adrian Glaubitz
> <[email protected]> wrote:
> > On Mon, 2025-05-19 at 10:03 +0200, Andreas Schwab wrote:
> > > On Mai 19 2025, John Paul Adrian Glaubitz wrote:
> > > 
> > > > Good idea. I will do that. My assumption is that on Linux, GCC developers
> > > > actually just forgot to switch alignment from 2 to 4 bytes with the switch
> > > > to ELF unlike NetBSD.
> > > 
> > > The Linux developers care about backward compatilibity.
> > 
> > That makes no sense though as a.out and ELF binaries are not compatible, are they?
> 
> The syscall ABI is.

Fair enough. But a.out is long gone now and anyone who runs Linux/m68k these days does
that as a hobbyist. I think that the advantages of fixing several dozens of alignment
bugs once and for all hugely outweighs the disadvantage of breaking compatibility with
old binaries.

If I understand correctly, there was an (unintended) ABI break on Linux/s390 as well
and it seems that it was not reverted [1]. Maybe someone involved in this discussion
from back then can comment.

Adrian

> [1] https://lwn.net/Articles/605607/

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.