On Fri, May 15, 2020 at 1:50 PM Carlos O'Donell <carlos@xxxxxxxxxx> wrote: > This isn't fixed because this is the older code in pthread_mutex_lock > which we haven't ported to futex-internal.h yet, otherwise we would abort > the process. I filed this upstream as a QoI issue so I don't forget to port the existing code to the newer internal interfaces for futex handling. "Bug 25997 - pthread_mutex_lock QoI issue for unaligned futex." https://sourceware.org/bugzilla/show_bug.cgi?id=25997 I checked that -Wcast-align=strict does warn about this case, but it's rarely used in production code that I've worked with. I'm following up with the compiler people to see if we can consistently warn in these cases and so avoid this kind of code existing in the first place. Cheers, Carlos.