public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/98528] New: g++.dg/modules/hello-1 FAILs
@ 2021-01-05 12:39 ro at gcc dot gnu.org
  2021-01-05 12:39 ` [Bug c++/98528] " ro at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: ro at gcc dot gnu.org @ 2021-01-05 12:39 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98528
           Summary: g++.dg/modules/hello-1 FAILs
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: nathan at gcc dot gnu.org
  Target Milestone: ---
            Target: i386-pc-solaris2.11, sparc-sun-solaris2.11,
                    i586-unknown-freebsd11.4, x86_64-unknown-freebsd11.4

The new g++.dg/modules/hello-1 test FAILs on Solaris and FreeBSD:

+UNRESOLVED: g++.dg/modules/hello-1 execute
+UNRESOLVED: g++.dg/modules/hello-1 execute
+FAIL: g++.dg/modules/hello-1 link
+FAIL: g++.dg/modules/hello-1 link

Undefined                       first referenced
 symbol                             in file
_ZL16__gthread_active               /var/tmp//ccAd8Hnb.o
ld: fatal: symbol referencing errors

This should be extern "C" __gthread_active instead, there's no mangled version
in libgcc.

Besides, the UNRESOLVED and FAIL lines are identical for both the -std=c++17
and
c++2a.  However, different tests are supposed to have different test names.

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

* [Bug c++/98528] g++.dg/modules/hello-1 FAILs
  2021-01-05 12:39 [Bug c++/98528] New: g++.dg/modules/hello-1 FAILs ro at gcc dot gnu.org
@ 2021-01-05 12:39 ` ro at gcc dot gnu.org
  2021-01-05 13:42 ` nathan at gcc dot gnu.org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ro at gcc dot gnu.org @ 2021-01-05 12:39 UTC (permalink / raw)
  To: gcc-bugs

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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0

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

* [Bug c++/98528] g++.dg/modules/hello-1 FAILs
  2021-01-05 12:39 [Bug c++/98528] New: g++.dg/modules/hello-1 FAILs ro at gcc dot gnu.org
  2021-01-05 12:39 ` [Bug c++/98528] " ro at gcc dot gnu.org
@ 2021-01-05 13:42 ` nathan at gcc dot gnu.org
  2021-01-05 13:46 ` ro at gcc dot gnu.org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: nathan at gcc dot gnu.org @ 2021-01-05 13:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Could you provide the -save-temps .ii files please?  I suspect something
different in the solaris system headers.

it seems to be losing the c++17/2a distinguisher in the test name ...

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

* [Bug c++/98528] g++.dg/modules/hello-1 FAILs
  2021-01-05 12:39 [Bug c++/98528] New: g++.dg/modules/hello-1 FAILs ro at gcc dot gnu.org
  2021-01-05 12:39 ` [Bug c++/98528] " ro at gcc dot gnu.org
  2021-01-05 13:42 ` nathan at gcc dot gnu.org
@ 2021-01-05 13:46 ` ro at gcc dot gnu.org
  2021-01-05 13:47 ` ro at gcc dot gnu.org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ro at gcc dot gnu.org @ 2021-01-05 13:46 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Rainer Orth <ro at gcc dot gnu.org> ---
Created attachment 49888
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49888&action=edit
i386-pc-solaris2.11 32-bit hello-1_[ab].ii

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

* [Bug c++/98528] g++.dg/modules/hello-1 FAILs
  2021-01-05 12:39 [Bug c++/98528] New: g++.dg/modules/hello-1 FAILs ro at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2021-01-05 13:46 ` ro at gcc dot gnu.org
@ 2021-01-05 13:47 ` ro at gcc dot gnu.org
  2021-02-26 12:26 ` [Bug c++/98528] [11 Regression] " rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ro at gcc dot gnu.org @ 2021-01-05 13:47 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Rainer Orth <ro at gcc dot gnu.org> ---
(In reply to Nathan Sidwell from comment #1)
> Could you provide the -save-temps .ii files please?  I suspect something
> different in the solaris system headers.

Sure, attached.

> it seems to be losing the c++17/2a distinguisher in the test name ...

I believe I've seen the same on other failing modules tests on gcc-testresults
as well.

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

* [Bug c++/98528] [11 Regression] g++.dg/modules/hello-1 FAILs
  2021-01-05 12:39 [Bug c++/98528] New: g++.dg/modules/hello-1 FAILs ro at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2021-01-05 13:47 ` ro at gcc dot gnu.org
@ 2021-02-26 12:26 ` rguenth at gcc dot gnu.org
  2021-02-26 12:53 ` [Bug c++/98528] [modules] " nathan at gcc dot gnu.org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-02-26 12:26 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Any update?

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

