Subject: Re: arm, net and '__attribute__ ((__packed__))'
To: Richard Earnshaw <Richard.Earnshaw@buzzard.freeserve.co.uk>
From: Sami Kantoluoto <email@example.com>
Date: 02/05/2005 16:41:17
On Sat, Feb 05, 2005 at 02:04:14PM +0000, Richard Earnshaw wrote:
> On Sat, 05 Feb 2005 15:48:39 +0200, Sami Kantoluoto wrote:
[ snip ]
> > } __attribute__((__packed__)) llc_un;
> > } __attribute__((__packed__));
> > I can't believe that NetBSD has any problems with these so maybe I'm missing
> > some compiler options or has NetBSD's gcc been patched or something else?
> NetBSD uses gcc configured with structure-size-boundary set to 8, rather
> than 32 (the default for a standard arm-elf compiler). Which is why you
> are seeing this problem. Try building *all* your code with
Yes, that helped. Thanks.
> But yes, this is probably a bug in the header file. Could you file a PR?