<!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 style="color: #777777;">
<a href="https://gitlab.com/vinay_banakar">Vinay Banakar</a>
commented:
</p>
<div style="">
<p dir="auto">Hi <a href="https://gitlab.com/serge.sterck" data-user="6180939" data-reference-type="user" data-container="body" data-placement="top" data-html="true" class="gfm gfm-project_member js-user-link" title="serge sterck">@serge.sterck</a>, the above hack kind of helped me get over that issue as well.
But unfortunately, my build is still failing because of something else.</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">nettle-3.5.1</span>
<span id="LC2" class="line" lang="plaintext">./configure --prefix=/etc/gnutls-nettle/ --disable-static --disable-non-suiteb-curves --enable-shared</span>
<span id="LC3" class="line" lang="plaintext">make</span>
<span id="LC4" class="line" lang="plaintext">make install</span></code></pre>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">gnutls-3.6.11.1</span>
<span id="LC2" class="line" lang="plaintext">./configure --prefix=/etc/gnutls-fips --enable-fips140-mode --with-libnettle-prefix=/etc/gnutls-nettle</span>
<span id="LC3" class="line" lang="plaintext">// With or without --without-p11-kit I get the same issue seen bellow.</span>
<span id="LC4" class="line" lang="plaintext">export PKG_CONFIG_PATH=/etc/gnutls-nettle/lib64/pkgconfig/</span>
<span id="LC5" class="line" lang="plaintext">export LIBRARY_PATH=/etc/gnutls-nettle/lib64/</span>
<span id="LC6" class="line" lang="plaintext">make</span></code></pre>
<p dir="auto">Make error:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">../lib/.libs/libgnutls.so: undefined reference to `mpn_zero_p'</span>
<span id="LC2" class="line" lang="plaintext">collect2: error: ld returned 1 exit status</span>
<span id="LC3" class="line" lang="plaintext">make[4]: *** [psktool] Error 1</span>
<span id="LC4" class="line" lang="plaintext">make[4]: Leaving directory `/root/gnutls-src/gnutls-3.6.11.1/src'</span>
<span id="LC5" class="line" lang="plaintext">make[3]: *** [all-recursive] Error 1</span>
<span id="LC6" class="line" lang="plaintext">make[3]: Leaving directory `/root/gnutls-src/gnutls-3.6.11.1/src'</span>
<span id="LC7" class="line" lang="plaintext">make[2]: *** [all] Error 2</span>
<span id="LC8" class="line" lang="plaintext">make[2]: Leaving directory `/root/gnutls-src/gnutls-3.6.11.1/src'</span>
<span id="LC9" class="line" lang="plaintext">make[1]: *** [all-recursive] Error 1</span>
<span id="LC10" class="line" lang="plaintext">make[1]: Leaving directory `/root/gnutls-src/gnutls-3.6.11.1'</span>
<span id="LC11" class="line" lang="plaintext">make: *** [all] Error 2</span></code></pre>
<p dir="auto">Undefined reference:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext"># objdump -T ./lib/.libs/libgnutls.so | grep "mpn_zero_p"</span>
<span id="LC2" class="line" lang="plaintext">0000000000000000      D  *UND*  0000000000000000              mpn_zero_p</span></code></pre>
</div>


</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/812#note_359806677">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/a1df7d5fea90be2a425822c0d7c2b315/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/812#note_359806677"}}</script>


</p>
</div>
</body>
</html>