public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/26758] New: gdb master fails to build on Cygwin
@ 2020-10-19 22:33 joel.sherrill at oarcorp dot com
  2020-10-20 12:20 ` [Bug gdb/26758] " cbiesinger at google dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: joel.sherrill at oarcorp dot com @ 2020-10-19 22:33 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 26758
           Summary: gdb master fails to build on Cygwin
           Product: gdb
           Version: HEAD
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: joel.sherrill at oarcorp dot com
  Target Milestone: ---

Hash: 

22cc388e2b940608d4d759dc61c0335cfc621de1 (19 Oct 2020 master

Output:

configure && make

make[2]: Entering directory '/home/jrs007/test-gcc/b-native/gdbserver'
  CXX    server.o
../../binutils-gdb/gdbserver/server.cc: In function ‘void
handle_general_set(char*)’:
../../binutils-gdb/gdbserver/server.cc:832:12: error: ‘sprintf’ argument 3
overlaps destination object ‘own_buf’ [-Werror=restrict]
  832 |    sprintf (own_buf, "E.Unknown thread-events mode requested: %s\n",
      |    ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  833 |      mode);
      |      ~~~~~
../../binutils-gdb/gdbserver/server.cc:553:27: note: destination object
referenced by ‘restrict’-qualified argument 1 was declared here
  553 | handle_general_set (char *own_buf)
      |                     ~~~~~~^~~~~~~

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-10-22 22:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-19 22:33 [Bug gdb/26758] New: gdb master fails to build on Cygwin joel.sherrill at oarcorp dot com
2020-10-20 12:20 ` [Bug gdb/26758] " cbiesinger at google dot com
2020-10-21 15:08 ` cbiesinger at google dot com
2020-10-22 22:16 ` joel.sherrill at oarcorp dot com

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).