[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
Sat Jun 6 21:29:46 CEST 2020




serge sterck commented:


Same isue here

i have activeted the devtoolset-9 to have gcc 9

cat /etc/redhat-release 
CentOS Linux release 7.8.2003 (Core)

gcc --version
gcc (GCC) 9.1.1 20190605 (Red Hat 9.1.1-2)
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

prefix=~/build
mkdir -p $prefix/Filezilla3

export PATH="$prefix/Filezilla3/bin:$PATH"
export LD_LIBRARY_PATH="$prefix/Filezilla3/lib:$LD_LIBRARY_PATH"
export PKG_CONFIG_PATH="$prefix/Filezilla3/lib/pkgconfig:$PKG_CONFIG_PATH"
cd $prefix
wget https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/gnutls-3.6.14.tar.xz
tar -xf gnutls-3.6.14.tar.xz
cd gnutls-3.6.14

./configure --prefix=$prefix/Filezilla3 \
            --docdir=$prefix/Filezilla3/share/doc/gnutls-3.6.14 \
            --disable-guile \
            --with-libnettle-prefix="$prefix/Filezilla3" \
            --with-included-unistring


  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
  335 |  struct ck_rsa_pkcs_pss_params rsa_pss_params;
      |                                ^~~~~~~~~~~~~~
pkcs11_privkey.c:335:32: warning: unused variable 'rsa_pss_params' [-Wunused-variable]
make[4]: *** [Makefile:2261: pkcs11_privkey.lo] Error 1
make[4]: Leaving directory '/root/build/gnutls-3.6.14/lib'
make[3]: *** [Makefile:2357: all-recursive] Error 1
make[3]: Leaving directory '/root/build/gnutls-3.6.14/lib'
make[2]: *** [Makefile:1980: all] Error 2
make[2]: Leaving directory '/root/build/gnutls-3.6.14/lib'
make[1]: *** [Makefile:1757: all-recursive] Error 1
make[1]: Leaving directory '/root/build/gnutls-3.6.14'
make: *** [Makefile:1682: all] Error 2

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


More information about the Gnutls-devel mailing list