Use of warn_if_not_aligned for pthread_mutex_t?
Carlos O'Donell
carlos@redhat.com
Fri May 15 20:37:12 GMT 2020
HJ,
Should it be possible to use warn_if_not_aligned to keep the
futex in the pthread_mutex_t aligned and warn if it's not
on an address that is a multiple of 4?
I just did some testing on gcc 10 in f32 and warn_if_not_aligned
didn't quite behave like I would expect in this case.
Specifically this use case:
https://lore.kernel.org/linux-api/403cc691-4ec5-8b3f-382c-4820736da41d@redhat.com/T/#t
After which I filed this bug:
https://sourceware.org/bugzilla/show_bug.cgi?id=25997
--
Cheers,
Carlos.
More information about the Libc-alpha
mailing list