Hi Adrian,
On Wed, 10 Sept 2025 at 09:39, John Paul Adrian Glaubitz glaubitz@physik.fu-berlin.de wrote:
On Wed, 2025-09-10 at 08:52 +0200, Andreas Schwab wrote:
On Sep 10 2025, Finn Thain wrote:
Linux is probably the only non-trivial program that could be feasibly rebuilt with -malign-int without ill effect (i.e. without breaking userland)
No, you can't. It would change the layout of basic user-level structures, breaking the syscall ABI.
Not if you rebuild the whole userspace as well.
Linux does not break the userspace ABI.
FWIW, the Gentoo people already created a chroot with 32-bit alignmment:
That would be a different Linux architecture (m68k-32?).
Gr{oetje,eeting}s,
Geert