[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] configure script : check for <ifaddrs.h> (#523)

dcstes notifications at github.com
Wed Sep 23 12:15:37 UTC 2020


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


A few commits that could be of use:

  1. modify configure.ac to check for the header file <ifaddrs.h>
  2. update README of UnicodePlugin
  3. #if COGVM in the sqCogStackAlignment.h for getReturnAddress

The COGVM compiles and works in 32bit on Solaris 10.
It also works now (thanks to code for getReturnAddress) in 64bit on Solaris 11.

Solaris 10 has no header file <ifaddrs.h> it appears, to in that case,
the configure script can automatically 'activate' the old code in
sqUnixSocket.c.  In the Solaris 11 case, it has <ifaddrs.h>, so activate the
new code on Solaris 11.

David Stes

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

iQEcBAEBCAAGBQJfazvaAAoJEAwpOKXMq1MaOBMH/0oAanU940wnZi6UnptEXDzL
H4TGeGlQvX+2939+PP79CxAa0yMNQWe/Ew1f2GsERQruKXZAr76lYQPXaJsY2duI
dUeNaNxvPUuKDlsKnrltUnfDgDazYER8NluCZE3tBV8ZUVxak07u/HLUMs/lXP/9
MO/UctlbDSc8KgZlUkBlaffCzz/DtNV/CrgHZNUlPHb9GyLJD2mctc0H7qYkr1o6
2Y3QoOrC1U//4nK/2JbUV9i4lVVj/g1P9CSjRMe2P1ptZp6GfoWod1XAQMM1TIFP
tjZqhxFDB3PHnhdhyBbLrqEbAXoexi2F6nET3xGXEUPYJr6QL6w9rXf3wdhJGVM=
=tynH
-----END PGP SIGNATURE-----

You can view, comment on, or merge this pull request online at:

  https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/523

-- Commit Summary --

  * Unicode README: add note on a known issue
  * configure:  check for <ifaddrs.h> (Solaris 11 has it, Solaris 10 not)
  * sqCogStackAlignment: define getReturnAddress only #if COGVM (not for Stack VM)

-- File Changes --

    M platforms/Cross/vm/sqCogStackAlignment.h (2)
    M platforms/unix/config/config.h.in (3)
    M platforms/unix/config/configure.ac (1)
    M platforms/unix/plugins/SocketPlugin/sqUnixSocket.c (6)
    M platforms/unix/plugins/UnicodePlugin/README.UnicodePlugin (26)

-- Patch Links --

https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/523.patch
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/523.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/523
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20200923/299e209b/attachment.html>


More information about the Vm-dev mailing list