<p>The <code>printrusage</code> code uses the <code><sys/resource.h></code> <code>struct rusage</code> type to print the structure, but this need not match the kernel ABI type used by the syscall, and will not match on 32-bit archs with 64-bit <code>time_t</code>.</p>
<p>In this case using <code><linux/resource.h></code> would not help; it's also using <code>struct timeval</code> rather than something that will match the syscall. I'm not sure what the right fix is aside from hard-coding a struct in strace source.</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/122?email_source=notifications&email_token=AAFX7DALAJPJVJ2MDAOVSGLRAL4HDA5CNFSM4KNYYPR2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IJ4JOVA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAFX7DFWMPZKAFLLTF3M5RTRAL4HDANCNFSM4KNYYPRQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAFX7DDC66MPWV2TCJRFLH3RAL4HDA5CNFSM4KNYYPR2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IJ4JOVA.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/122?email_source=notifications\u0026email_token=AAFX7DALAJPJVJ2MDAOVSGLRAL4HDA5CNFSM4KNYYPR2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IJ4JOVA",
"url": "https://github.com/strace/strace/issues/122?email_source=notifications\u0026email_token=AAFX7DALAJPJVJ2MDAOVSGLRAL4HDA5CNFSM4KNYYPR2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IJ4JOVA",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>