This is the mail archive of the
mailing list for the glibc project.
[Bug nptl/22351] Unaligned pthread_cond_t stopped working
- From: "tuliom at linux dot vnet.ibm.com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 26 Oct 2017 10:52:56 +0000
- Subject: [Bug nptl/22351] Unaligned pthread_cond_t stopped working
- Auto-submitted: auto-generated
- References: <firstname.lastname@example.org/bugzilla/>
--- Comment #3 from Tulio Magno Quites Machado Filho <tuliom at linux dot vnet.ibm.com> ---
(In reply to Carlos O'Donell from comment #1)
> Are we missing explicit padding somewhere to avoid problems with user use of
> pragma pack(1)?
No. The problem happens because of atomic instruction that are not aligned at
their natural boundary.
(In reply to Andreas Schwab from comment #2)
> That it appeared to work previously is irrelevent, because it has always
> been broken. The kernel requires 32-bit alignment of futex variables.
For the record, it also fails with pragma pack(4). Tested on powerpc64le.
You are receiving this mail because:
You are on the CC list for the bug.