Squeak on OpenIndiana (with clang)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Squeak on OpenIndiana (with clang)

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


Hello,

Here's some news on compiling Squeak on Solaris and OpenIndiana.
OpenIndiana is an illumos based Unix-like operating system derived from
OpenSolaris;

As far as I can see, Squeak has always supported SunOS and Solaris very
well,
so it's just a matter of keeping that, as it is or was in the past.

On OpenIndiana, I've compiled "Squeak" with GCC 7.5 and Clang 9.0.1.
OpenIndiana includes a clang 8.0.1 and 9.0.1.  I only tested the clang
9.0.1.

Also I've proposed to include "Squeak" in the oi-userland, which is a
framework for open source packages for OpenIndiana; so that it is simple,
to install the "Squeak VM" on OpenIndiana without having to compile
anything.

I have included the MIT license and a copyright notice of opensmalltalk-vm
in the package of course.

To compile with clang on OpenIndiana, there's the VM_LABEL issue
which Eliot Miranda explained in a different thread about "profiling":

In platforms/unix/vm/sqPlatformSpecific.h #define VM_LABEL(foo)
to override and "clear" or disable the other VM_LABEL definition.

With that definition of VM_LABEL  the clang 9.0.1 compile of the
squeak.stack.spur VM works fine and it works.   I must add that I seem to be
having the same issue with the optimizer as in GCC : -O2 does not work for
me with neither gcc nor clang.

Special thanks to everybody in the "Squeak" and "opensmalltalk-vm" team,
to Eliot Miranda for including the Sun patches,
and to Tobias Pape for including the fix for ax_cflags_warn_all.m4,
which makes the configure script powerful to easily switch between
compilers,
which is working very well thanks to the autoconf configure script.

Thanks,
David Stes

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

iQEcBAEBCAAGBQJerteuAAoJEAwpOKXMq1Maeo8H/RvJimJZqgFHvdXQNiVJD+DP
iWoS3t5oIDsROL4M/q27FbgXd/+5s6PErk9CApaisA9tH957BMKlW6VdEQqhvXB+
3r4kNhIBIBvfxC+wyzfILdOCpjwBc85s9hV7NsEp8JU8wGS1Xaylmut3yg235KCv
drdxV1ZzpiC/Ma6rT8aC08YkQI4FhXfWsJCT8cSIg5dWrlE1Vcl4bOS/I5IyeDO0
VoqqsuRHRTblV8iTzBkSvpb0mhAToyAGrjiNtUp9oi7w78GQfUXsFFPG+hEQpY+j
2h2jKUG0/Z2WjsFlU0kdNQT8O5WNwgFykqKGFH6AIY+Drx3UHcqTHnES04IkAGU=
=5YJu
-----END PGP SIGNATURE-----




--
Sent from: http://forum.world.st/Squeak-VM-f104410.html
tty
Reply | Threaded
Open this post in threaded view
|

Re:   Squeak on OpenIndiana (with clang)

tty
 
David, thank you for your work.


If you have time and interest, getting Croquet  
en.m.wikipedia.org/wiki/Croquet_Project

Ported to 64 bits could sure use your talents.



---- On Sun, 03 May 2020 10:42:12 -0400 [hidden email] wrote ----


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


Hello,

Here's some news on compiling Squeak on Solaris and OpenIndiana.
OpenIndiana is an illumos based Unix-like operating system derived from
OpenSolaris;

As far as I can see, Squeak has always supported SunOS and Solaris very
well,
so it's just a matter of keeping that, as it is or was in the past.

On OpenIndiana, I've compiled "Squeak" with GCC 7.5 and Clang 9.0.1.
OpenIndiana includes a clang 8.0.1 and 9.0.1. I only tested the clang
9.0.1.

Also I've proposed to include "Squeak" in the oi-userland, which is a
framework for open source packages for OpenIndiana; so that it is simple,
to install the "Squeak VM" on OpenIndiana without having to compile
anything.

I have included the MIT license and a copyright notice of opensmalltalk-vm
in the package of course.

To compile with clang on OpenIndiana, there's the VM_LABEL issue
which Eliot Miranda explained in a different thread about "profiling":

In platforms/unix/vm/sqPlatformSpecific.h #define VM_LABEL(foo)
to override and "clear" or disable the other VM_LABEL definition.

With that definition of VM_LABEL the clang 9.0.1 compile of the
squeak.stack.spur VM works fine and it works. I must add that I seem to be
having the same issue with the optimizer as in GCC : -O2 does not work for
me with neither gcc nor clang.

Special thanks to everybody in the "Squeak" and "opensmalltalk-vm" team,
to Eliot Miranda for including the Sun patches,
and to Tobias Pape for including the fix for ax_cflags_warn_all.m4,
which makes the configure script powerful to easily switch between
compilers,
which is working very well thanks to the autoconf configure script.

Thanks,
David Stes

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

iQEcBAEBCAAGBQJerteuAAoJEAwpOKXMq1Maeo8H/RvJimJZqgFHvdXQNiVJD+DP
iWoS3t5oIDsROL4M/q27FbgXd/+5s6PErk9CApaisA9tH957BMKlW6VdEQqhvXB+
3r4kNhIBIBvfxC+wyzfILdOCpjwBc85s9hV7NsEp8JU8wGS1Xaylmut3yg235KCv
drdxV1ZzpiC/Ma6rT8aC08YkQI4FhXfWsJCT8cSIg5dWrlE1Vcl4bOS/I5IyeDO0
VoqqsuRHRTblV8iTzBkSvpb0mhAToyAGrjiNtUp9oi7w78GQfUXsFFPG+hEQpY+j
2h2jKUG0/Z2WjsFlU0kdNQT8O5WNwgFykqKGFH6AIY+Drx3UHcqTHnES04IkAGU=
=5YJu
-----END PGP SIGNATURE-----




--
Sent from: http://forum.world.st/Squeak-VM-f104410.html