Re: Question on BIGGEST_ALIGNMENT in GCC on NetBSD/m68k
Hello Geert,
On Sun, 2025-06-15 at 11:26 +0200, Geert Uytterhoeven wrote:
> Sorry, I didn't know you have to coordinate this with the glibc project.
> But you have to do something to mark it incompatible with older versions...
> IIRC, I saw Debian bumping SO versions before...
It doesn’t really matter whether I would have to bump the SO version upstream
or in Debian. In both cases I would have to convince large projects with commercial
relevance to make invasive changes to accommodate for a compatibility change in a
hobbyist project. This will fail the same way as most attempts to get patches for
2 bytes alignment support merged upstream.
The original motivation is to make a change that will fix the alignment problem
without large changes to the source as the latter is something that would be rejected
outside the m68k scope. Both Debian and upstream would not want to integrate such
changes and rather ask us just to drop m68k support altogether.
However, I think a good compromise would be to integrate the suggestion by David
Brownlee to add an additional ELF note to block the execution of 2 bytes alignment
binaries on systems with 4 bytes alignment.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: