<!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/lumag">Dmitry Baryshkov</a>
commented:
</p>
<div style="">
<p dir="auto"><a href="https://gitlab.com/crossd" data-user="5732743" data-reference-type="user" data-container="body" data-placement="top" data-html="true" class="gfm gfm-project_member js-user-link" title="Dan Cross">@crossd</a> <a href="https://gitlab.com/Siguza" data-user="2853721" data-reference-type="user" data-container="body" data-placement="top" data-html="true" class="gfm gfm-project_member js-user-link" title="Siguza">@Siguza</a> could you please check if compiling the following code with <code>-Wl,-no_weak_imports</code> would result in an error for you, but will work without this option:</p>
<pre class="code highlight js-syntax-highlight c" lang="c" v-pre="true"><code><span id="LC1" class="line" lang="c"><span class="cp">#include <sys/select.h></span></span>
<span id="LC2" class="line" lang="c"></span>
<span id="LC3" class="line" lang="c"><span class="kt">int</span> <span class="nf">main</span><span class="p">(</span><span class="kt">void</span><span class="p">)</span></span>
<span id="LC4" class="line" lang="c"><span class="p">{</span></span>
<span id="LC5" class="line" lang="c"> <span class="n">fd_set</span> <span class="n">rfds</span><span class="p">;</span></span>
<span id="LC6" class="line" lang="c"></span>
<span id="LC7" class="line" lang="c"> <span class="n">FD_ZERO</span><span class="p">(</span><span class="o">&</span><span class="n">rfds</span><span class="p">);</span></span>
<span id="LC8" class="line" lang="c"> <span class="n">FD_SET</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="o">&</span><span class="n">rfds</span><span class="p">);</span></span>
<span id="LC9" class="line" lang="c"></span>
<span id="LC10" class="line" lang="c"> <span class="k">return</span> <span class="mi">1</span><span class="p">;</span></span>
<span id="LC11" class="line" lang="c"><span class="p">}</span></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/966#note_348856217">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/e422e905c39e6801f0374c6644708a93/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/966#note_348856217"}}</script>
</p>
</div>
</body>
</html>