* [Bug c++/98528] [modules] g++.dg/modules/hello-1 FAILs
  2021-01-05 12:39 [Bug c++/98528] New: g++.dg/modules/hello-1 FAILs ro at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2021-02-26 12:26 ` [Bug c++/98528] [11 Regression] " rguenth at gcc dot gnu.org
@ 2021-02-26 12:53 ` nathan at gcc dot gnu.org
  2021-03-03 12:11 ` ro at CeBiTec dot Uni-Bielefeld.DE
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: nathan at gcc dot gnu.org @ 2021-02-26 12:53 UTC (permalink / raw)
  To: gcc-bugs

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

Nathan Sidwell <nathan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
            Summary|[11 Regression]             |[modules]
                   |g++.dg/modules/hello-1      |g++.dg/modules/hello-1
                   |FAILs                       |FAILs
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2021-02-26
           Assignee|unassigned at gcc dot gnu.org      |nathan at gcc dot gnu.org

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

* [Bug c++/98528] [modules] g++.dg/modules/hello-1 FAILs
  2021-01-05 12:39 [Bug c++/98528] New: g++.dg/modules/hello-1 FAILs ro at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2021-02-26 12:53 ` [Bug c++/98528] [modules] " nathan at gcc dot gnu.org
@ 2021-03-03 12:11 ` ro at CeBiTec dot Uni-Bielefeld.DE
  2021-03-03 12:28 ` nathan at gcc dot gnu.org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2021-03-03 12:11 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
> Any update?

At least on Solaris, the failures are gone since 20210113.

However, gcc-testresults still shows similar failures for
i586-unknown-freebsd12.2 and pru-unknown-elf, though it's impossible to
tell what exactly is wrong there.

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

* [Bug c++/98528] [modules] g++.dg/modules/hello-1 FAILs
  2021-01-05 12:39 [Bug c++/98528] New: g++.dg/modules/hello-1 FAILs ro at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2021-03-03 12:11 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2021-03-03 12:28 ` nathan at gcc dot gnu.org
  2021-03-03 12:32 ` ro at CeBiTec dot Uni-Bielefeld.DE
  2021-03-03 13:36 ` nathan at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: nathan at gcc dot gnu.org @ 2021-03-03 12:28 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
do you have preprocessed source for those other failing platforms?  my guess is
they have different system headers, particularly around threading?

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

* [Bug c++/98528] [modules] g++.dg/modules/hello-1 FAILs
  2021-01-05 12:39 [Bug c++/98528] New: g++.dg/modules/hello-1 FAILs ro at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2021-03-03 12:28 ` nathan at gcc dot gnu.org
@ 2021-03-03 12:32 ` ro at CeBiTec dot Uni-Bielefeld.DE
  2021-03-03 13:36 ` nathan at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2021-03-03 12:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #6 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
> do you have preprocessed source for those other failing platforms?  my guess is
> they have different system headers, particularly around threading?

Unfortunately not: I just saw the failures on gcc-testresults.  I don't
have any idea about PRU at all; maybe Gerald is able to help with FreeBSD?

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

* [Bug c++/98528] [modules] g++.dg/modules/hello-1 FAILs
  2021-01-05 12:39 [Bug c++/98528] New: g++.dg/modules/hello-1 FAILs ro at gcc dot gnu.org
                   ` (8 preceding siblings ...)
  2021-03-03 12:32 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2021-03-03 13:36 ` nathan at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: nathan at gcc dot gnu.org @ 2021-03-03 13:36 UTC (permalink / raw)
  To: gcc-bugs

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

Nathan Sidwell <nathan at gcc dot gnu.org> changed:

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

--- Comment #8 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
ok, thanks for the explanation.  I'll close this one as what was reported has
been fixed :)

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

end of thread, other threads:[~2021-03-03 13:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-05 12:39 [Bug c++/98528] New: g++.dg/modules/hello-1 FAILs ro at gcc dot gnu.org
2021-01-05 12:39 ` [Bug c++/98528] " ro at gcc dot gnu.org
2021-01-05 13:42 ` nathan at gcc dot gnu.org
2021-01-05 13:46 ` ro at gcc dot gnu.org
2021-01-05 13:47 ` ro at gcc dot gnu.org
2021-02-26 12:26 ` [Bug c++/98528] [11 Regression] " rguenth at gcc dot gnu.org
2021-02-26 12:53 ` [Bug c++/98528] [modules] " nathan at gcc dot gnu.org
2021-03-03 12:11 ` ro at CeBiTec dot Uni-Bielefeld.DE
2021-03-03 12:28 ` nathan at gcc dot gnu.org
2021-03-03 12:32 ` ro at CeBiTec dot Uni-Bielefeld.DE
2021-03-03 13:36 ` nathan 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).