<p></p>
<p>Hi,</p>
<p>I'm trying to update crosstool-ng to include a newer strace version (current version supported is 5.8).</p>
<p>When building against musl libc I strike this error</p>
<pre><code>[ALL ] In file included from /home/x-tool/.build/arm-unknown-linux-musleabi/src/strace/bundled/linux/include/uapi/linux/in6.h:26,
[ALL ] from /home/x-tool/.build/arm-unknown-linux-musleabi/src/strace/bundled/linux/include/uapi/linux/if_bridge.h:19,
[ALL ] from /home/x-tool/.build/arm-unknown-linux-musleabi/src/strace/src/rtnl_mdb.c:16:
[ERROR] /home/x-tool/.build/arm-unknown-linux-musleabi/src/strace/bundled/linux/include/uapi/linux/libc-compat.h:109: error: "__UAPI_DEF_IN6_ADDR_ALT" redefined [-Werror]
[ALL ] 109 | #define __UAPI_DEF_IN6_ADDR_ALT 1
[ALL ] |
[ALL ] In file included from /home/x-tool/.build/arm-unknown-linux-musleabi/src/strace/src/rtnl_mdb.c:15:
[ALL ] /home/x-tool/x-tools/arm-unknown-linux-musleabi/arm-unknown-linux-musleabi/sysroot/usr/include/netinet/in.h:401: note: this is the location of the previous definition
[ALL ] 401 | #define __UAPI_DEF_IN6_ADDR_ALT 0
[ALL ] |
[ALL ] cc1: all warnings being treated as errors
[ERROR] make[4]: *** [Makefile:6660: libstrace_a-rtnl_mdb.o] Error 1
[ALL ] make[4]: Leaving directory '/home/x-tool/.build/arm-unknown-linux-musleabi/build/build-strace/src'
[ERROR] make[3]: *** [Makefile:2404: all] Error 2
[ALL ] rm ioctlsort0.o ioctls_all0.h ioctlsort0
[ALL ] make[3]: Leaving directory '/home/x-tool/.build/arm-unknown-linux-musleabi/build/build-strace/src'
[ERROR] make[2]: *** [Makefile:601: all-recursive] Error 1
[ALL ] make[2]: Leaving directory '/home/x-tool/.build/arm-unknown-linux-musleabi/build/build-strace'
[ERROR] make[1]: *** [Makefile:506: all] Error 2
[ALL ] make[1]: Leaving directory '/home/x-tool/.build/arm-unknown-linux-musleabi/build/build-strace'
</code></pre>
<p>any suggestions?</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/177">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AOVBTRZZMGMMQKPD5L4TD4TTGA5APANCNFSM4Z7EBDZA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AOVBTR5TIBGVME2YC7YMLILTGA5APA5CNFSM4Z7EBDZKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4MSBGNJQ.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/177",
"url": "https://github.com/strace/strace/issues/177",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>