Re: Question on BIGGEST_ALIGNMENT in GCC on NetBSD/m68k

Laurent Vivier <[email protected]> Mon, 16 Jun 2025 08:33:02 +0200
Newsgroups gmane.linux.debian.ports.68k,gmane.os.netbsd.ports.m68k,gmane.linux.ports.m68k
Message-ID <[email protected]>

Le 14/06/2025 à 09:21, John Paul Adrian Glaubitz a écrit :
> On Fri, 2025-06-13 at 17:24 +0200, Laurent Vivier wrote:
>> A stupid question: is this possible to remove from debian the packets
>> that are broken?
>> (I'm sorry if you already answered to this question).
> 
> Sure, we can remove Python on m68k. But whether it will still be useful
> after that remains a different question. I would argue we should rather
> totally drop the port then because Linux without Python doesn't really
> work these days.

You can see the fix for python has been merged 5 days ago...

>> Because I'm afraid that changing the ABI could cause more problems than
>> it solves.
> 
> For what exact reason? NetBSD/m68k runs with 4 bytes alignment.
> Why shouldn't this work for Linux?

The problem is not the 4 byte alignment but changing the ABI.

You will create the exact same problem you want to fix: we can guess 
some softwares are built on linux/m68k with 2byte alignment in mind. So 
once the ABI is changed, you'll have to track them to fix them.

> 
> And I have bootstrapped Debian/m68k using rebootstrap with 4 bytes alignment
> without any problems. If you think there are problems with 4 bytes alignment,
> I would like to see them reported.

Adrian, I respect all the work you do for debian ports and particularly 
on m68k, but I want to point out that this ABI change can generate more 
problems than it solves.

Thanks,
Laurent