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

* [Bug gdb/26758] gdb master fails to build on Cygwin
  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 ` 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
  2 siblings, 0 replies; 4+ messages in thread
From: cbiesinger at google dot com @ 2020-10-20 12:20 UTC (permalink / raw)
  To: gdb-prs

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

Christian Biesinger <cbiesinger at google dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cbiesinger at google dot com

--- Comment #1 from Christian Biesinger <cbiesinger at google dot com> ---
This works for me (gcc 9.3.0). What's your gcc version?

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

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

* [Bug gdb/26758] gdb master fails to build on Cygwin
  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
  2 siblings, 0 replies; 4+ messages in thread
From: cbiesinger at google dot com @ 2020-10-21 15:08 UTC (permalink / raw)
  To: gdb-prs

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

Christian Biesinger <cbiesinger at google dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |simark at simark dot ca
         Resolution|---                         |FIXED

--- Comment #2 from Christian Biesinger <cbiesinger at google dot com> ---
Fixed by simark in 4dbe16c8115

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

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

* [Bug gdb/26758] gdb master fails to build on Cygwin
  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
  2 siblings, 0 replies; 4+ messages in thread
From: joel.sherrill at oarcorp dot com @ 2020-10-22 22:16 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #3 from Joel Sherrill <joel.sherrill at oarcorp dot com> ---
Thanks for fixing this. 

I wanted to confirm it is fixed and report back the gcc version for posterity.

(In reply to Christian Biesinger from comment #1)
> This works for me (gcc 9.3.0). What's your gcc version?

$ gcc --version
gcc (GCC) 10.2.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

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