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

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.ports.m68k,gmane.linux.debian.ports.68k,gmane.comp.lib.glibc.user
Message-ID <0f7345713d232c46f241e3b0a9303f76adebbde1.camel@physik.fu-berlin.de>
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
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.