Shared m68k packages (Was: CVS commit: src/sys/arch/m68k/m68k)

David Brownlee <[email protected]> Tue, 1 Apr 2025 17:44:49 +0100
Newsgroups gmane.os.netbsd.ports.m68k
Message-ID <CAGN_6pZSBMqqpMNa8Ta2ePLnsem4cPrm-NW=iowqW5BZx5wEyg@mail.gmail.com>
On Mon, 31 Mar 2025 at 16:37, Nathanial Sloss
<[email protected]> wrote:
> [.. thread on buggy lc040 workaround ..]
>
> What I was after was a uniform approach to all m68k (buggy lc040's included).
>
> It makes me wonder even why we build different packages for sun, amiga, x68k,
> and mac68k also....when they are all m68k :(

I'm sure jklos@ can correct me if I'm mistaken :-p but in general
pkgsrc builds share packages across all m68k platforms. If there was
sufficient additional compute available it is more likely we would
split builds by processor - eg '020 vs '040.

There are differences mainly in /usr/include which will result in
small differences in generated binaries, but in general It Does Not
Matter which m68k platform was used to build the pkgsrc packages.

A potentially interesting task would be to reduce those differences
for most (if not all) m68k userlands - probably starting with merging
/usr/include and then onto moving the small set of port specific
binaries to be triggered on m68k rather than the specific port :-p

David