[squeak-dev] Building Squeak 5.3 on FreeBSD

stes@PANDORA.BE stes at telenet.be
Sun Jan 30 18:31:15 UTC 2022


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


FreeBSD also has a release 12.3 for i386, 32bit.

I tested OpenSmalltalk Cog.squeak.spur for 32bit with a 32bit 5.3 image.

The VM configures and builds, provided you comment out a small piece of
code which is no longer working on FreeBSD:

in platforms/unix/vm/sqUnixMain.c

there is a piece of code

#elif FreeBSD && i386
   struct mcontext *regs

to fprintf() registers in printRegisterState().

Because it appears there is no "struct mcontext" in ucontext.h on FreeBSD 12.3,
I just deleted the code in printRegisterState() which is absent for x64 anyway.

spur32 then works fine and opens the 5.3 32bit image.

The AllocationTests (3 tests) succeed in the 32bit case for spur32.

So no failure as in the 64bit case.

However in spur32 the SUnit-Tests SunitTest #testTestTimeout also fails.

Regards,
David Stes

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJh9tl3AAoJENdFDkXGicizfyAH/0gqrXwidvR6WxoUYBKmhkxW
h09K7vlwCn8MGNUXkCjRdR7yxXyf4YM3Tz5w4PeciYGvgX8ZvpJe/iBDPfhX20Y5
QLy7zbvuXXTLjK48vCVTpxDD8rcvsnnOAkVjpRM+3OYj1DOASxs97+me9crDGk9C
y9e23Teq6TEAX/xB8/e1kQ9s29owBvgbA8JriMUKUUwCaaBasPPOw/3M1wGY2uoy
e45B2Bl+UpKPU0/KbJYuwMQsJmC1r0kPXOwvugq13xZXe35VH0+G1SGb6LcOMtw4
AsSTNpl2Q3oa5DdHo/JVbumsXgjl6OZ1zEAuPo6HSfKmPT4w6Rjady8p2x0Ht9A=
=hsGO
-----END PGP SIGNATURE-----


More information about the Squeak-dev mailing list