[gnutls-devel] GnuTLS | gcc 4.8: does not contain __get_cpuid_count() (#812)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Jun 1 13:16:07 CEST 2020




Vinay Banakar commented:


Hi, I am using gnuTLS 3.6.11 and this issue still seems to persist.

Command:
` ./configure --prefix=/etc/gnutls-fips --enable-fips140-mode --with-libnettle-prefix=/etc/gnutls-nettle; make`

Error message:
```
make[4]: Entering directory `/root/gnutls-3.6.11/lib'
  CC       pkcs11_privkey.lo
pkcs11_privkey.c: In function '_gnutls_pkcs11_privkey_sign':
pkcs11_privkey.c:335:32: error: storage size of 'rsa_pss_params' isn't known
  struct ck_rsa_pkcs_pss_params rsa_pss_params;
                                ^
pkcs11_privkey.c:335:32: warning: unused variable 'rsa_pss_params' [-Wunused-variable]
make[4]: *** [pkcs11_privkey.lo] Error 1
make[4]: Leaving directory `/root/gnutls-3.6.11/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/gnutls-3.6.11/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/gnutls-3.6.11/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gnutls-3.6.11'
make: *** [all] Error 2
```

Gcc version:
```
gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28)
```

I also tried to compile without p11-kit, but faced a different issue
```
./configure --prefix=/etc/gnutls-fips \ 
             --enable-fips140-mode \
             --with-libnettle-prefix=/etc/gnutls-nettle \
             --without-p11-kit; make
```

```
make  all-am
make[5]: Entering directory `/root/gnutls-3.6.11/src/libopts'
  CC       libopts_la-libopts.lo
libopts.c:14:24: fatal error: save-flags.h: No such file or directory
 #include "save-flags.h"
                        ^
compilation terminated.
make[5]: *** [libopts_la-libopts.lo] Error 1
make[5]: Leaving directory `/root/gnutls-3.6.11/src/libopts'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/root/gnutls-3.6.11/src/libopts'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/gnutls-3.6.11/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/gnutls-3.6.11/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gnutls-3.6.11'
make: *** [all] Error 2
```

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/812#note_352823139
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/20200601/aa6dd83b/attachment.html>


More information about the Gnutls-devel mailing list