[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
Thu Jun 11 21:11:28 CEST 2020




Vinay Banakar commented:


Hi @serge.sterck, the above hack kind of helped me get over that issue as well. 
But unfortunately, my build is still failing because of something else.

```
nettle-3.5.1
./configure --prefix=/etc/gnutls-nettle/ --disable-static --disable-non-suiteb-curves --enable-shared
make
make install
```

```
gnutls-3.6.11.1
./configure --prefix=/etc/gnutls-fips --enable-fips140-mode --with-libnettle-prefix=/etc/gnutls-nettle
// With or without --without-p11-kit I get the same issue seen bellow.
export PKG_CONFIG_PATH=/etc/gnutls-nettle/lib64/pkgconfig/
export LIBRARY_PATH=/etc/gnutls-nettle/lib64/
make
```

Make error:
```
../lib/.libs/libgnutls.so: undefined reference to `mpn_zero_p'
collect2: error: ld returned 1 exit status
make[4]: *** [psktool] Error 1
make[4]: Leaving directory `/root/gnutls-src/gnutls-3.6.11.1/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/gnutls-src/gnutls-3.6.11.1/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/gnutls-src/gnutls-3.6.11.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gnutls-src/gnutls-3.6.11.1'
make: *** [all] Error 2
```
Undefined reference:
```
# objdump -T ./lib/.libs/libgnutls.so | grep "mpn_zero_p"
0000000000000000      D  *UND*  0000000000000000              mpn_zero_p
```

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


More information about the Gnutls-devel mailing list