]> sourceware.org Git - glibc.git/commit
hppa: Drop 16-byte pthread lock alignment
authorJohn David Anglin <danglin@gcc.gnu.org>
Sun, 26 Mar 2023 21:16:22 +0000 (21:16 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sun, 26 Mar 2023 21:16:22 +0000 (21:16 +0000)
commitab991a3d1b401ded6bd4f027352da8262b021a11
treec5fdb325d8fcafc2a565eae9e3e27288fb210705
parent1b5e65ef6a442fdccf88d43c3048f98292d85631
hppa: Drop 16-byte pthread lock alignment

Linux threads were removed about 12 years ago and the current
nptl implementation only requires 4-byte alignment for pthread
locks.

The 16-byte alignment causes various issues. For example in
building ignition-msgs, we have:

/usr/include/google/protobuf/map.h:124:37: error: static assertion failed
  124 |   static_assert(alignof(value_type) <= 8, "");
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~

This is caused by the 16-byte pthread lock alignment.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
sysdeps/hppa/nptl/bits/struct_rwlock.h
This page took 0.046525 seconds and 5 git commands to generate.