public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug d/102574] New: d: gdc driver ignores -static-libstdc++ when automatically linking libstdc++ library
@ 2021-10-03 13:37 ibuclaw at gdcproject dot org
  2021-10-04 15:59 ` [Bug d/102574] " cvs-commit at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: ibuclaw at gdcproject dot org @ 2021-10-03 13:37 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102574
           Summary: d: gdc driver ignores -static-libstdc++ when
                    automatically linking libstdc++ library
           Product: gcc
           Version: 9.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: ibuclaw at gdcproject dot org
  Target Milestone: ---

This is an oversight when testing the self-hosted implementation of the D
compiler.  It works fine when the host compiler is new enough, but for older,
the resultant "d21" compiler fails to run due to missing libstdc++ symbols.

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

* [Bug d/102574] d: gdc driver ignores -static-libstdc++ when automatically linking libstdc++ library
  2021-10-03 13:37 [Bug d/102574] New: d: gdc driver ignores -static-libstdc++ when automatically linking libstdc++ library ibuclaw at gdcproject dot org
@ 2021-10-04 15:59 ` cvs-commit at gcc dot gnu.org
  2021-10-04 17:08 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-10-04 15:59 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Iain Buclaw <ibuclaw@gcc.gnu.org>:

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

commit r12-4146-gc86a16b07b76604a8e3d556f135babab80e2b747
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Sun Oct 3 16:02:24 2021 +0200

    d: gdc driver ignores -static-libstdc++ when automatically linking
libstdc++ library

    Adds handling of `-static-libstc++' in the gdc driver, so that libstdc++
    is appropriately linked if libstdc++ is either needed or seen on the
    command-line.

            PR d/102574

    gcc/d/ChangeLog:

            * d-spec.cc (lang_specific_driver): Link libstdc++ statically if
            -static-libstdc++ was given on command-line.

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

* [Bug d/102574] d: gdc driver ignores -static-libstdc++ when automatically linking libstdc++ library
  2021-10-03 13:37 [Bug d/102574] New: d: gdc driver ignores -static-libstdc++ when automatically linking libstdc++ library ibuclaw at gdcproject dot org
  2021-10-04 15:59 ` [Bug d/102574] " cvs-commit at gcc dot gnu.org
@ 2021-10-04 17:08 ` cvs-commit at gcc dot gnu.org
  2021-10-04 17:08 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-10-04 17:08 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Iain Buclaw
<ibuclaw@gcc.gnu.org>:

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

commit r11-9068-gdd6098467ff83351948435efc826e1c4b4b27f99
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Sun Oct 3 16:02:24 2021 +0200

    d: gdc driver ignores -static-libstdc++ when automatically linking
libstdc++ library

    Adds handling of `-static-libstc++' in the gdc driver, so that libstdc++
    is appropriately linked if libstdc++ is either needed or seen on the
    command-line.

            PR d/102574

    gcc/d/ChangeLog:

            * d-spec.cc (lang_specific_driver): Link libstdc++ statically if
            -static-libstdc++ was given on command-line.

    (cherry picked from commit c86a16b07b76604a8e3d556f135babab80e2b747)

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

* [Bug d/102574] d: gdc driver ignores -static-libstdc++ when automatically linking libstdc++ library
  2021-10-03 13:37 [Bug d/102574] New: d: gdc driver ignores -static-libstdc++ when automatically linking libstdc++ library ibuclaw at gdcproject dot org
  2021-10-04 15:59 ` [Bug d/102574] " cvs-commit at gcc dot gnu.org
  2021-10-04 17:08 ` cvs-commit at gcc dot gnu.org
@ 2021-10-04 17:08 ` cvs-commit at gcc dot gnu.org
  2021-10-04 17:08 ` cvs-commit at gcc dot gnu.org
  2021-10-04 17:10 ` ibuclaw at gdcproject dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-10-04 17:08 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Iain Buclaw
<ibuclaw@gcc.gnu.org>:

https://gcc.gnu.org/g:41e21afc427ffe4a320616d4a454144b1e93a670

commit r10-10167-g41e21afc427ffe4a320616d4a454144b1e93a670
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Sun Oct 3 16:02:24 2021 +0200

    d: gdc driver ignores -static-libstdc++ when automatically linking
libstdc++ library

    Adds handling of `-static-libstc++' in the gdc driver, so that libstdc++
    is appropriately linked if libstdc++ is either needed or seen on the
    command-line.

            PR d/102574

    gcc/d/ChangeLog:

            * d-spec.cc (lang_specific_driver): Link libstdc++ statically if
            -static-libstdc++ was given on command-line.

    (cherry picked from commit c86a16b07b76604a8e3d556f135babab80e2b747)

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

* [Bug d/102574] d: gdc driver ignores -static-libstdc++ when automatically linking libstdc++ library
  2021-10-03 13:37 [Bug d/102574] New: d: gdc driver ignores -static-libstdc++ when automatically linking libstdc++ library ibuclaw at gdcproject dot org
                   ` (2 preceding siblings ...)
  2021-10-04 17:08 ` cvs-commit at gcc dot gnu.org
@ 2021-10-04 17:08 ` cvs-commit at gcc dot gnu.org
  2021-10-04 17:10 ` ibuclaw at gdcproject dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-10-04 17:08 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Iain Buclaw
<ibuclaw@gcc.gnu.org>:

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

commit r9-9756-ga5b9ac0301c850a02d045b5630aa08b4ceab20c1
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Sun Oct 3 16:02:24 2021 +0200

    d: gdc driver ignores -static-libstdc++ when automatically linking
libstdc++ library

    Adds handling of `-static-libstc++' in the gdc driver, so that libstdc++
    is appropriately linked if libstdc++ is either needed or seen on the
    command-line.

            PR d/102574

    gcc/d/ChangeLog:

            * d-spec.cc (lang_specific_driver): Link libstdc++ statically if
            -static-libstdc++ was given on command-line.

    (cherry picked from commit c86a16b07b76604a8e3d556f135babab80e2b747)

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

* [Bug d/102574] d: gdc driver ignores -static-libstdc++ when automatically linking libstdc++ library
  2021-10-03 13:37 [Bug d/102574] New: d: gdc driver ignores -static-libstdc++ when automatically linking libstdc++ library ibuclaw at gdcproject dot org
                   ` (3 preceding siblings ...)
  2021-10-04 17:08 ` cvs-commit at gcc dot gnu.org
@ 2021-10-04 17:10 ` ibuclaw at gdcproject dot org
  4 siblings, 0 replies; 6+ messages in thread
From: ibuclaw at gdcproject dot org @ 2021-10-04 17:10 UTC (permalink / raw)
  To: gcc-bugs

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

Iain Buclaw <ibuclaw at gdcproject dot org> changed:

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

--- Comment #5 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
Fix committed.

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

end of thread, other threads:[~2021-10-04 17:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-03 13:37 [Bug d/102574] New: d: gdc driver ignores -static-libstdc++ when automatically linking libstdc++ library ibuclaw at gdcproject dot org
2021-10-04 15:59 ` [Bug d/102574] " cvs-commit at gcc dot gnu.org
2021-10-04 17:08 ` cvs-commit at gcc dot gnu.org
2021-10-04 17:08 ` cvs-commit at gcc dot gnu.org
2021-10-04 17:08 ` cvs-commit at gcc dot gnu.org
2021-10-04 17:10 ` 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).