Python requires 32-bit alignment now - was: Re: Tuple and changes for m68k with -malign-int

2024-05-15 Thread John Paul Adrian Glaubitz
Hi, On Sat, 2023-08-26 at 12:51 +0200, John Paul Adrian Glaubitz wrote: > > The Debian m68k maintainers proposed building their packages with > > -malign-int > > last year, aligning to 32-bit instead of 16-bit, which improves > > compatibility > > with some projects and should give better perfor

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

2023-08-29 Thread Jeffrey Walton
On Tue, Aug 29, 2023 at 5:53 PM Karoly Balogh via Libc-help wrote: > > On Tue, 29 Aug 2023, John Paul Adrian Glaubitz wrote: > > > > I don't want to force anyone here, but I'd also be fine with that. The > > > only > > > downside, apart from compatibility, appears to be slightly increased > > >

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

2023-08-29 Thread Karoly Balogh
Hi, On Tue, 29 Aug 2023, John Paul Adrian Glaubitz wrote: > > I don't want to force anyone here, but I'd also be fine with that. The only > > downside, apart from compatibility, appears to be slightly increased memory > > usage, and you're not exactly going to run modern Linux with 8MB RAM anyway

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

2023-08-29 Thread Michael Schmitz
Hi Adrian, On 29/08/23 22:51, John Paul Adrian Glaubitz wrote: On Mon, 2023-08-28 at 15:17 +0200, Andreas Schwab wrote: On Aug 28 2023, John Paul Adrian Glaubitz wrote: The FP failures are most likely the result of the limitations of the FPU emulation in QEMU for m68k. ARAnyM is known to hav

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

2023-08-29 Thread Geert Uytterhoeven
Hi Adrian, On Tue, Aug 29, 2023 at 12:51 PM John Paul Adrian Glaubitz wrote: > On Mon, 2023-08-28 at 15:17 +0200, Andreas Schwab wrote: > > On Aug 28 2023, John Paul Adrian Glaubitz wrote: > > > After all, we had to change the ABI for TLS support as well, didn't > > > we? > > > > Nope. > > So, an

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

2023-08-29 Thread John Paul Adrian Glaubitz
On Mon, 2023-08-28 at 14:29 +0100, James Le Cuirot wrote: > On Mon, 2023-08-28 at 14:50 +0200, John Paul Adrian Glaubitz wrote: > > Hi Adhemerval! > > > > On Mon, 2023-08-28 at 09:44 -0300, Adhemerval Zanella Netto wrote: > > > If the idea is really to endeavor on a new ABI for m68k, it means a >

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

2023-08-29 Thread John Paul Adrian Glaubitz
On Mon, 2023-08-28 at 15:17 +0200, Andreas Schwab wrote: > On Aug 28 2023, John Paul Adrian Glaubitz wrote: > > > The FP failures are most likely the result of the limitations of the FPU > > emulation > > in QEMU for m68k. ARAnyM is known to have much better FPU emulation support > > than > > QE

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

2023-08-29 Thread Eero Tamminen
Hi, On 29.8.2023 4.14, Finn Thain wrote: On Mon, 28 Aug 2023, John Paul Adrian Glaubitz wrote: And since we have to break the ABI anyway to be able to use 64-bit time_t If you're worried about Y2038, aren't you jumping the gun? I reckon we have about 10 years in which to figure out what a bet

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

2023-08-28 Thread Geert Uytterhoeven
Hi Richard, On Mon, Aug 28, 2023 at 10:17 PM Richard wrote: > On August 28, 2023 11:26:58 AM UTC, Richard wrote: > >On August 28, 2023 7:00:07 AM UTC, Geert Uytterhoeven > >wrote: > >>On Sun, Aug 27, 2023 at 11:36 AM James Le Cuirot > >> wrote: > >>> On Sun, 2023-08-27 at 10:46 +1000, Finn Tha

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

2023-08-28 Thread Finn Thain
On Mon, 28 Aug 2023, John Paul Adrian Glaubitz wrote: > > And since we have to break the ABI anyway to be able to use 64-bit > time_t If you're worried about Y2038, aren't you jumping the gun? I reckon we have about 10 years in which to figure out what a better m68k ABI should look like. > I

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

2023-08-28 Thread Finn Thain
On Mon, 28 Aug 2023, John Paul Adrian Glaubitz wrote: > On Mon, 2023-08-28 at 08:56 +0200, Geert Uytterhoeven wrote: > > > And potentially more in the future, which may be anticipated on the > > > basis that "those users don't need a stable ABI any more, so let's > > > just ignore the portabil

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

