public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/26750] New: -Werror=stringop-overflow instances building with GCC 11
@ 2020-10-18 15:20 hjl.tools at gmail dot com
2020-10-18 20:01 ` [Bug build/26750] " schwab@linux-m68k.org
0 siblings, 1 reply; 2+ messages in thread
From: hjl.tools at gmail dot com @ 2020-10-18 15:20 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26750
Bug ID: 26750
Summary: -Werror=stringop-overflow instances building with GCC
11
Product: glibc
Version: 2.33
Status: NEW
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
CC: carlos at redhat dot com
Target Milestone: ---
On Linux/x86-64, GCC 11 r11-4026 gave
[hjl@gnu-skx-1 csu]$
/export/build/gnu/tools-build/gcc-gitlab-debug/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/tools-build/gcc-gitlab-debug/build-x86_64-linux/gcc/
../sysdeps/x86/libc-start.c -c -std=gnu11 -fgnu89-inline -O2 -g -Wall
-Wwrite-strings -Wundef -Werror -fmerge-all-constants -frounding-math
-fno-stack-protector -Wstrict-prototypes -Wold-style-definition -fmath-errno
-fPIC -fno-stack-protector -DSTACK_PROTECTOR_LEVEL=0 -funwind-tables
-ftls-model=initial-exec -I../include
-I/export/users/hjl/build/gnu/tools-build/glibc/build-x86_64-linux/csu
-I/export/users/hjl/build/gnu/tools-build/glibc/build-x86_64-linux
-I../sysdeps/unix/sysv/linux/x86_64/64 -I../sysdeps/unix/sysv/linux/x86_64
-I../sysdeps/unix/sysv/linux/x86/include -I../sysdeps/unix/sysv/linux/x86
-I../sysdeps/x86/nptl -I../sysdeps/unix/sysv/linux/wordsize-64
-I../sysdeps/x86_64/nptl -I../sysdeps/unix/sysv/linux/include
-I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread
-I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv
-I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix
-I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch
-I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch
-I../sysdeps/x86_64 -I../sysdeps/x86/include -I../sysdeps/x86
-I../sysdeps/ieee754/float128 -I../sysdeps/ieee754/ldbl-96/include
-I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
-I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I..
-I../libio -I. -D_LIBC_REENTRANT -include
/export/users/hjl/build/gnu/tools-build/glibc/build-x86_64-linux/libc-modules.h
-DMODULE_NAME=libc -include ../include/libc-symbols.h -DPIC -DSHARED
-DTOP_NAMESPACE=glibc -o
/export/users/hjl/build/gnu/tools-build/glibc/build-x86_64-linux/csu/libc-start.os
-MD -MP -MF
/export/users/hjl/build/gnu/tools-build/glibc/build-x86_64-linux/csu/libc-start.os.dt
-MT
/export/users/hjl/build/gnu/tools-build/glibc/build-x86_64-linux/csu/libc-start.os
In file included from ../include/setjmp.h:2,
from ../nptl/descr.h:24,
from ../sysdeps/x86_64/nptl/tls.h:130,
from ../include/link.h:51,
from ../include/dlfcn.h:4,
from ../sysdeps/generic/ldsodefs.h:32,
from ../sysdeps/x86/ldsodefs.h:65,
from ../sysdeps/gnu/ldsodefs.h:46,
from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
from ../csu/libc-start.c:22,
from ../sysdeps/x86/libc-start.c:30:
../csu/libc-start.c: In function ??__libc_start_main??:
../setjmp/setjmp.h:49:25: error: ??_setjmp?? accessing 200 bytes in a region of
size 72 [-Werror=stringop-overflow=]
49 | #define setjmp(env) _setjmp (env)
| ^~~~~~~~~~~~~
../csu/libc-start.c:301:20: note: in expansion of macro ??setjmp??
301 | not_first_call = setjmp ((struct __jmp_buf_tag *)
unwind_buf.cancel_jmp_buf);
| ^~~~~~
../setjmp/setjmp.h:49:25: note: referencing argument 1 of type ??struct
__jmp_buf_tag *??
49 | #define setjmp(env) _setjmp (env)
| ^~~~~~~~~~~~~
../csu/libc-start.c:301:20: note: in expansion of macro ??setjmp??
301 | not_first_call = setjmp ((struct __jmp_buf_tag *)
unwind_buf.cancel_jmp_buf);
| ^~~~~~
In file included from <command-line>:
../include/setjmp.h:27:20: note: in a call to function ??_setjmp??
27 | libc_hidden_proto (_setjmp)
| ^~~~~~~
./../include/libc-symbols.h:541:33: note: in definition of macro
??__hidden_proto??
541 | extern thread __typeof (name) name __asm__ (__hidden_asmname
(#internal)) \
| ^~~~
./../include/libc-symbols.h:624:44: note: in expansion of macro
??hidden_proto??
624 | # define libc_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
| ^~~~~~~~~~~~
../include/setjmp.h:27:1: note: in expansion of macro ??libc_hidden_proto??
27 | libc_hidden_proto (_setjmp)
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[hjl@gnu-skx-1 csu]$
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug build/26750] -Werror=stringop-overflow instances building with GCC 11
2020-10-18 15:20 [Bug build/26750] New: -Werror=stringop-overflow instances building with GCC 11 hjl.tools at gmail dot com
@ 2020-10-18 20:01 ` schwab@linux-m68k.org
0 siblings, 0 replies; 2+ messages in thread
From: schwab@linux-m68k.org @ 2020-10-18 20:01 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26750
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
This is a false positive.
*** This bug has been marked as a duplicate of bug 26647 ***
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-18 20:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-18 15:20 [Bug build/26750] New: -Werror=stringop-overflow instances building with GCC 11 hjl.tools at gmail dot com
2020-10-18 20:01 ` [Bug build/26750] " schwab@linux-m68k.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).