public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug d/104737] New: [12 regression] gdc.test/runnable_cxx/cppa.d FAILs on Solaris
@ 2022-03-01 12:09 ro at gcc dot gnu.org
  2022-03-01 12:10 ` [Bug d/104737] " ro at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ro at gcc dot gnu.org @ 2022-03-01 12:09 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104737
           Summary: [12 regression] gdc.test/runnable_cxx/cppa.d FAILs on
                    Solaris
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: ro at gcc dot gnu.org
  Target Milestone: ---
            Target: *-*-solaris2.11

Since 20211130, the gdc.test/runnable_cxx/cppa.d test FAILs on Solaris:

+UNRESOLVED: gdc.test/runnable_cxx/cppa.d   compilation failed to produce
executable
+UNRESOLVED: gdc.test/runnable_cxx/cppa.d -g   compilation failed to produce
executable
+UNRESOLVED: gdc.test/runnable_cxx/cppa.d -g -shared-libphobos   compilation
failed to produce executable
+UNRESOLVED: gdc.test/runnable_cxx/cppa.d -shared-libphobos   compilation
failed to produce executable

unnable_cxx/extra-files/cppb.cpp:959:31: error: 'string' in namespace 'std'
does not name a type
runnable_cxx/extra-files/cppb.cpp:959:26: note: 'std::string' is defined in
header '<string>'; did you forget to '#include <string>'?
runnable_cxx/extra-files/cppb.cpp: In function 'void test18955()':
runnable_cxx/extra-files/cppb.cpp:963:10: error: 'string' is not a member of
'std'
runnable_cxx/extra-files/cppb.cpp:963:10: note: 'std::string' is defined in
header '<string>'; did you forget to '#include <string>'?
runnable_cxx/extra-files/cppb.cpp:966:19: error: 's' was not declared in this
scope

It seems the dmd migration/import lost the defined(__sun) (or rather
defined(__sun__) && defined(__svr4__)) in cppb.cpp to include <string> again.

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

* [Bug d/104737] [12 regression] gdc.test/runnable_cxx/cppa.d FAILs on Solaris
  2022-03-01 12:09 [Bug d/104737] New: [12 regression] gdc.test/runnable_cxx/cppa.d FAILs on Solaris ro at gcc dot gnu.org
@ 2022-03-01 12:10 ` ro at gcc dot gnu.org
  2022-03-01 18:47 ` ibuclaw at gdcproject dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: ro at gcc dot gnu.org @ 2022-03-01 12:10 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.0

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

* [Bug d/104737] [12 regression] gdc.test/runnable_cxx/cppa.d FAILs on Solaris
  2022-03-01 12:09 [Bug d/104737] New: [12 regression] gdc.test/runnable_cxx/cppa.d FAILs on Solaris ro at gcc dot gnu.org
  2022-03-01 12:10 ` [Bug d/104737] " ro at gcc dot gnu.org
@ 2022-03-01 18:47 ` ibuclaw at gdcproject dot org
  2022-03-02 17:26 ` ibuclaw at gdcproject dot org
  2022-03-02 17:26 ` ibuclaw at gdcproject dot org
  3 siblings, 0 replies; 5+ messages in thread
From: ibuclaw at gdcproject dot org @ 2022-03-01 18:47 UTC (permalink / raw)
  To: gcc-bugs

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

Iain Buclaw <ibuclaw at gdcproject dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=22833

--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
This is a regression introduced in upstream.  They added a new test, but didn't
check that `string` is included for all possible platforms.

There is something not right with the #ifdef logic in the test anyway, so that
will have to be sorted out.

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

* [Bug d/104737] [12 regression] gdc.test/runnable_cxx/cppa.d FAILs on Solaris
  2022-03-01 12:09 [Bug d/104737] New: [12 regression] gdc.test/runnable_cxx/cppa.d FAILs on Solaris ro at gcc dot gnu.org
  2022-03-01 12:10 ` [Bug d/104737] " ro at gcc dot gnu.org
  2022-03-01 18:47 ` ibuclaw at gdcproject dot org
@ 2022-03-02 17:26 ` ibuclaw at gdcproject dot org
  2022-03-02 17:26 ` ibuclaw at gdcproject dot org
  3 siblings, 0 replies; 5+ messages in thread
From: ibuclaw at gdcproject dot org @ 2022-03-02 17:26 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
Fixed test was downstreamed in r12-7454.

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

* [Bug d/104737] [12 regression] gdc.test/runnable_cxx/cppa.d FAILs on Solaris
  2022-03-01 12:09 [Bug d/104737] New: [12 regression] gdc.test/runnable_cxx/cppa.d FAILs on Solaris ro at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2022-03-02 17:26 ` ibuclaw at gdcproject dot org
@ 2022-03-02 17:26 ` ibuclaw at gdcproject dot org
  3 siblings, 0 replies; 5+ messages in thread
From: ibuclaw at gdcproject dot org @ 2022-03-02 17:26 UTC (permalink / raw)
  To: gcc-bugs

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

Iain Buclaw <ibuclaw at gdcproject dot org> changed:

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

--- Comment #3 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
.

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

end of thread, other threads:[~2022-03-02 17:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-01 12:09 [Bug d/104737] New: [12 regression] gdc.test/runnable_cxx/cppa.d FAILs on Solaris ro at gcc dot gnu.org
2022-03-01 12:10 ` [Bug d/104737] " ro at gcc dot gnu.org
2022-03-01 18:47 ` ibuclaw at gdcproject dot org
2022-03-02 17:26 ` ibuclaw at gdcproject dot org
2022-03-02 17:26 ` ibuclaw at gdcproject dot 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).