public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/26709] New: '_setjmp' accessing 200 bytes in a region of size 72 [-Werror=stringop-overflow=]
@ 2020-10-06 11:25 euloanty at live dot com
  2020-10-06 11:43 ` [Bug build/26709] " schwab@linux-m68k.org
  0 siblings, 1 reply; 2+ messages in thread
From: euloanty at live dot com @ 2020-10-06 11:25 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=26709

            Bug ID: 26709
           Summary: '_setjmp' accessing 200 bytes in a region of size 72
                    [-Werror=stringop-overflow=]
           Product: glibc
           Version: 2.34
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: euloanty at live dot com
                CC: carlos at redhat dot com
  Target Milestone: ---

gcc -nostdlib -nostartfiles -r -o
/home/cqwrteur/gcc_cross_toolchain/glibc_build/csu/gcrt1.o
/home/cqwrteur/gcc_cross_toolchain/glibc_build/csu/Scrt1.o
/home/cqwrteur/gcc_cross_toolchain/glibc_build/csu/gmon-start.os
/home/cqwrteur/gcc_cross_toolchain/glibc_build/csu/static-reloc.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:31:
../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
make[2]: *** [/home/cqwrteur/gcc_cross_toolchain/glibc_build/sysd-rules:739:
/home/cqwrteur/gcc_cross_toolchain/glibc_build/csu/libc-start.os] Error 1
make[2]: *** Waiting for unfinished jobs....
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 ../sysdeps/x86/libc-start.c:22:
../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:605:33: note: in definition of macro
'__hidden_proto'
  605 |   extern thread __typeof (name) name __hidden_proto_hiddenattr (attrs);
      |                                 ^~~~
./../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
make[2]: *** [/home/cqwrteur/gcc_cross_toolchain/glibc_build/sysd-rules:723:
/home/cqwrteur/gcc_cross_toolchain/glibc_build/csu/libc-start.o] Error 1
make[2]: Leaving directory '/home/cqwrteur/gcc_cross_toolchain/glibc/csu'
make[1]: *** [Makefile:479: csu/subdir_lib] Error 2
make[1]: Leaving directory '/home/cqwrteur/gcc_cross_toolchain/glibc'
make: *** [Makefile:9: all] Error 2

-- 
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/26709] '_setjmp' accessing 200 bytes in a region of size 72 [-Werror=stringop-overflow=]
  2020-10-06 11:25 [Bug build/26709] New: '_setjmp' accessing 200 bytes in a region of size 72 [-Werror=stringop-overflow=] euloanty at live dot com
@ 2020-10-06 11:43 ` schwab@linux-m68k.org
  0 siblings, 0 replies; 2+ messages in thread
From: schwab@linux-m68k.org @ 2020-10-06 11:43 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=26709

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
That's 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-06 11:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-06 11:25 [Bug build/26709] New: '_setjmp' accessing 200 bytes in a region of size 72 [-Werror=stringop-overflow=] euloanty at live dot com
2020-10-06 11:43 ` [Bug build/26709] " 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).