Port-m68k archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Preliminary results - was: Re: Question on BIGGEST_ALIGNMENT in GCC on NetBSD/m68k



Hi Arnd,

On Wed, 7 Jan 2026 at 09:20, Arnd Bergmann <arnd%arndb.de@localhost> wrote:
> On Tue, Jan 6, 2026, at 20:31, Geert Uytterhoeven wrote:
> > On Tue, 6 Jan 2026 at 16:38, Arnd Bergmann <arnd%arndb.de@localhost> wrote:
> >> On Tue, Jan 6, 2026, at 14:40, John Paul Adrian Glaubitz wrote:
> >> > On Tue, 2026-01-06 at 14:34 +0100, Kolbjørn Barmen wrote:
> >> The diffstat is
> >>
> >>  407 files changed, 2433 insertions(+), 754 deletions(-)
> >>
> >> and I think this touches around 1500 structures, though
> >> most files only have a single one.
> >
> > Thanks, this seems to work fine for atari_defconfig, and generates
> > the exact same code as before.
>
> Ok, good. The more interesting bit then is what happens when
> you actually turn on -malign-int for the kernel itself. There

It fails to build due to wrong and missing annotations in union __sifields:

arch/m68k/kernel/signal.c:621:9: note: in expansion of macro ‘BUILD_BUG_ON’
  621 |         BUILD_BUG_ON(offsetof(siginfo_t, si_lower) != 0x12);

which is probably the same issue Kolla was seeing.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert%linux-m68k.org@localhost

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


Home | Main Index | Thread Index | Old Index