Re: Tuple and changes for m68k with -malign-int
- To: John Klos <john@klos.com>
- Cc: debian-68k@lists.debian.org, linux-m68k <linux-m68k@vger.kernel.org>, Libc-help <libc-help@sourceware.org>
- Subject: Re: Tuple and changes for m68k with -malign-int
- From: Geert Uytterhoeven <geert@linux-m68k.org>
- Date: Tue, 17 Jun 2025 09:02:16 +0200
- Message-id: <[🔎] CAMuHMdUznJ3Zm9JnhLG4MmEO1WODL0bddwN4rvO-eTdVUDzFjQ@mail.gmail.com>
- In-reply-to: <235be957-538f-15bb-3d92-0a4e393906f5@daisy.zia.io>
- References: <e9035006d50933fb02727fa373629cc821784f6c.camel@aura-online.co.uk> <08ce465732a0eb0dce550978c98ef822abba5f96.camel@physik.fu-berlin.de> <8734d1kofn.fsf@oldenburg.str.redhat.com> <f1f9bcd9fe3823935e747748f09bcf88cfc4d947.camel@physik.fu-berlin.de> <3388daa5-8129-e78d-d4bc-d7696cd3a30f@linux-m68k.org> <1ceb208498c53cf8db2acf746a4649f1eaea1457.camel@physik.fu-berlin.de> <CAMuHMdWMJKbd-Nfe6yWc_XE56KFmffnJ3T9AhNgUZ4=m9UGSeA@mail.gmail.com> <224e0eddab2deb8579e023e5bfc739e7151115d4.camel@physik.fu-berlin.de> <8cc5d290-ced1-cbe8-66c5-23977869f22a@linux-m68k.org> <235be957-538f-15bb-3d92-0a4e393906f5@daisy.zia.io>
Hi John,
On Wed, 21 May 2025 at 04:15, John Klos <john@klos.com> wrote:
> Should Linux maintain a 32 bit platform that has alignment issues because
> programmers make bad assumptions?
Linux (the kernel) does maintain it, and bug fixes are backported
to stable trees. The upstream kernel (outside the arch/m68k dir)
has no problem fixing whatever alignment issues that pop up.
> Your argument is that ABI breakage is death, and that projects and the
> world are better when we tell people to fix their broken code.
"we don't break user space" is the #1 rule in the kernel[1].
> I agree that ABI breakage is a huge hurdle. At the same time, the ABI will
> change to fix 32 bit time. Is there any good reason to NOT switch to 32
> bit alignment at the same time the time changes are made? I can't think of
> any reason.
>
> So can we all agree that there's no reason to not change alignment when
> the time changes are done?
According to Andeas, here is no change to be made for 64-bit time_t[2].
[1] https://lore.kernel.org/all/CAHk-=wg-6jYZ=bJWdyBR=n8QOfwHTZZdzSUUPgFW+NGCV-pe2g@mail.gmail.com
[2] [🔎] 87plff8p9w.fsf@igel.home">https://lore.kernel.org/all/[🔎] 87plff8p9w.fsf@igel.home
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Reply to: