<!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/issues/818#note_202265159">discussion</a>:
</p>
<div style="">
<p dir="auto">Afaict simply changing the cfg.mk a la</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">lib/accelerated/x86/elf/%.s: devel/perlasm/%.pl .submodule.stamp </span>
<span id="LC2" class="line" lang="plaintext"> CC=gcc perl $< elf {+-fPIC+} $@.tmp</span>
<span id="LC3" class="line" lang="plaintext"> cat $<.license $@.tmp > $@ && rm -f $@.tmp</span></code></pre>
<p dir="auto">will not work since not all .s files are buildable when specifying -fPIC to the perl script. The openssl build.info passes -fPIC selectively:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">[...]</span>
<span id="LC2" class="line" lang="plaintext">GENERATE[ghash-x86.s]=asm/ghash-x86.pl \</span>
<span id="LC3" class="line" lang="plaintext"> $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR)</span>
<span id="LC4" class="line" lang="plaintext">GENERATE[ghash-x86_64.s]=asm/ghash-x86_64.pl $(PERLASM_SCHEME)</span>
<span id="LC5" class="line" lang="plaintext">[...]</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/818#note_202265159">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/867032f09f55c676168829b878c0c65a/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/818#note_202265159"}}</script>
</p>
</div>
</body>
</html>