[gnutls-devel] GnuTLS | Eliminate alloca() use in the guile bindings (#684)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Jun 3 09:46:48 CEST 2019




There is possibly more `alloca()`:
```
$ grep -R 'alloca(' lib
lib/nettle/backport/cfb8.h:# define TMP_ALLOC(name, size) (name = alloca(sizeof (*name) * (size)))
lib/nettle/gost/nettle-internal.h:# define TMP_ALLOC(name, size) (name = alloca(sizeof (*name) * (size)))
```

Just got a PM from Jeffrey Walton:
```
I've almost got GnuTLS 3.6.8 building on Solaris. One build problem remains:

Undefined                       first referenced
 symbol                             in file
alloca                              ../lib/.libs/libgnutls.so
ld: fatal: symbol referencing errors
collect2: error: ld returned 1 exit status

Recipe is here, and it includes CFLAGS += -D_XOPEN_SOURCE=600 for
Solaris: https://github.com/noloader/Build-Scripts/blob/master/build-gnutls.sh
```

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/684#note_177141088
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/20190603/01fdc0a0/attachment.html>


More information about the Gnutls-devel mailing list