Port-m68k archive

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

Re: M68k backend has landed in LLVM - NetBSD support



Hi Chris!

On 11/5/21 19:52, Chris Hanson wrote:
> One thing I wonder is whether LLVM/clang can actually be built and run on NetBSD/m68k:
> NetBSD's VM on m68k only uses a single root page for the page tables, so with 4KB pages
> you have a hard VM ceiling of only a couple hundred megabytes, and with 8KB pages you're
> still under a gigabyte.

FWIW, there is one big blocker at the moment for using LLVM natively on Linux/m68k which is
that the natural alignment of 16 bits of m68k on Linux is incompatible with LLVM [1].

This is something we haven't been able to resolve yet, so if anyone from the NetBSD side has
a clever idea, that would be great.

Adrian

> [1] https://github.com/M680x0/M680x0-mono-repo/issues/10

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz%debian.org@localhost
`. `'   Freie Universitaet Berlin - glaubitz%physik.fu-berlin.de@localhost
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Home | Main Index | Thread Index | Old Index