glibc/sysdeps
Joseph Myers 19302b27bd Fix GCC 11 -Warray-parameter warning for __sigsetjmp (bug 26647)
This patch fixes part of bug 26647 (-Werror=array-parameter error
building with GCC 11 because of __sigsetjmp being declared using an
array parameter in one header and a pointer parameter in another).

The fix is to split the struct __jmp_buf_tag definition out to a
separate bits/types/ header so it can be included in pthread.h, so
that pthread.h can declare __sigsetjmp with the type contents visible,
so can use an array (as in setjmp.h) rather than a pointer in the
declaration.

Note that several other build failures with GCC 11 remain.  This does
not fix the jmp_buf-related -Wstringop-overflow errors (also discussed
in bug 26647), or -Warray-parameter errors for other functions (bug
26686), or -Warray-bounds errors (bug 26687).

Tested, with older compilers, natively for x86_64 and with
build-many-glibc.py for aarch64-linux-gnu.  Tested with
build-many-glibcs.py with GCC mainline for aarch64-linux-gnu that this
gets past the -Warray-parameter issue for __sigsetjmp (with the next
build failure being the other one discussed in bug 26647).
2020-10-05 16:46:46 +00:00
..
aarch64 aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
alpha aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
arc aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
arm aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
csky aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
generic Linux: Remove rseq support 2020-07-16 17:55:35 +02:00
gnu string: Fix strerrorname_np return value [BZ #26555] 2020-09-29 13:56:06 -03:00
hppa aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
htl htl: Move cleanup handling to non-private libc-lock 2020-06-28 00:13:57 +00:00
hurd hurd: Fix build-many-glibcs.py 2020-07-13 14:25:03 -03:00
i386 aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
ia64 aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
ieee754 math: Fix inaccuracy of j0f for x >= 2^127 when sin(x)+cos(x) is tiny 2020-08-07 16:33:13 -03:00
m68k aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
mach hurd: add ST_RELATIME 2020-09-27 18:23:27 +02:00
microblaze aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
mips aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
nios2 aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
nptl Fix GCC 11 -Warray-parameter warning for __sigsetjmp (bug 26647) 2020-10-05 16:46:46 +00:00
posix Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
powerpc aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
pthread C11 threads: Fix inaccuracies in testsuite 2020-09-07 11:42:52 +02:00
riscv aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
s390 aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
sh aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
sparc aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00
unix sysvipc: Return EINVAL for invalid msgctl commands 2020-10-02 16:11:59 -03:00
wordsize-32 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wordsize-64 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
x86 Reversing calculation of __x86_shared_non_temporal_threshold 2020-09-28 22:10:39 +00:00
x86_64 aarch64: enforce >=64K guard size [BZ #26691] 2020-10-02 09:57:44 +01:00