On Sat, 10 Jul 2021 at 11:50, Martin Husemann <mar...@duskware.de> wrote: > > The emulators/tme pkg is a nice, lightweight pkg allowing you to run > various sun machines on amd64 (and others). I recently needed it for testing > some openssl fallout in netbsd-9 (where qemu seems to only emulate machines > for which it works and that I also have as real hardware). > > Unfortunately the pkg does not work on NetBSD-current. > It needs an obvious fix: > > @@ -26,6 +26,8 @@ > # warnings generated, increasing with every compiler version. > CONFIGURE_ARGS+= --disable-warnings > > +NOT_PAX_MPROTECT_SAFE+= bin/tmesh > + > BUILDLINK_DEPMETHOD.libXt?= build > > .include "../../mk/compiler.mk" > > > ... but that is not enough, and I didn't have the time to debug further. > > Anyone feel like looking into that? The homepage has nice instructions and > setup is very straight forward. I am mostly interested in sun2, sun3 and > sun4c currently.
I couldn't get sun4c to boot; I always get: (gdb) bt #0 0x000070e801e1946a in tme_sparc32_recode_insn_current () from /usr/pkg/lib/tme/tme_ic_sparc.so.0 #1 0x000070e801e19632 in _tme_sparc32_recode_ls_assist_ld () from /usr/pkg/lib/tme/tme_ic_sparc.so.0 #2 0x000070e801600595 in ?? () #3 0xffffffffffe88240 in ?? () #4 0x0000000000000000 in ?? () (and notice the many references to sparc32_recode in the TODO file...) but sun2 is starting ok. I'll now try to follow the instructions and actually install NetBSD. > > Martin Chavdar -- ----