mirror of git://sourceware.org/git/glibc.git
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>
|
||
|---|---|---|
| .. | ||
| bits | ||
| fpu | ||
| hppa1.1 | ||
| nptl | ||
| Makefile | ||
| Versions | ||
| __longjmp.c | ||
| abort-instr.h | ||
| add_n.S | ||
| bsd-_setjmp.S | ||
| bsd-setjmp.S | ||
| configure | ||
| configure.ac | ||
| crti.S | ||
| crtn.S | ||
| dl-fptr.c | ||
| dl-fptr.h | ||
| dl-irel.h | ||
| dl-lookupcfg.h | ||
| dl-machine.h | ||
| dl-runtime.c | ||
| dl-runtime.h | ||
| dl-symaddr.c | ||
| dl-tls.h | ||
| dl-trampoline.S | ||
| elf-initfini.h | ||
| entry.h | ||
| gccframe.h | ||
| get-rounding-mode.h | ||
| jmpbuf-offsets.h | ||
| jmpbuf-unwind.h | ||
| ldsodefs.h | ||
| libc-tls.c | ||
| libgcc-compat.c | ||
| linkmap.h | ||
| lshift.S | ||
| machine-gmon.h | ||
| math-tests-snan-payload.h | ||
| memcopy.h | ||
| mp_clz_tab.c | ||
| nan-high-order-bit.h | ||
| preconfigure | ||
| rshift.S | ||
| setjmp.S | ||
| shlib-versions | ||
| sotruss-lib.c | ||
| stackinfo.h | ||
| start.S | ||
| string-fzb.h | ||
| string-fzc.h | ||
| string-fzi.h | ||
| sub_n.S | ||
| sysdep.h | ||
| tininess.h | ||
| tst-audit.h | ||
| udiv_qrnnd.S | ||