[gnutls-devel] GnuTLS | thread-local storage not supported for this target (#1556)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Thu Jun 13 21:02:06 CEST 2024



Martin created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1556



## Description of problem:

gnutls can't be compiled with TLS support


## Version of gnutls used:
../gnutls-3.7.11
../gnutls-3.7.2:

## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)

from source
## How reproducible:
use a Linux debian-sparc sparc32 machine without TLS support

Steps to Reproduce:

 * CFLAGS="-DNO_TLS" ./configure -with-includedinuxunistring --without-p11-kit --disable-doc  && make"


## Actual results:
```
../gl/c-ctype.h:313: warning: no previous prototype for `c_isupper'
../gl/c-ctype.h:325: warning: no previous prototype for `c_isxdigit'
../gl/c-ctype.h:338: warning: no previous prototype for `c_tolower'
../gl/c-ctype.h:350: warning: no previous prototype for `c_toupper'
In file included from hash_int.h:29,
                 from gnutls_int.h:713,
                 from random.c:26:
crypto.h:36: warning: declaration of `setkey' shadows a global declaration
/usr/include/stdlib.h:874: warning: shadowed declaration is here
crypto.h:38: warning: declaration of `encrypt' shadows a global declaration
/usr/include/unistd.h:1005: warning: shadowed declaration is here
random.c:39: error: thread-local storage not supported for this target
random.c:40: error: thread-local storage not supported for this target
make[4]: *** [random.lo] Error 1
make[4]: Leaving directory `/root/build/gnutls-3.7.2/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/build/gnutls-3.7.2/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/build/gnutls-3.7.2/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/build/gnutls-3.7.2'
make: *** [all] Error 2
debian-sparc:~/build/gnutls-3.7.2# ls ../gnutls-3.7.*
../gnutls-3.7.11.tar  ../gnutls-3.7.2.tar
```

## Expected results:
fallback to a none TLS version

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1556
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/20240613/2233b0a5/attachment.html>


More information about the Gnutls-devel mailing list