Re: mac68ksf - new softfloat Macintosh port.

Jason Thorpe <[email protected]> Tue, 14 Oct 2025 18:04:27 -0700
Newsgroups gmane.os.netbsd.ports.mac68k
Message-ID <[email protected]>

> On Oct 14, 2025, at 4:29=E2=80=AFPM, Nathanial Sloss =
<[email protected]> wrote:
>=20
> Hi,
>=20
> Now that the m68k softfloat userland libm test results are are zero =
failures
> (1 expected failure).
>=20
> I'd like to pre-announce a new port - mac68ksf.

Nat =E2=80=94 this is super cool, and thank you for doing this work!

I would suggest a couple of things:

1- Have we made sure that the ELF object / binaries are properly =
decorated with something that indicates they=E2=80=99re soft float-only? =
 If not, we should investigate that, and make sure the effort is =
coordinated with the toolchain folks.

2- We should make sure that hard float systems can natively exec the =
soft float binaries, and we should perhaps consider some sort of =
compat-dynamic-linker thing like is done with ARM with VFP or amd64 with =
32-bit binaries / libraries.

3- Make it possible to build any hard float m68k platform as =
=E2=80=9Cm68ksf=E2=80=9D =E2=80=9Cnatively=E2=80=9D.  This might make =
things better for package builders (I=E2=80=99m thinking forward to the =
day when perhaps we can reliably use virt68k as a =E2=80=9Cnative=E2=80=9D=
 builder for m68k packages, and it would be nice to be able to do both).

But these are all very much nice-to-haves.  Kudos to you!  I know =
you=E2=80=99ve been working on this for quite some time!

-- thorpej