|
Message-ID: <4FE91B3D.2010905@barfooze.de> Date: Tue, 26 Jun 2012 04:15:25 +0200 From: John Spencer <maillist-musl@...fooze.de> To: musl@...ts.openwall.com Subject: Re: Possible ARM struct stat problem. On 05/27/2012 09:43 PM, Rich Felker wrote: > On Sun, May 27, 2012 at 01:35:07PM -0500, Richard Pennington wrote: >> Hi, >> >> I think a found a problem with the struct stat definition for the ARM. It >> needed a bit more padding. I've attached a diff and wrote about it on my blog >> if you'd like more information. >> >> http://ellcc.org/blog/?p=121 > This looks like a clang bug. Per the ABI, long long has 8-byte > alignment on ARM. Thus, the structure definition musl has right now > will give the right layout to match the ABI, and in fact it works > perfectly when compiled with GCC. i have the same issue with gcc 4.2.4. hunting the bug costed me hours. > I'm not entirely opposed to putting the explicit padding in there, > since this is an arch-specific structure anyway, but I think you > should check your compiler. The same issue might come up elsewhere and > might not be so easy to work around. > please apply the explicit padding.
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.