public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/115453] New: [15 regression] Noise from ne wdlopen, pthread configure checks
@ 2024-06-12  2:58 sjames at gcc dot gnu.org
  2024-06-12  2:58 ` [Bug other/115453] [15 regression] Noise from new dlopen, " sjames at gcc dot gnu.org
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-06-12  2:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115453

            Bug ID: 115453
           Summary: [15 regression] Noise from ne wdlopen, pthread
                    configure checks
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sjames at gcc dot gnu.org
  Target Milestone: ---

With dash as /bin/sh, at least:
```
checking for library containing dlopen... none required
checking for library containing pthread_create... none required
/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/configure: line
8997: test: too many arguments
/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/configure: line
8999: test: too many arguments
/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/configure: line
9003: test: too many arguments
/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/configure: line
9005: test: =: unary operator expected
The following languages will be built: c,jit,lto
```

Missing quoting to handle if the var is blank.

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

* [Bug other/115453] [15 regression] Noise from new dlopen, pthread configure checks
  2024-06-12  2:58 [Bug other/115453] New: [15 regression] Noise from ne wdlopen, pthread configure checks sjames at gcc dot gnu.org
@ 2024-06-12  2:58 ` sjames at gcc dot gnu.org
  2024-06-12  3:01 ` [Bug bootstrap/115453] [15 regression] Noise from new dlopen, pthread configure checks since r15-1177-g75299e4fe50aa8 pinskia at gcc dot gnu.org
                   ` (16 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-06-12  2:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115453

--- Comment #1 from Sam James <sjames at gcc dot gnu.org> ---
246:configure:8884: checking for library containing dlopen
634:ac_cv_search_dlopen='none required'

246:configure:8884: checking for library containing dlopen
634:ac_cv_search_dlopen='none required'

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

* [Bug bootstrap/115453] [15 regression] Noise from new dlopen, pthread configure checks since r15-1177-g75299e4fe50aa8
  2024-06-12  2:58 [Bug other/115453] New: [15 regression] Noise from ne wdlopen, pthread configure checks sjames at gcc dot gnu.org
  2024-06-12  2:58 ` [Bug other/115453] [15 regression] Noise from new dlopen, " sjames at gcc dot gnu.org
@ 2024-06-12  3:01 ` pinskia at gcc dot gnu.org
  2024-06-12  3:02 ` pinskia at gcc dot gnu.org
                   ` (15 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-06-12  3:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115453

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[15 regression] Noise from  |[15 regression] Noise from
                   |new dlopen, pthread         |new dlopen, pthread
                   |configure checks            |configure checks since
                   |                            |r15-1177-g75299e4fe50aa8
                 CC|                            |cohenarthur at gcc dot gnu.org
   Target Milestone|---                         |15.0

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

* [Bug bootstrap/115453] [15 regression] Noise from new dlopen, pthread configure checks since r15-1177-g75299e4fe50aa8
  2024-06-12  2:58 [Bug other/115453] New: [15 regression] Noise from ne wdlopen, pthread configure checks sjames at gcc dot gnu.org
  2024-06-12  2:58 ` [Bug other/115453] [15 regression] Noise from new dlopen, " sjames at gcc dot gnu.org
  2024-06-12  3:01 ` [Bug bootstrap/115453] [15 regression] Noise from new dlopen, pthread configure checks since r15-1177-g75299e4fe50aa8 pinskia at gcc dot gnu.org
@ 2024-06-12  3:02 ` pinskia at gcc dot gnu.org
  2024-06-12  3:03 ` sjames at gcc dot gnu.org
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-06-12  3:02 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115453

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2024-06-12
     Ever confirmed|0                           |1

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note when this gets fixed, Make sure that this gets synced over toto
gdb-binutils repo too since toplevel configure is shared.

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

* [Bug bootstrap/115453] [15 regression] Noise from new dlopen, pthread configure checks since r15-1177-g75299e4fe50aa8
  2024-06-12  2:58 [Bug other/115453] New: [15 regression] Noise from ne wdlopen, pthread configure checks sjames at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2024-06-12  3:02 ` pinskia at gcc dot gnu.org
@ 2024-06-12  3:03 ` sjames at gcc dot gnu.org
  2024-06-12  3:04 ` pinskia at gcc dot gnu.org
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-06-12  3:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115453

--- Comment #3 from Sam James <sjames at gcc dot gnu.org> ---
Also, a typo: it has ac_cv_search_pthread_crate (not create).

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

* [Bug bootstrap/115453] [15 regression] Noise from new dlopen, pthread configure checks since r15-1177-g75299e4fe50aa8
  2024-06-12  2:58 [Bug other/115453] New: [15 regression] Noise from ne wdlopen, pthread configure checks sjames at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2024-06-12  3:03 ` sjames at gcc dot gnu.org
@ 2024-06-12  3:04 ` pinskia at gcc dot gnu.org
  2024-06-12  3:07 ` pinskia at gcc dot gnu.org
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-06-12  3:04 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115453

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Sam James from comment #3)
> Also, a typo: it has ac_cv_search_pthread_crate (not create).

Someone had rust crate on their mind when they did the patch :).

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

* [Bug bootstrap/115453] [15 regression] Noise from new dlopen, pthread configure checks since r15-1177-g75299e4fe50aa8
  2024-06-12  2:58 [Bug other/115453] New: [15 regression] Noise from ne wdlopen, pthread configure checks sjames at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2024-06-12  3:04 ` pinskia at gcc dot gnu.org
@ 2024-06-12  3:07 ` pinskia at gcc dot gnu.org
  2024-06-12  8:38 ` cohenarthur at gcc dot gnu.org
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-06-12  3:07 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115453

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Also it is not just old glibc but most non-"modern" libc out there (e.g.
Solaris I think). So maybe don't reference glibc in the comments in
configure.ac either. Just say some libc.

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

* [Bug bootstrap/115453] [15 regression] Noise from new dlopen, pthread configure checks since r15-1177-g75299e4fe50aa8
  2024-06-12  2:58 [Bug other/115453] New: [15 regression] Noise from ne wdlopen, pthread configure checks sjames at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2024-06-12  3:07 ` pinskia at gcc dot gnu.org
@ 2024-06-12  8:38 ` cohenarthur at gcc dot gnu.org
  2024-06-12  8:40 ` cohenarthur at gcc dot gnu.org
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: cohenarthur at gcc dot gnu.org @ 2024-06-12  8:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115453

--- Comment #6 from Arthur Cohen <cohenarthur at gcc dot gnu.org> ---
Sigh... sorry everyone. Clearly autotools/shell scripting requires skills that
I'm not even close to possessing.

(In reply to Andrew Pinski from comment #4)
> (In reply to Sam James from comment #3)
> > Also, a typo: it has ac_cv_search_pthread_crate (not create).
> 
> Someone had rust crate on their mind when they did the patch :).

Yes haha. Thanks for the heads-up Sam, good catch :)

(In reply to Andrew Pinski from comment #5)
> Also it is not just old glibc but most non-"modern" libc out there (e.g.
> Solaris I think). So maybe don't reference glibc in the comments in
> configure.ac either. Just say some libc.

Thanks! Did not know that!

The patch I'm proposing should hopefully fix things and contains an update to
the comment to not mention glibc specifically.

(In reply to Andrew Pinski from comment #2)
> Note when this gets fixed, Make sure that this gets synced over toto
> gdb-binutils repo too since toplevel configure is shared.

Do you mean that I should send this patch there as well?

Here is the patch to configure.ac. I'll obviously regenerate configure as well
when sending it.

From 2fffac310b4a9cb7ba44d87983e8687fada2753b Mon Sep 17 00:00:00 2001
From: Arthur Cohen <arthur.cohen@embecosm.com>
Date: Wed, 12 Jun 2024 12:37:28 +0200
Subject: [PATCH] configure.ac: Initial patch

---
 configure.ac | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index adb738ac346..0befcc01cd6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2036,7 +2036,7 @@ fi

 AC_SUBST(PICFLAG)

-# Rust requires -ldl and -lpthread if you are using an old glibc that does not
include them by
+# Rust requires -ldl and -lpthread if you are using a libc which does not
include them by
 # default, so we check for them here

 missing_rust_dynlibs=none
@@ -2044,15 +2044,15 @@ missing_rust_dynlibs=none
 AC_SEARCH_LIBS([dlopen], [dl])
 AC_SEARCH_LIBS([pthread_create], [pthread])

-if test $ac_cv_search_dlopen = -ldl; then
+if test "$ac_cv_search_dlopen" = -ldl; then
     CRAB1_LIBS="$CRAB1_LIBS -ldl"
-elif test $ac_cv_search_dlopen = no; then
+elif test "$ac_cv_search_dlopen" = no; then
     missing_rust_dynlibs="libdl"
 fi

-if test $ac_cv_search_pthread_create = -lpthread; then
+if test "$ac_cv_search_pthread_create" = -lpthread; then
     CRAB1_LIBS="$CRAB1_LIBS -lpthread"
-elif test $ac_cv_search_pthread_crate = no; then
+elif test "$ac_cv_search_pthread_create" = no; then
     missing_rust_dynlibs="$missing_rust_dynlibs, libpthread"
 fi

-- 
2.42.0

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

* [Bug bootstrap/115453] [15 regression] Noise from new dlopen, pthread configure checks since r15-1177-g75299e4fe50aa8
  2024-06-12  2:58 [Bug other/115453] New: [15 regression] Noise from ne wdlopen, pthread configure checks sjames at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2024-06-12  8:38 ` cohenarthur at gcc dot gnu.org
@ 2024-06-12  8:40 ` cohenarthur at gcc dot gnu.org
  2024-06-13 15:45 ` pinskia at gcc dot gnu.org
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: cohenarthur at gcc dot gnu.org @ 2024-06-12  8:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115453

--- Comment #7 from Arthur Cohen <cohenarthur at gcc dot gnu.org> ---
Created attachment 58411
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58411&action=edit
Proposed patch for fixing quoting in Rust's dlopen/pthread_create configure
checks

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

* [Bug bootstrap/115453] [15 regression] Noise from new dlopen, pthread configure checks since r15-1177-g75299e4fe50aa8
  2024-06-12  2:58 [Bug other/115453] New: [15 regression] Noise from ne wdlopen, pthread configure checks sjames at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2024-06-12  8:40 ` cohenarthur at gcc dot gnu.org
@ 2024-06-13 15:45 ` pinskia at gcc dot gnu.org
  2024-06-13 15:46 ` cohenarthur at gcc dot gnu.org
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-06-13 15:45 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115453

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build
          Component|rust                        |bootstrap

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Toplevel makefile is consider bootstrap component rather than rust ...

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

* [Bug bootstrap/115453] [15 regression] Noise from new dlopen, pthread configure checks since r15-1177-g75299e4fe50aa8
  2024-06-12  2:58 [Bug other/115453] New: [15 regression] Noise from ne wdlopen, pthread configure checks sjames at gcc dot gnu.org
                   ` (8 preceding siblings ...)
  2024-06-13 15:45 ` pinskia at gcc dot gnu.org
@ 2024-06-13 15:46 ` cohenarthur at gcc dot gnu.org
  2024-06-13 16:02 ` pinskia at gcc dot gnu.org
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: cohenarthur at gcc dot gnu.org @ 2024-06-13 15:46 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115453

--- Comment #9 from Arthur Cohen <cohenarthur at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #8)
> Toplevel makefile is consider bootstrap component rather than rust ...

Ah, sorry Andrew, I thought the component was referring to the origin of the
issue. Just wanted to be able to find it in the list of Rust-related issues.
Sorry!

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

* [Bug bootstrap/115453] [15 regression] Noise from new dlopen, pthread configure checks since r15-1177-g75299e4fe50aa8
  2024-06-12  2:58 [Bug other/115453] New: [15 regression] Noise from ne wdlopen, pthread configure checks sjames at gcc dot gnu.org
                   ` (9 preceding siblings ...)
  2024-06-13 15:46 ` cohenarthur at gcc dot gnu.org
@ 2024-06-13 16:02 ` pinskia at gcc dot gnu.org
  2024-06-19 13:10 ` sjames at gcc dot gnu.org
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-06-13 16:02 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115453

--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Arthur Cohen from comment #9)
> Ah, sorry Andrew, I thought the component was referring to the origin of the
> issue. Just wanted to be able to find it in the list of Rust-related issues.
> Sorry!

One way to do this is to use `personal tags` though they only show up for your
account and not another account. This might be one of the few cases where rust
related issues are not in the rust components.

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

* [Bug bootstrap/115453] [15 regression] Noise from new dlopen, pthread configure checks since r15-1177-g75299e4fe50aa8
  2024-06-12  2:58 [Bug other/115453] New: [15 regression] Noise from ne wdlopen, pthread configure checks sjames at gcc dot gnu.org
                   ` (10 preceding siblings ...)
  2024-06-13 16:02 ` pinskia at gcc dot gnu.org
@ 2024-06-19 13:10 ` sjames at gcc dot gnu.org
  2024-06-19 14:33 ` cvs-commit at gcc dot gnu.org
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-06-19 13:10 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115453

Sam James <sjames at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |collin.funk1 at gmail dot com

--- Comment #11 from Sam James <sjames at gcc dot gnu.org> ---
commit r15-1436-gc6a9ab8c920f29
Author: Collin Funk <collin.funk1@gmail.com>
Date:   Thu Jun 13 17:53:55 2024 -0700

    build: Fix missing variable quotes

    When dlopen and pthread_create are in libc the variable is
    set to "none required", therefore running configure will show
    the following errors:

    ./configure: line 8997: test: too many arguments
    ./configure: line 8999: test: too many arguments
    ./configure: line 9003: test: too many arguments
    ./configure: line 9005: test: =: unary operator expected

    gcc/configure also has a similar problem on
    gcc_cv_as_mips_explicit_relocs:

    ./gcc/configure: line 30242: test: =: unary operator expected

    ChangeLog:

            * configure.ac: Quote variable result of AC_SEARCH_LIBS.
            * configure: Regenerate.

    gcc/ChangeLog:

            * configure.ac: Add missing quotation of variable
            gcc_cv_as_mips_explicit_relocs.
            * configure: Regenerate.

    Signed-off-by: Collin Funk <collin.funk1@gmail.com>

But the crate vs create needs fixing still.

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

* [Bug bootstrap/115453] [15 regression] Noise from new dlopen, pthread configure checks since r15-1177-g75299e4fe50aa8
  2024-06-12  2:58 [Bug other/115453] New: [15 regression] Noise from ne wdlopen, pthread configure checks sjames at gcc dot gnu.org
                   ` (11 preceding siblings ...)
  2024-06-19 13:10 ` sjames at gcc dot gnu.org
@ 2024-06-19 14:33 ` cvs-commit at gcc dot gnu.org
  2024-06-19 14:34 ` syq at gcc dot gnu.org
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-06-19 14:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115453

--- Comment #12 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by YunQiang Su <syq@gcc.gnu.org>:

https://gcc.gnu.org/g:8088374a868aacab4dff208ec3e3fde790a1d9a3

commit r15-1446-g8088374a868aacab4dff208ec3e3fde790a1d9a3
Author: YunQiang Su <syq@gcc.gnu.org>
Date:   Wed Jun 19 22:30:22 2024 +0800

    Build: Fix typo ac_cv_search_pthread_crate

    The correct variable name is
      ac_cv_search_pthread_create

    ChangeLog:
            PR bootstrap/115453
            * configure.ac: Fix typo ac_cv_search_pthread_crate.
            * configure: Regnerate.

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

* [Bug bootstrap/115453] [15 regression] Noise from new dlopen, pthread configure checks since r15-1177-g75299e4fe50aa8
  2024-06-12  2:58 [Bug other/115453] New: [15 regression] Noise from ne wdlopen, pthread configure checks sjames at gcc dot gnu.org
                   ` (12 preceding siblings ...)
  2024-06-19 14:33 ` cvs-commit at gcc dot gnu.org
@ 2024-06-19 14:34 ` syq at gcc dot gnu.org
  2024-06-19 20:29 ` collin.funk1 at gmail dot com
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: syq at gcc dot gnu.org @ 2024-06-19 14:34 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115453

YunQiang Su <syq at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #13 from YunQiang Su <syq at gcc dot gnu.org> ---
It has been fixed.

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

* [Bug bootstrap/115453] [15 regression] Noise from new dlopen, pthread configure checks since r15-1177-g75299e4fe50aa8
  2024-06-12  2:58 [Bug other/115453] New: [15 regression] Noise from ne wdlopen, pthread configure checks sjames at gcc dot gnu.org
                   ` (13 preceding siblings ...)
  2024-06-19 14:34 ` syq at gcc dot gnu.org
@ 2024-06-19 20:29 ` collin.funk1 at gmail dot com
  2024-06-19 22:34 ` mark at gcc dot gnu.org
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: collin.funk1 at gmail dot com @ 2024-06-19 20:29 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115453

--- Comment #14 from Collin Funk <collin.funk1 at gmail dot com> ---
(In reply to Sam James from comment #11)
> But the crate vs create needs fixing still.

Oops. Sorry, I thought a correct patch here was being used not mine. If I had
known I would have submitted a fixed patch.

(In reply to YunQiang Su from comment #13)
> It has been fixed.

Thanks!

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

* [Bug bootstrap/115453] [15 regression] Noise from new dlopen, pthread configure checks since r15-1177-g75299e4fe50aa8
  2024-06-12  2:58 [Bug other/115453] New: [15 regression] Noise from ne wdlopen, pthread configure checks sjames at gcc dot gnu.org
                   ` (14 preceding siblings ...)
  2024-06-19 20:29 ` collin.funk1 at gmail dot com
@ 2024-06-19 22:34 ` mark at gcc dot gnu.org
  2024-06-19 22:47 ` collin.funk1 at gmail dot com
  2024-06-20  2:59 ` cvs-commit at gcc dot gnu.org
  17 siblings, 0 replies; 19+ messages in thread
From: mark at gcc dot gnu.org @ 2024-06-19 22:34 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115453

Mark Wielaard <mark at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at gcc dot gnu.org

--- Comment #15 from Mark Wielaard <mark at gcc dot gnu.org> ---
Something seems to have gone slightly wrong when regenerating the configure
files.
The gcc-autoregen bot is unhappy:
https://builder.sourceware.org/buildbot/#/builders/gcc-autoregen

https://builder.sourceware.org/buildbot/#/builders/269/builds/5952

Sourceware

    Buildersgcc-autoregen5952git diffstdio

        Anonymous

git diff --exit-code
 in dir /home/builder/shared/bb2-2/worker/gcc-autoregen/build (timeout 1200
secs)
 watching logfiles {}
 argv: [b'git', b'diff', b'--exit-code']
 environment:
  BUILDMASTER=builder.sourceware.org
  BUILDMASTER_PORT=9989
  CCACHE_DIR=/home/builder/shared/autotools/ccache
  CCACHE_LIBDIR=/usr/lib/ccache
  HOME=/home/builder
  HOSTNAME=cf526139a6b4
  IMAGE_NAME=autotools
  LC_CTYPE=C.UTF-8
 
PATH=/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  PWD=/home/builder/shared/bb2-2/worker/gcc-autoregen/build
  WORKERNAME=bb2-2
 using PTY: False
diff --git a/configure b/configure
index 6e95b27d9df..03dad4d362d 100755
--- a/configure
+++ b/configure
@@ -19746,7 +19746,7 @@ config.status
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"

-Copyright (C)  Free Software Foundation, Inc.
+Copyright (C) 2012 Free Software Foundation, Inc.
 This config.status script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it."

diff --git a/gcc/configure b/gcc/configure
index b536af664d3..a8fc4bb34aa 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -30239,7 +30239,7 @@ else
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
$gcc_cv_as_mips_explicit_relocs_pcrel" >&5
 $as_echo "$gcc_cv_as_mips_explicit_relocs_pcrel" >&6; }
-if test "x$gcc_cv_as_mips_explicit_relocs_pcrel" = "xyes"; then
+if test $gcc_cv_as_mips_explicit_relocs_pcrel = yes; then

 $as_echo "#define MIPS_EXPLICIT_RELOCS MIPS_EXPLICIT_RELOCS_PCREL"
>>confdefs.h

@@ -30498,7 +30498,7 @@ fi
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler and linker for
explicit JALR relocation" >&5
 $as_echo_n "checking assembler and linker for explicit JALR relocation... "
>&6; }
     gcc_cv_as_ld_jalr_reloc=no
-    if test $gcc_cv_as_mips_explicit_relocs = yes; then
+    if test "x$gcc_cv_as_mips_explicit_relocs" = "xyes"; then
       if test $in_tree_ld = yes ; then
         if test "$gcc_cv_gld_major_version" -eq 2 -a
"$gcc_cv_gld_minor_version" -ge 20 -o "$gcc_cv_gld_major_version" -gt 2 \
            && test $in_tree_ld_is_elf = yes; then
program finished with exit code 1
elapsedTime=0.410978

I am not sure what exactly could have caused this difference.

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

* [Bug bootstrap/115453] [15 regression] Noise from new dlopen, pthread configure checks since r15-1177-g75299e4fe50aa8
  2024-06-12  2:58 [Bug other/115453] New: [15 regression] Noise from ne wdlopen, pthread configure checks sjames at gcc dot gnu.org
                   ` (15 preceding siblings ...)
  2024-06-19 22:34 ` mark at gcc dot gnu.org
@ 2024-06-19 22:47 ` collin.funk1 at gmail dot com
  2024-06-20  2:59 ` cvs-commit at gcc dot gnu.org
  17 siblings, 0 replies; 19+ messages in thread
From: collin.funk1 at gmail dot com @ 2024-06-19 22:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115453

--- Comment #16 from Collin Funk <collin.funk1 at gmail dot com> ---
(In reply to Mark Wielaard from comment #15)
> -Copyright (C)  Free Software Foundation, Inc.
> +Copyright (C) 2012 Free Software Foundation, Inc.

I thought I used the correct Autoconf version, but I guess not. I think this
should go away if you regenerate with Autoconf 2.69 (released in 2012).

> -if test "x$gcc_cv_as_mips_explicit_relocs_pcrel" = "xyes"; then
> +if test $gcc_cv_as_mips_explicit_relocs_pcrel = yes; then

I think my commit was amended to include this. Therefore the configure script
must be generated again.

Sorry for the confusion.

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

* [Bug bootstrap/115453] [15 regression] Noise from new dlopen, pthread configure checks since r15-1177-g75299e4fe50aa8
  2024-06-12  2:58 [Bug other/115453] New: [15 regression] Noise from ne wdlopen, pthread configure checks sjames at gcc dot gnu.org
                   ` (16 preceding siblings ...)
  2024-06-19 22:47 ` collin.funk1 at gmail dot com
@ 2024-06-20  2:59 ` cvs-commit at gcc dot gnu.org
  17 siblings, 0 replies; 19+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-06-20  2:59 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115453

--- Comment #17 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by YunQiang Su <syq@gcc.gnu.org>:

https://gcc.gnu.org/g:bea447a2982f3094aa3423b5045cea929f4f4700

commit r15-1466-gbea447a2982f3094aa3423b5045cea929f4f4700
Author: Collin Funk <collin.funk1@gmail.com>
Date:   Wed Jun 19 16:36:50 2024 -0700

    build: Fix missing variable quotes and typo

    When dlopen and pthread_create are in libc the variable is
    set to "none required", therefore running configure will show
    the following errors:

    ./configure: line 8997: test: too many arguments
    ./configure: line 8999: test: too many arguments
    ./configure: line 9003: test: too many arguments
    ./configure: line 9005: test: =: unary operator expected

    ChangeLog:

            PR bootstrap/115453
            * configure.ac: Quote variable result of AC_SEARCH_LIBS.  Fix
            typo ac_cv_search_pthread_crate.
            * configure: Regenerate.

    Signed-off-by: Collin Funk <collin.funk1@gmail.com>

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

end of thread, other threads:[~2024-06-20  2:59 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-12  2:58 [Bug other/115453] New: [15 regression] Noise from ne wdlopen, pthread configure checks sjames at gcc dot gnu.org
2024-06-12  2:58 ` [Bug other/115453] [15 regression] Noise from new dlopen, " sjames at gcc dot gnu.org
2024-06-12  3:01 ` [Bug bootstrap/115453] [15 regression] Noise from new dlopen, pthread configure checks since r15-1177-g75299e4fe50aa8 pinskia at gcc dot gnu.org
2024-06-12  3:02 ` pinskia at gcc dot gnu.org
2024-06-12  3:03 ` sjames at gcc dot gnu.org
2024-06-12  3:04 ` pinskia at gcc dot gnu.org
2024-06-12  3:07 ` pinskia at gcc dot gnu.org
2024-06-12  8:38 ` cohenarthur at gcc dot gnu.org
2024-06-12  8:40 ` cohenarthur at gcc dot gnu.org
2024-06-13 15:45 ` pinskia at gcc dot gnu.org
2024-06-13 15:46 ` cohenarthur at gcc dot gnu.org
2024-06-13 16:02 ` pinskia at gcc dot gnu.org
2024-06-19 13:10 ` sjames at gcc dot gnu.org
2024-06-19 14:33 ` cvs-commit at gcc dot gnu.org
2024-06-19 14:34 ` syq at gcc dot gnu.org
2024-06-19 20:29 ` collin.funk1 at gmail dot com
2024-06-19 22:34 ` mark at gcc dot gnu.org
2024-06-19 22:47 ` collin.funk1 at gmail dot com
2024-06-20  2:59 ` cvs-commit at gcc dot gnu.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).