Fixing the unfixable autofs ABI
Posted May 3, 2012 15:41 UTC (Thu) by
jzbiciak (
✭ supporter ✭, #5246)
In reply to:
Fixing the unfixable autofs ABI by stevem
Parent article:
Fixing the unfixable autofs ABI
That doesn't fix this structure, as I understand it. The total size of the elements is 300 bytes, but the whole struct must be aligned to 8 bytes on 64 byte architectures, but only needs alignment 4 on the i386 ABI.
Consider this much simpler structure:
struct broken
{
__u64 f1;
__u32 f2;
};
On the i386 ABI, sizeof(struct broken) is 12. On the x86-64 ABI, it's 16.
(
Log in to post comments)