[PATCH v3] x32: Align sem_t to 8 bytes [BZ #33632]

Wilco Dijkstra Wilco.Dijkstra@arm.com
Wed Nov 19 11:10:43 GMT 2025


Hi HJ,

>> That's an ABI break. Also I don't see how the behaviour of existing x32 binaries
>> is unchanged - they use unaligned sem_t and thus reintroduce the bug.
>
> The current x32 binaires use 64-bit atomic operations on unaligned
> 64-bit sem_t.   My patch doesn't change that.   It doesn't reintroduce
> the bug.

But it doesn't fix it either and it introduces new ABI bugs...

If breaking the ABI was acceptable, it could have been done many years ago.

Cheers,
Wilco


More information about the Libc-alpha mailing list