2023-08-28 Thread Richard
On August 28, 2023 11:26:58 AM UTC, Richard wrote: > > > >On August 28, 2023 7:00:07 AM UTC, Geert Uytterhoeven >wrote: >>On Sun, Aug 27, 2023 at 11:36 AM James Le Cuirot >> wrote: >>> On Sun, 2023-08-27 at 10:46 +1000, Finn Thain wrote: >> >>Perhaps we need a new compiler warning: "hole in

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

2023-08-28 Thread James Le Cuirot
On Mon, 2023-08-28 at 14:50 +0200, John Paul Adrian Glaubitz wrote: > Hi Adhemerval! > > On Mon, 2023-08-28 at 09:44 -0300, Adhemerval Zanella Netto wrote: > > If the idea is really to endeavor on a new ABI for m68k, it means a > > different > > loader and the question: will it be interoperable w

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

2023-08-28 Thread Andreas Schwab
On Aug 28 2023, John Paul Adrian Glaubitz wrote: > The FP failures are most likely the result of the limitations of the FPU > emulation > in QEMU for m68k. ARAnyM is known to have much better FPU emulation support > than > QEMU, so if you want to have more accurate results, you should test on AR

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

2023-08-28 Thread Adhemerval Zanella Netto
On 28/08/23 08:10, John Paul Adrian Glaubitz wrote: > On Sun, 2023-08-27 at 10:46 +1000, Finn Thain wrote: >>> Not only mold but also most notably the following projects: >>> >>> - LLVM >>> - Firebird Database >>> - OpenJDK >>> - Various Qt packages >>> >> >> And potentially more in the future,

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

2023-08-28 Thread John Paul Adrian Glaubitz
Hi Adhemerval! On Mon, 2023-08-28 at 09:44 -0300, Adhemerval Zanella Netto wrote: > If the idea is really to endeavor on a new ABI for m68k, it means a different > loader and the question: will it be interoperable with current m68k ABI in > the > sense that i686 is interoperable with x86_64? It

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

2023-08-28 Thread John Paul Adrian Glaubitz
On Mon, 2023-08-28 at 12:11 +, Richard wrote: > > On August 28, 2023 10:57:25 AM UTC, John Paul Adrian Glaubitz > wrote: > > On Sat, 2023-08-26 at 19:24 +, Richard wrote: > > > > Not only mold but also most notably the following projects: > > > > > > a linker that is broken by a slightl

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

2023-08-28 Thread Geert Uytterhoeven
Hi Richard, On Mon, Aug 28, 2023 at 2:12 PM Richard wrote: > On August 28, 2023 10:57:25 AM UTC, John Paul Adrian Glaubitz > wrote: > >On Sat, 2023-08-26 at 19:24 +, Richard wrote: > >> > Not only mold but also most notably the following projects: > >> > >> a linker that is broken by a slig

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

2023-08-28 Thread Richard
On August 28, 2023 10:57:25 AM UTC, John Paul Adrian Glaubitz wrote: >On Sat, 2023-08-26 at 19:24 +, Richard wrote: >> > Not only mold but also most notably the following projects: >> >> a linker that is broken by a slightly unusual alignment isn't exactly a >> prime example.. if any proj

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

2023-08-28 Thread Geert Uytterhoeven
Hi Richard, On Mon, Aug 28, 2023 at 1:27 PM Richard wrote: > On August 28, 2023 7:00:07 AM UTC, Geert Uytterhoeven > wrote: > >On Sun, Aug 27, 2023 at 11:36 AM James Le Cuirot > > wrote: > >> On Sun, 2023-08-27 at 10:46 +1000, Finn Thain wrote: > >> > Moreover, why is it that only a few develop

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

2023-08-28 Thread Richard
On August 28, 2023 7:00:07 AM UTC, Geert Uytterhoeven wrote: >On Sun, Aug 27, 2023 at 11:36 AM James Le Cuirot > wrote: >> On Sun, 2023-08-27 at 10:46 +1000, Finn Thain wrote: >> > Moreover, why is it that only a few developers have a problem with making >> > explicit their decisions regardin

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

2023-08-28 Thread John Paul Adrian Glaubitz
On Mon, 2023-08-28 at 08:56 +0200, Geert Uytterhoeven wrote: > > And potentially more in the future, which may be anticipated on the basis > > that "those users don't need a stable ABI any more, so let's just ignore > > the portability issues in our code and leave the problem to the distros > > and

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

