Solaris fixes You can view, comment on, or merge this pull request online at:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/490
-- Commit Summary --
* Solaris fixes. Add build.sunos32x86 * Add build.sunosamd64 for 64bit on Solaris * Add Solaris IPS manifest. * Change docdir from /usr/doc to /usr/share/doc. Set version to 5.3.1 * Update IPS manifest for version 5.3.1. Include doc/LICENSE.gz file. * Compilation SunPro sqUnixITimerHeartbeat * Use FASYNC on __sun__ instead of FIOASYNC * Put back VM_VERSION to 5.0 * IPS manifest used for squeak5@5.3.1 * Define MIX / MAX so that vm-sound-pulse.so loads. * make vm-sound-pulse the default * Compile on Solaris with --disable-dynamicopenssl * Compile on Solaris with --disable-dynamicopenssl * Include opensslv to define OPENSSL_VERSION_NUMBER * Remove -g debug flag for 32bit build * Rename build.sunosamd64 to build.sunos64x64 * Make vm-sound-pulse first plugin in Solaris case. * Set INSTALLDIR to sqcogspursunosht/usr for Solaris * Set INSTALLDIR to sqcogspursunos for itimer build * Add IPS package build info to 32bit build. * Fix INSTALLDIR doc * Set INSTALLDIR to sqcogspur64sunos[ht] in 64 solaris * Remove --libdir option * Refer to HowToBuild in 64bit instead of duplicating everything. * Add script to build IPS package * Set ac_cv_cflags_warn_all="-v" instead of "" * Copy 'ckformat' into Solaris IPS package so that VM32 can be used for 6521 image and VM64 can be used for 68021 images * Add ckformat program to IPS manifest * Merge pull request #1 from OpenSmalltalk/Cog * Add reminder in HowToBuild on running scripts/updateSCCSVersions * Change __SUNPRO_C to __sun so compile also works with GCC * Replace __SUNPRO_C by __sun so that compile also works with GCC for Solaris * Change __SUNPRO_C to __sun for succesful build with gcc 7.3 and gcc 9.2 * Build Squeak Stack Spur in addition to Cog Spur on Solaris * set INSTALLDIR to sqstkspursunosht/usr * Merge pull request #2 from OpenSmalltalk/Cog * Merge Solaris changes into SunOS branch * Remove ac_cv_cflags_warn_all from mvm files for gcc build * Add -g option for gcc build * Update IPS package for 5.0.4 * Add build version 5.0-202004221445-sunos
-- File Changes --
M build.linux64x64/squeak.cog.spur/build.itimerheartbeat/mvm (4) A build.sunos32x86/HowToBuild (34) A build.sunos32x86/squeak.cog.spur/build/mvm (38) A build.sunos32x86/squeak.cog.spur/plugins.ext (16) A build.sunos32x86/squeak.cog.spur/plugins.int (38) A build.sunos32x86/squeak.stack.spur/build/mvm (38) A build.sunos32x86/squeak.stack.spur/plugins.ext (13) A build.sunos32x86/squeak.stack.spur/plugins.int (38) A build.sunos64x64/HowToBuild (157) A build.sunos64x64/squeak.cog.spur/build.itimerheartbeat/mvm (31) A build.sunos64x64/squeak.cog.spur/build/mvm (38) A build.sunos64x64/squeak.cog.spur/make-ips-pkg.sh (91) A build.sunos64x64/squeak.cog.spur/plugins.ext (16) A build.sunos64x64/squeak.cog.spur/plugins.int (38) A build.sunos64x64/squeak.cog.spur/squeak.ips (75) A build.sunos64x64/squeak.cog.spur/squeak5.p5m (133) A build.sunos64x64/squeak.cog.spur/squeak5.p5m.mog (4) A build.sunos64x64/squeak.stack.spur/build/mvm (30) A build.sunos64x64/squeak.stack.spur/plugins.ext (13) A build.sunos64x64/squeak.stack.spur/plugins.int (38) M platforms/Cross/plugins/IA32ABI/ia32abicc.c (4) M platforms/Cross/plugins/IA32ABI/x64sysvabicc.c (2) M platforms/Cross/vm/sqAtomicOps.h (7) M platforms/Cross/vm/sqMemoryFence.h (2) M platforms/unix/config/make.cfg.in (2) M platforms/unix/plugins/SqueakSSL/openssl_overlay.h (5) M platforms/unix/plugins/SqueakSSL/sqUnixOpenSSL.inc (9) M platforms/unix/vm-sound-pulse/sqUnixSoundPulseAudio.c (7) M platforms/unix/vm/aio.c (1) M platforms/unix/vm/include_ucontext.h (4) M platforms/unix/vm/sqUnixExternalPrims.c (8) M platforms/unix/vm/sqUnixHeartbeat.c (4) M platforms/unix/vm/sqUnixITimerHeartbeat.c (4) M platforms/unix/vm/sqUnixMain.c (10) M scripts/checkSCCSversion (2)
-- Patch Links --
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/490.patch https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/490.diff
Here's a crazy idea: can we fold this into the linux build dirs and have the sunos dir be a symlink?
The specifica (like openssl no dynamic) could be dealt with in configure and the platform itself :)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
The 2 directories are build.sunos32x86 and build.sunos64x64.
However there are also a few changes in platforms/* and plugins/* (i.e., outside of build.sunos32x86 and build.sunos64x64).
I'm not sure what exactly do you have in mind, or what do you mean, when you say "fold this" ?
Some of the changes in platforms/* and plugins/* are not related to the linux build dirs.
David Stes
-- Sent from: http://forum.world.st/Squeak-VM-f104410.html
On Apr 23, 2020, at 1:56 AM, Tobias Pape notifications@github.com wrote:
Here's a crazy idea: can we fold this into the linux build dirs and have the sunos dir be a symlink?
The specifica (like openssl no dynamic) could be dealt with in configure and the platform itself :)
Why? The benefits of having the separate directory are strong; its own HowToBuild, decoupling. And the space overhead is minimal. I see no benefit in trying to collapse these at all.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
On 25.04.2020, at 16:16, Eliot Miranda eliot.miranda@gmail.com wrote:
On Apr 23, 2020, at 1:56 AM, Tobias Pape notifications@github.com wrote:
Here's a crazy idea: can we fold this into the linux build dirs and have the sunos dir be a symlink?
The specifica (like openssl no dynamic) could be dealt with in configure and the platform itself :)
Why? The benefits of having the separate directory are strong; its own HowToBuild, decoupling. And the space overhead is minimal. I see no benefit in trying to collapse these at all.
It's just another unix in the first place.
FreeBSD and OpenBSD also build from the linux build dirs.
But all that is for another issue/PR, so let's not get carried away here (saying that foremost to myself0
-t
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
The build directories for solaris are not really gone.
I've only moved them to a separate project "solaris-squeak", and I compile in those directories (in that project), but pointing to the source code in "opensmalltalk".
It's easy to move the build.sunos32x86 and build.sunos64x64 back, in the future, if that would be useful.
For the moment I work with the 2 projects, and that works fine for now.
David
-- Sent from: http://forum.world.st/Squeak-VM-f104410.html
Good idea! I would even go further and drop sunos directory altogether. Builds should be scripted based on technology rather than brands. If the variant can no longer be handled by parsing environment, then sunos can be carved into a separate directory.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
In any case it is necessary to distinguish between on the one hand, the "build directories" and configure script switches, and on the other hand, some changes to source files outside of the build directories.
What the build.sunos directories concerns, it is possible to put those in a separate project.
I could for example create a special solaris-squeak project just consisting of those build.sunos directories.
The build.sunos* directories can be in an external project.
David Stes
-- Sent from: http://forum.world.st/Squeak-VM-f104410.html
@cstes pushed 1 commit.
8fc062aae77951036c2efecbd54a15bc087d3066 Move build dirs for sunos to external solaris-squeak package
@cstes pushed 1 commit.
56905bf2b4cb194786d042f372353bfa93dbc8d8 include <ucontext.h> in __sun case
@eliotmiranda pushed 1 commit.
b1481020ddc29d1519ae4a5715c0d04c7c877142 Update mvm
@eliotmiranda pushed 1 commit.
39f043439b66bc35bfcc8e184cc7c67eb60966a3 Update mvm
@eliotmiranda approved this pull request.
Please add the build directories when convenient. I undid inadvertent changes to build.linux64x64/squeak.cog.spur/build.itimerheartbeat/mvm. I hope you don' mind :-)
Closed #490.
vm-dev@lists.squeakfoundation.org