<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>
<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<p class="details" style="font-style: italic; color: #777;">
<a href="https://gitlab.com/vinay_banakar">Vinay Banakar</a> created an issue <a href="https://gitlab.com/gnutls/gnutls/-/issues/1015">#1015</a>:
</p>
<div></div>
<p dir="auto">Hi, I am using gnuTLS 3.6.11 and this <a href="https://gitlab.com/gnutls/gnutls/-/issues/812" data-original="issue" data-link="true" data-link-reference="true" data-project="179611" data-issue="23366728" data-reference-type="issue" data-container="body" data-placement="top" data-html="true" title="gcc 4.8: does not contain __get_cpuid_count()" class="gfm gfm-issue has-tooltip">issue</a> still seems to persist which was supposed to have been fixed in 3.6.10.</p>
<p dir="auto">Command:
<code> ./configure --prefix=/etc/gnutls-fips --enable-fips140-mode --with-libnettle-prefix=/etc/gnutls-nettle; make</code></p>
<p dir="auto">Error message:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">make[4]: Entering directory `/root/gnutls-3.6.11/lib'</span>
<span id="LC2" class="line" lang="plaintext"> CC pkcs11_privkey.lo</span>
<span id="LC3" class="line" lang="plaintext">pkcs11_privkey.c: In function '_gnutls_pkcs11_privkey_sign':</span>
<span id="LC4" class="line" lang="plaintext">pkcs11_privkey.c:335:32: error: storage size of 'rsa_pss_params' isn't known</span>
<span id="LC5" class="line" lang="plaintext"> struct ck_rsa_pkcs_pss_params rsa_pss_params;</span>
<span id="LC6" class="line" lang="plaintext"> ^</span>
<span id="LC7" class="line" lang="plaintext">pkcs11_privkey.c:335:32: warning: unused variable 'rsa_pss_params' [-Wunused-variable]</span>
<span id="LC8" class="line" lang="plaintext">make[4]: *** [pkcs11_privkey.lo] Error 1</span>
<span id="LC9" class="line" lang="plaintext">make[4]: Leaving directory `/root/gnutls-3.6.11/lib'</span>
<span id="LC10" class="line" lang="plaintext">make[3]: *** [all-recursive] Error 1</span>
<span id="LC11" class="line" lang="plaintext">make[3]: Leaving directory `/root/gnutls-3.6.11/lib'</span>
<span id="LC12" class="line" lang="plaintext">make[2]: *** [all] Error 2</span>
<span id="LC13" class="line" lang="plaintext">make[2]: Leaving directory `/root/gnutls-3.6.11/lib'</span>
<span id="LC14" class="line" lang="plaintext">make[1]: *** [all-recursive] Error 1</span>
<span id="LC15" class="line" lang="plaintext">make[1]: Leaving directory `/root/gnutls-3.6.11'</span>
<span id="LC16" class="line" lang="plaintext">make: *** [all] Error 2</span></code></pre>
<p dir="auto">Versions:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext"># gcc --version</span>
<span id="LC2" class="line" lang="plaintext">gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28)</span>
<span id="LC3" class="line" lang="plaintext"># cat /etc/centos-release</span>
<span id="LC4" class="line" lang="plaintext">CentOS Linux release 7.5.1804 (Core)</span>
<span id="LC5" class="line" lang="plaintext"># Nettle (nettle.pc)</span>
<span id="LC6" class="line" lang="plaintext">Name: Nettle</span>
<span id="LC7" class="line" lang="plaintext">Description: Nettle low-level cryptographic library (symmetric algorithms)</span>
<span id="LC8" class="line" lang="plaintext">URL: http://www.lysator.liu.se/~nisse/nettle</span>
<span id="LC9" class="line" lang="plaintext">Version: 3.5.1</span></code></pre>
<p dir="auto">I also tried to compile without p11-kit, but faced a different issue</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">./configure --prefix=/etc/gnutls-fips \ </span>
<span id="LC2" class="line" lang="plaintext"> --enable-fips140-mode \</span>
<span id="LC3" class="line" lang="plaintext"> --with-libnettle-prefix=/etc/gnutls-nettle \</span>
<span id="LC4" class="line" lang="plaintext"> --without-p11-kit; make</span></code></pre>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">make all-am</span>
<span id="LC2" class="line" lang="plaintext">make[5]: Entering directory `/root/gnutls-3.6.11/src/libopts'</span>
<span id="LC3" class="line" lang="plaintext"> CC libopts_la-libopts.lo</span>
<span id="LC4" class="line" lang="plaintext">libopts.c:14:24: fatal error: save-flags.h: No such file or directory</span>
<span id="LC5" class="line" lang="plaintext"> #include "save-flags.h"</span>
<span id="LC6" class="line" lang="plaintext"> ^</span>
<span id="LC7" class="line" lang="plaintext">compilation terminated.</span>
<span id="LC8" class="line" lang="plaintext">make[5]: *** [libopts_la-libopts.lo] Error 1</span>
<span id="LC9" class="line" lang="plaintext">make[5]: Leaving directory `/root/gnutls-3.6.11/src/libopts'</span>
<span id="LC10" class="line" lang="plaintext">make[4]: *** [all] Error 2</span>
<span id="LC11" class="line" lang="plaintext">make[4]: Leaving directory `/root/gnutls-3.6.11/src/libopts'</span>
<span id="LC12" class="line" lang="plaintext">make[3]: *** [all-recursive] Error 1</span>
<span id="LC13" class="line" lang="plaintext">make[3]: Leaving directory `/root/gnutls-3.6.11/src'</span>
<span id="LC14" class="line" lang="plaintext">make[2]: *** [all] Error 2</span>
<span id="LC15" class="line" lang="plaintext">make[2]: Leaving directory `/root/gnutls-3.6.11/src'</span>
<span id="LC16" class="line" lang="plaintext">make[1]: *** [all-recursive] Error 1</span>
<span id="LC17" class="line" lang="plaintext">make[1]: Leaving directory `/root/gnutls-3.6.11'</span>
<span id="LC18" class="line" lang="plaintext">make: *** [all] Error 2</span></code></pre>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">
—
<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/1015">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/-/sent_notifications/39d28148fe70104de512d6439c40fca1/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/-/issues/1015"}}</script>
</p>
</div>
</body>
</html>