* [Bug remote/30927] gdbsupport/configure does not detect Illumos socketpair
2023-10-01 9:36 [Bug remote/30927] New: gdbsupport/configure does not detect Illumos socketpair pjfloyd at wanadoo dot fr
@ 2023-10-01 15:16 ` tromey at sourceware dot org
2023-10-02 19:05 ` pjfloyd at wanadoo dot fr
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: tromey at sourceware dot org @ 2023-10-01 15:16 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30927
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at sourceware dot org
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
Created attachment 15148
--> https://sourceware.org/bugzilla/attachment.cgi?id=15148&action=edit
patch
Can you try this?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug remote/30927] gdbsupport/configure does not detect Illumos socketpair
2023-10-01 9:36 [Bug remote/30927] New: gdbsupport/configure does not detect Illumos socketpair pjfloyd at wanadoo dot fr
2023-10-01 15:16 ` [Bug remote/30927] " tromey at sourceware dot org
@ 2023-10-02 19:05 ` pjfloyd at wanadoo dot fr
2023-10-02 22:51 ` tromey at sourceware dot org
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pjfloyd at wanadoo dot fr @ 2023-10-02 19:05 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30927
--- Comment #2 from Paul Floyd <pjfloyd at wanadoo dot fr> ---
The patch looks OK for gdbsupport/common.m4 but I don't think that
gdb/configure.ac needs changing.
With the test for socketpait in libsocket removed gdb/config.h doesn't get
HAVE_SOCKETPAIR set which is used by gdb/ser-pipe.c
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug remote/30927] gdbsupport/configure does not detect Illumos socketpair
2023-10-01 9:36 [Bug remote/30927] New: gdbsupport/configure does not detect Illumos socketpair pjfloyd at wanadoo dot fr
2023-10-01 15:16 ` [Bug remote/30927] " tromey at sourceware dot org
2023-10-02 19:05 ` pjfloyd at wanadoo dot fr
@ 2023-10-02 22:51 ` tromey at sourceware dot org
2023-10-03 6:38 ` pjfloyd at wanadoo dot fr
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: tromey at sourceware dot org @ 2023-10-02 22:51 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30927
--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
(In reply to Paul Floyd from comment #2)
> The patch looks OK for gdbsupport/common.m4 but I don't think that
> gdb/configure.ac needs changing.
>
> With the test for socketpait in libsocket removed gdb/config.h doesn't get
> HAVE_SOCKETPAIR set which is used by gdb/ser-pipe.c
This is surprising because the patch just moves the check
from gdb to common.m4, which is used by both programs.
Did you do a clean rebuild? Maybe look in gdb/config.log
to see what has gone wrong.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug remote/30927] gdbsupport/configure does not detect Illumos socketpair
2023-10-01 9:36 [Bug remote/30927] New: gdbsupport/configure does not detect Illumos socketpair pjfloyd at wanadoo dot fr
` (2 preceding siblings ...)
2023-10-02 22:51 ` tromey at sourceware dot org
@ 2023-10-03 6:38 ` pjfloyd at wanadoo dot fr
2023-10-04 12:06 ` tromey at sourceware dot org
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pjfloyd at wanadoo dot fr @ 2023-10-03 6:38 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30927
--- Comment #4 from Paul Floyd <pjfloyd at wanadoo dot fr> ---
I think it's a problem of the order of execution.
AC_SEARCH_LIBs(socketpair, socket) needs to be done before AC_CHECK_FUNCS (so
that CHECK_FUNCS uses -lsocket) but now in gdb/configure it's being done after.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug remote/30927] gdbsupport/configure does not detect Illumos socketpair
2023-10-01 9:36 [Bug remote/30927] New: gdbsupport/configure does not detect Illumos socketpair pjfloyd at wanadoo dot fr
` (3 preceding siblings ...)
2023-10-03 6:38 ` pjfloyd at wanadoo dot fr
@ 2023-10-04 12:06 ` tromey at sourceware dot org
2023-10-04 12:07 ` tromey at sourceware dot org
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: tromey at sourceware dot org @ 2023-10-04 12:06 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30927
--- Comment #5 from Tom Tromey <tromey at sourceware dot org> ---
(In reply to Paul Floyd from comment #4)
> I think it's a problem of the order of execution.
>
> AC_SEARCH_LIBs(socketpair, socket) needs to be done before AC_CHECK_FUNCS
> (so that CHECK_FUNCS uses -lsocket) but now in gdb/configure it's being done
> after.
Ok, I see.
I have an updated patch I'll post in a sec.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug remote/30927] gdbsupport/configure does not detect Illumos socketpair
2023-10-01 9:36 [Bug remote/30927] New: gdbsupport/configure does not detect Illumos socketpair pjfloyd at wanadoo dot fr
` (4 preceding siblings ...)
2023-10-04 12:06 ` tromey at sourceware dot org
@ 2023-10-04 12:07 ` tromey at sourceware dot org
2023-10-05 8:46 ` pjfloyd at wanadoo dot fr
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: tromey at sourceware dot org @ 2023-10-04 12:07 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30927
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #15148|0 |1
is obsolete| |
--- Comment #6 from Tom Tromey <tromey at sourceware dot org> ---
Created attachment 15153
--> https://sourceware.org/bugzilla/attachment.cgi?id=15153&action=edit
new patch
Can you try this one?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug remote/30927] gdbsupport/configure does not detect Illumos socketpair
2023-10-01 9:36 [Bug remote/30927] New: gdbsupport/configure does not detect Illumos socketpair pjfloyd at wanadoo dot fr
` (5 preceding siblings ...)
2023-10-04 12:07 ` tromey at sourceware dot org
@ 2023-10-05 8:46 ` pjfloyd at wanadoo dot fr
2023-10-06 15:51 ` tromey at sourceware dot org
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pjfloyd at wanadoo dot fr @ 2023-10-05 8:46 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30927
--- Comment #7 from Paul Floyd <pjfloyd at wanadoo dot fr> ---
Tested it this morning and it looks OK now.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug remote/30927] gdbsupport/configure does not detect Illumos socketpair
2023-10-01 9:36 [Bug remote/30927] New: gdbsupport/configure does not detect Illumos socketpair pjfloyd at wanadoo dot fr
` (6 preceding siblings ...)
2023-10-05 8:46 ` pjfloyd at wanadoo dot fr
@ 2023-10-06 15:51 ` tromey at sourceware dot org
2023-10-06 15:51 ` tromey at sourceware dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: tromey at sourceware dot org @ 2023-10-06 15:51 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30927
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at sourceware dot org |tromey at sourceware dot org
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug remote/30927] gdbsupport/configure does not detect Illumos socketpair
2023-10-01 9:36 [Bug remote/30927] New: gdbsupport/configure does not detect Illumos socketpair pjfloyd at wanadoo dot fr
` (7 preceding siblings ...)
2023-10-06 15:51 ` tromey at sourceware dot org
@ 2023-10-06 15:51 ` tromey at sourceware dot org
2023-10-13 0:22 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: tromey at sourceware dot org @ 2023-10-06 15:51 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30927
--- Comment #8 from Tom Tromey <tromey at sourceware dot org> ---
https://sourceware.org/pipermail/gdb-patches/2023-October/203028.html
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug remote/30927] gdbsupport/configure does not detect Illumos socketpair
2023-10-01 9:36 [Bug remote/30927] New: gdbsupport/configure does not detect Illumos socketpair pjfloyd at wanadoo dot fr
` (8 preceding siblings ...)
2023-10-06 15:51 ` tromey at sourceware dot org
@ 2023-10-13 0:22 ` cvs-commit at gcc dot gnu.org
2023-10-13 0:44 ` cvs-commit at gcc dot gnu.org
2023-10-13 0:45 ` tromey at sourceware dot org
11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-10-13 0:22 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30927
--- Comment #9 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The gdb-14-branch branch has been updated by Tom Tromey
<tromey@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a0939697c360dba39661cddcde122a006e830482
commit a0939697c360dba39661cddcde122a006e830482
Author: Tom Tromey <tom@tromey.com>
Date: Sun Oct 1 09:16:13 2023 -0600
Move -lsocket check to common.m4
A user pointed out that the -lsocket check in gdb should also apply to
gdbserver -- otherwise it can't find the Solaris socketpair. This
patch makes the change. It also removes a couple of redundant
function checks from gdb's configure.ac.
This was tested by the person who reported the bug.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30927
Approved-By: Pedro Alves <pedro@palves.net>
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug remote/30927] gdbsupport/configure does not detect Illumos socketpair
2023-10-01 9:36 [Bug remote/30927] New: gdbsupport/configure does not detect Illumos socketpair pjfloyd at wanadoo dot fr
` (9 preceding siblings ...)
2023-10-13 0:22 ` cvs-commit at gcc dot gnu.org
@ 2023-10-13 0:44 ` cvs-commit at gcc dot gnu.org
2023-10-13 0:45 ` tromey at sourceware dot org
11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-10-13 0:44 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30927
--- Comment #10 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5772d798236d493a0cdfd75b41520527e3129759
commit 5772d798236d493a0cdfd75b41520527e3129759
Author: Tom Tromey <tom@tromey.com>
Date: Sun Oct 1 09:16:13 2023 -0600
Move -lsocket check to common.m4
A user pointed out that the -lsocket check in gdb should also apply to
gdbserver -- otherwise it can't find the Solaris socketpair. This
patch makes the change. It also removes a couple of redundant
function checks from gdb's configure.ac.
This was tested by the person who reported the bug.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30927
Approved-By: Pedro Alves <pedro@palves.net>
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug remote/30927] gdbsupport/configure does not detect Illumos socketpair
2023-10-01 9:36 [Bug remote/30927] New: gdbsupport/configure does not detect Illumos socketpair pjfloyd at wanadoo dot fr
` (10 preceding siblings ...)
2023-10-13 0:44 ` cvs-commit at gcc dot gnu.org
@ 2023-10-13 0:45 ` tromey at sourceware dot org
11 siblings, 0 replies; 13+ messages in thread
From: tromey at sourceware dot org @ 2023-10-13 0:45 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30927
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Target Milestone|--- |14.1
Status|UNCONFIRMED |RESOLVED
--- Comment #11 from Tom Tromey <tromey at sourceware dot org> ---
Fixed.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 13+ messages in thread