[gnutls-devel] GnuTLS | Solaris build requires -D_XOPEN_SOURCE=600 -std=gnu99 (#782)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Wed Jun 5 14:20:56 CEST 2019
New Issue was created.
Issue 782: https://gitlab.com/gnutls/gnutls/issues/782
Author: Jeffrey Walton
Assignees:
## Description of problem:
GnuTLS 3.6.8 fails to compile on Solaris i86pc.
## Version of gnutls used:
GnuTLS 3.6.8
## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)
GnuTLS from 3.6.8 source tarball. Fetched from https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/.
## How reproducible:
It is consistently reproducible.
Testing on Solaris 11.3 reveals `CFLAGS` needs `-D_XOPEN_SOURCE=600 -std=gnu99` to avoid some compile errors due to `alloca`. I believe it is due to the inclusion of Gnulib.
Don't allow `-D_XOPEN_SOURCE=600` to cross-pollinate into `CXXFLAGS`, like by way of `CPPFLAGS`. `-D_XOPEN_SOURCE=600` breaks some C++ features due to the way Solaris enforces standard versions.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/782
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190605/f890049c/attachment.html>
More information about the Gnutls-devel
mailing list