<!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/ametzler">Andreas Metzler</a>
commented on a
<a href="https://gitlab.com/gnutls/gnutls/-/merge_requests/1389#note_511377355">discussion</a>:
</p>
<div style="">
<p dir="auto">I suspect it is triggered by your static-library-only setup. - I guess libnettle is only present as libnettle.a using it  requires linking against libgmp.a?</p>
<p dir="auto">If that was the case, you need to set different NETTLE_LIBS and than you do.</p>
<p dir="auto">What does config.log say?
It looks like this here:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">configure:66498: checking for nettle_get_secp_192r1 in -lhogweed</span>
<span id="LC2" class="line" lang="plaintext">configure:66523: gcc -o conftest -g -O2 -ffile-prefix-map=/dev/shm/GNUTLS/gnutls-3.7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lhogweed -lhogweed -lnettle  >&5</span>
<span id="LC3" class="line" lang="plaintext">configure:66523: $? = 0</span>
<span id="LC4" class="line" lang="plaintext">configure:66532: result: yes</span>
<span id="LC5" class="line" lang="plaintext">configure:66561: checking for nettle_rsa_sec_decrypt</span>
<span id="LC6" class="line" lang="plaintext">configure:66561: gcc -o conftest -g -O2 -ffile-prefix-map=/dev/shm/GNUTLS/gnutls-3.7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c  -lhogweed -lnettle >&5</span>
<span id="LC7" class="line" lang="plaintext">configure:66561: $? = 0</span>
<span id="LC8" class="line" lang="plaintext">configure:66561: result: yes</span>
<span id="LC9" class="line" lang="plaintext">configure:66580: checking for nettle_gost28147_set_key</span></code></pre>
</div>


</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #666;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/merge_requests/1389#note_511377355">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/4601da08fffecb4778c6bd2dc1edab54/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 Merge request","url":"https://gitlab.com/gnutls/gnutls/-/merge_requests/1389#note_511377355"}}</script>


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