Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: 7f69e44dd9cdf5d1fe2d838e824e86f7503abe93
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/7f69e44dd9cdf5d1fe…
Author: Tobias Pape <tobias(a)netshed.de>
Date: 2021-04-04 (Sun, 04 Apr 2021)
Changed paths:
M platforms/Cross/vm/sq.h
Log Message:
-----------
Listen to feature_test_macros(7) with a guard.
If HAVE_CONFIG_H is given (most presumably on the command line)
it is safe to include the (#define-only) config.h.
On prominent platforms, these defines must precede any inlcudes.
To quote feature_test_macros(7) on Linux:
> NOTE: In order to be effective, a feature test macro must be defined before including any header files.
config.h provides these macros, either manually specified or
through means of configuration (eg. autoconf/configure).
Having these defines early does not hurt platforms not using this
system but is vital on platforms using it.
Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: 27b632d09cbca67d940f8d8db73e4f4883375c71
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/27b632d09cbca67d94…
Author: Eliot Miranda <eliot.miranda(a)gmail.com>
Date: 2021-04-02 (Fri, 02 Apr 2021)
Changed paths:
M build.macos64x64/common/Makefile.rules
M build.macos64x64/common/Makefile.vm
Log Message:
-----------
Allow a build Makefile to override CXXVERFLAGS, including when building plugins.
[ci skip]
For reasons, I tried compiling a Ubuntu cog/spur/x64 vm yesterday. It hasn't been very successful thus far.
First problem was that it simply wouldn't compile *anything* according to the config log. The system has the usual gcc stuff, so I was a bit surprised. It appeared to want 'clang' which I've never needed to take note of before; so I installed it - what could go wrong, eh? Is this an expected thing? Is it just another infuriating bit of Ubuntuism?
After that it did a build but we seem to be suffering two somewhat familiar problems;
- our old friend
"/usr/include/glib-2.0/glib/gtypes.h:32:10: fatal error: 'glibconfig.h' file not found"
appeared and again it is the architecture specific path in platforms/unix/plugins/UnicodePlugin/acinclude.m4 not being there. I have now tried manually adding the extra include path "/usr/lib/x86_64-linux-gnu/glib2.0/include" to the acinclude.m4 and even the Makefile.inc and it *still* doesn't appear in the cmdline used to make the plugin test - so no plugin is made. I'd swear that was enough when building it for AARM64 a few months ago? Damned autoconf...
- the rtprio stuff, yet again. One can add the squeak.conf file do the reboot and ... no change. If I actually run the vm with sudo there are no complaints but that isn't really very practical. Annoyingly this seems to be sometihng that is not 'reliable' - a colleague with the same version of Ubuntu installed simply changed the permissions to 755 (which I've tried too) and it was fine.
tim
--
tim Rowledge; tim(a)rowledge.org; http://www.rowledge.org/tim
Cashtration (n.): The act of buying a house, which renders the subject financially impotent for an indefinite period.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
News from the OpenIndiana builds ...
squeak-4 is currently available in both 32bit and 64bit at version 4.19.6
This version of squeak can run 6504 and 68000 Squeak images.
http://pkg.openindiana.org/hipster/en/search.shtml?token=squeak-4&action=Se…
squeak-5 (stack vm) and squeak-5c (cog vm) are at version 5.0.2948.
Those are recent opensmalltalk VM's (built with epoll(5) support enabled).
They can run 68021 amd 6521 Squeak images.
http://pkg.openindiana.org/hipster/en/search.shtml?token=squeak-5&action=Se…
So the OpenSmalltalk latest sources are compiling OK on OpenIndiana.
More info at
http://docs.openindiana.org/handbook/community/squeak/index.html
Note that it is possible to install all plugins,
or run squeak in a minimal "hardened" zone with the -nodisplay option.
In that case only the -nodisplay package can be installed (without plugins).
Regards,
David Stes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJgZgNRAAoJEAwpOKXMq1Ma6e8IAKhkQGRdZl9bXXPRtEjkqOWt
p0nz17yOUhmu/DjHHucd+J6i+Ob9AW7GWC2Z1WiBs1KcxGwTkJQXmcVDnTiBAyLq
30XdIDRkVuM13HEcST6ldJzqg7xkyR/lPmPXLEUGpc+JmXbdm03c1jQJl/uQrmyo
THgrTthYEk2IutJxSuU2eRDo1CcFXoH9Qjm2ZHt4DEPpMYZg6tvrNx53I05OzAeI
fT6uCHgNiW8dC8ZEq5MQYWucwNdKYGjIN19nU143lXLPOvdvNFO4xEi7ktLEq35s
cZnAHd0q/Fgh4gfskAmYTd4Py1+fVIErcLPdIE7ZmEsLS5+l5vjjORZyIk0npkQ=
=uQBF
-----END PGP SIGNATURE-----