Re: Tuple and changes for m68k with -malign-int
On Tue, 2025-05-20 at 19:55 +1000, Finn Thain wrote:
> On Tue, 20 May 2025, John Paul Adrian Glaubitz wrote:
>
> > > As for gccgo, has that ever worked on m68k?
> >
> > Yes.
> >
>
> Why is an ABI change needed to get it to work again?
Because software changes over time. Qt used to work with 2 bytes alignment
as well when it had less features.
> > > Other language runtimes work fine on the m68k ABI. Why is Rust
> > > special?
> >
> > You mean other languages such as JavaScript, Go, Java, Python and
> > WebKit?
> >
> > No, they don't work fine on m68k.
> >
>
> Python works -- you patched it yourself! -- it doesn't need a special ABI.
Yes, I had to PATCH it. That's the point, Finn.
> As for the Java runtime etc. I've never tried to install them on m68k but
> I know they were ported to a variety of ABIs with a variety of alignment
> rules, that do not guarantee natural alignment of integer types.
I see. Since you haven't tested it, it means the bug doesn't exist.
Gotcha.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: