<p></p>
<p>I know this is an old issue, but I just wanted to report back that this worked correctly for me.</p>
<p>Steps:</p>
<pre><code>git clone https://github.com/strace/strace
cd strace
./bootstrap
export LDFLAGS='-static -pthread'
./configure
make

Result:
% file strace
strace: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, BuildID[sha1]=d08a819c2abac4c8db9e6fcdcba8201cf1ba3406, for GNU/Linux 3.2.0, with debug_info, not stripped
</code></pre>
<p>Ported it over to my other machine and it worked perfectly.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/strace/strace/issues/89#issuecomment-623049007">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AOVBTR6JT7ZN2SNVWMHGO6DRPTRKDANCNFSM4GKVGGEQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AOVBTR5CW6D2ZNNDJOBR4P3RPTRKDA5CNFSM4GKVGGE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEURPSLY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/strace/strace/issues/89#issuecomment-623049007",
"url": "https://github.com/strace/strace/issues/89#issuecomment-623049007",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>