lkml.org 
[lkml]   [2006]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Iptables error [Was: 2.6.16-rc1-mm2]
From
Date
Linus Torvalds <torvalds@osdl.org> writes:

> On Fri, 20 Jan 2006, Benoit Boissinot wrote:
>>
>> On x86 (32bits), i have the same i think:
>
> Interestingly, __alignof__(unsigned long long) is 8 these days, even
> though I think historically on x86 it was 4. Is this perhaps different in
> gcc-3 and gcc-4?
>
> Or do I just remember wrong?

Nope. There are compilers where it is 4 byte aligned.
I believe this was actually a C abi change.

I actually had some code break because of it. A 32bit binary generated
a structure and a 64bit binary couldn't read it. I hadn't realized
they had changed recent versions of gcc.

Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-23 21:57    [W:0.099 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site