On Sat 09 Jan 2016 15:57, l...@gnu.org (Ludovic Courtès) writes: > Andreas Metzler <ametz...@bebt.de> skribis: > >> Debian used to build guile-2.0 without optimization, after changing to >> -O2 random segfaults in guile-gnutls testsuite started to appear on >> amd64. > > Are you sure the GnuTLS issue has anything to do with that? > > Guile has always been built with ‘-O2 -g’ by default, and building with > ‘-O0’ has never really been supported (the VM engine could eat too much > stack space and do silly things.)
Apparently this is still an issue. Debian actually reverted to compiling Guile with -O0: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809608 Which is terrible of course. Surely it is a bug in the Guile GnuTLS bindings and not in Guile proper. Compiling Guile with -O2 probably holds on to less garbage; could it be that GnuTLS is erroneously not making its data structures visible? Andy