about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2023-03-26 21:16:22 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2023-03-26 21:16:22 +0000
commitab991a3d1b401ded6bd4f027352da8262b021a11 (patch)
treec5fdb325d8fcafc2a565eae9e3e27288fb210705 /sysdeps/unix/sysv/linux
parent1b5e65ef6a442fdccf88d43c3048f98292d85631 (diff)
downloadglibc-ab991a3d1b401ded6bd4f027352da8262b021a11.tar.gz
glibc-ab991a3d1b401ded6bd4f027352da8262b021a11.tar.xz
glibc-ab991a3d1b401ded6bd4f027352da8262b021a11.zip
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>
Diffstat (limited to 'sysdeps/unix/sysv/linux')
0 files changed, 0 insertions, 0 deletions