Re: M68k backend has landed in LLVM - NetBSD support
John Paul Adrian Glaubitz <[email protected]> Tue, 9 Nov 2021 16:29:13 +0100
| Newsgroups | gmane.os.netbsd.ports.amiga,gmane.os.netbsd.ports.m68k |
|---|---|
| Message-ID | <[email protected]> |
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 - [email protected] `. `' Freie Universitaet Berlin - [email protected] `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913