2023-08-28 Thread John Paul Adrian Glaubitz
On Sun, 2023-08-27 at 10:46 +1000, Finn Thain wrote: > > Not only mold but also most notably the following projects: > > > > - LLVM > > - Firebird Database > > - OpenJDK > > - Various Qt packages > > > > And potentially more in the future, which may be anticipated on the basis > that "those use

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

2023-08-28 Thread John Paul Adrian Glaubitz
On Sat, 2023-08-26 at 19:24 +, Richard wrote: > > Not only mold but also most notably the following projects: > > a linker that is broken by a slightly unusual alignment isn't exactly a > prime example.. if any project I would expect linkers and binary tools > to pay attention to portability.

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

2023-08-28 Thread Geert Uytterhoeven
On Sun, Aug 27, 2023 at 11:36 AM James Le Cuirot wrote: > On Sun, 2023-08-27 at 10:46 +1000, Finn Thain wrote: > > Moreover, why is it that only a few developers have a problem with making > > explicit their decisions regarding alignment of shorts? What actual pain > > does it cause them to accept

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

2023-08-27 Thread Geert Uytterhoeven
On Sun, Aug 27, 2023 at 3:03 AM Finn Thain wrote: > On Sat, 26 Aug 2023, John Paul Adrian Glaubitz wrote: > > On Sat, 2023-08-26 at 09:53 +0100, James Le Cuirot wrote: > > Not only mold but also most notably the following projects: > > > > - LLVM > > - Firebird Database > > - OpenJDK > > - Various

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

2023-08-27 Thread Geert Uytterhoeven
On Sat, Aug 26, 2023 at 11:00 PM James Le Cuirot wrote: > On Sat, 2023-08-26 at 19:24 +, Richard wrote: > > On August 26, 2023 10:51:39 AM UTC, John Paul Adrian Glaubitz > > wrote: > > > On Sat, 2023-08-26 at 09:53 +0100, James Le Cuirot wrote: > > > It's a regular occurrence that a package

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

2023-08-27 Thread Richard
On August 27, 2023 9:20:16 AM UTC, James Le Cuirot wrote: >On Sun, 2023-08-27 at 10:46 +1000, Finn Thain wrote: >> On Sat, 26 Aug 2023, John Paul Adrian Glaubitz wrote: >> >> > On Sat, 2023-08-26 at 09:53 +0100, James Le Cuirot wrote: >> >> > >> >> If the kernel breaks the ABI, that's a bu

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

2023-08-27 Thread James Le Cuirot
On Sun, 2023-08-27 at 10:46 +1000, Finn Thain wrote: > On Sat, 26 Aug 2023, John Paul Adrian Glaubitz wrote: > > > On Sat, 2023-08-26 at 09:53 +0100, James Le Cuirot wrote: > > > ... > > > > > Not only mold but also most notably the following projects: > > > > - LLVM > > - Firebird Database >

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

2023-08-26 Thread Finn Thain
On Sat, 26 Aug 2023, John Paul Adrian Glaubitz wrote: > On Sat, 2023-08-26 at 09:53 +0100, James Le Cuirot wrote: > ... > > Not only mold but also most notably the following projects: > > - LLVM > - Firebird Database > - OpenJDK > - Various Qt packages > And potentially more in the future, w

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

2023-08-26 Thread James Le Cuirot
On Sat, 2023-08-26 at 19:24 +, Richard wrote: > > On August 26, 2023 10:51:39 AM UTC, John Paul Adrian Glaubitz > wrote: > > Hi James! > > > > On Sat, 2023-08-26 at 09:53 +0100, James Le Cuirot wrote: > > > I wasn't sure whether to send this to libc-alpha or here. This feels more > > > lik

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

2023-08-26 Thread Richard
On August 26, 2023 10:51:39 AM UTC, John Paul Adrian Glaubitz wrote: >Hi James! > >On Sat, 2023-08-26 at 09:53 +0100, James Le Cuirot wrote: >> I wasn't sure whether to send this to libc-alpha or here. This feels more >> like >> a request for help, so I decided to play it safe. :) > >I am CC'

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

2023-08-26 Thread John Paul Adrian Glaubitz
Hi James! On Sat, 2023-08-26 at 09:53 +0100, James Le Cuirot wrote: > I wasn't sure whether to send this to libc-alpha or here. This feels more like > a request for help, so I decided to play it safe. :) I am CC'ing Debian's m68k mailing list and the Linux m68k kernel mailing list to make sure we