Setting up NetBSD/m68k on qemu-virt for LLVM CI

John Paul Adrian Glaubitz <[email protected]> Sun, 09 Feb 2025 09:12:53 +0100
Newsgroups gmane.os.netbsd.ports.m68k
Message-ID <04a23b1f59d5c3d53330b3b6969c2b9283b192ec.camel@physik.fu-berlin.de>
Hi,

after learning that NetBSD uses four bytes alignment on m68k by default and also
seeing that apparently NetBSD has also landed support for the virt machine in qemu
on m68k, I have decided that I would like to switch the m68k buildbot that I am
maintaining for the LLVM CI from Linux/m68k to NetBSD/m68k.

Currently that buildbot is running Linux/m68k which means that it's currently impossible
to build LLVM natively due the two bytes alignment used on Linux/m68k by default:

https://lab.llvm.org/staging/#/builders/91

Would someone here be willing to help me set up the buildbot on NetBSD? My plan
would be to shut down the Linux/m68k virtual machine, move it out of the way and
replace with a NetBSD/m68k virtual machine and switch the CI to build on NetBSD.

FWIW, has anyone here tried building LLVM on NetBSD/m68k? At least a stage1 build
should just work while there might still be some issues that prevent a two-stage
build.

Thanks,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913