Re: Tuple and changes for m68k with -malign-int
On Mon, 2025-05-19 at 10:24 +0200, John Paul Adrian Glaubitz wrote:
> On Mon, 2025-05-19 at 10:14 +0200, Florian Weimer wrote:
> > * John Paul Adrian Glaubitz via Libc-help:
> >
> > > I was just looking at the necessary changes to switch m68k to 32-bit alignment
> > > and I'm not sure we need to do anything about glibc. I am documenting my current
> > > findings here [1].
> >
> > > > [1] https://wiki.debian.org/M68k/Alignment
> >
> > Why doesn't this change need a new target triple? This change alters
> > struct layout (it introduces new padding in some cases), so it's quite
> > incompatible with what we have today.
>
> My argument is that Linux/m68k is a pure hobbyist project and anyone involved
> can deal with the changes coming from the alignment change.
>
> Introducing a new triplet would mean having to accommodate for that in other
> projects which only know "m68k-(unknown-)linux-gnu.
For what it's worth, while Adrian and I are largely aligned (haha) on this
change, myself and others in Gentoo do intend to use a new tuple. The current
plan is to do this at the same time as time64, which we believe also requires
new tuples, despite Debian sticking the same ones there as well. We are aware
that other projects will require adjusting, but we'll just deal with it.
Reply to: