Re: Question on BIGGEST_ALIGNMENT in GCC on NetBSD/m68k
On Mon, 2025-06-16 at 10:00 +0200, Laurent Vivier wrote:
> > Could you point me to these packages which assume 2 bytes alignment? I'm genuinely
> > interested as I would like to put these up on the wiki. So far I haven't found any.
> >
> > I have used Debian's rebootstrap to create an initial set of m68k packages with
> > 4 bytes alignment and didn't run into any problems yet.
> >
> > The Gentoo developers have also successfully created a chroot with 4 bytes alignment:
> >
> > https://dev.gentoo.org/~dilfridge/m68k/
> >
> > I have tried it and it worked fine for me with qemu-user.
> >
> > So, if there is any software that is incompatible with 4 bytes alignment on m68k, I
> > would like to hear about it.
>
> qemu-user is one of these softwares that know m68k has alignment of
> 2byte. All the structures translated from the m68k chroot to the host
> kernel are with a 2byte alignment.
And yet it works without any problems so far. Please try the Gentoo chroot yourself.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: