public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/108918] New: PR107701 breaks windows targets
@ 2023-02-24  5:38 unlvsur at live dot com
  0 siblings, 0 replies; only message in thread
From: unlvsur at live dot com @ 2023-02-24  5:38 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108918
           Summary: PR107701 breaks windows targets
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: unlvsur at live dot com
  Target Milestone: ---

https://github.com/gcc-mirror/gcc/commit/ec59848074ba8c4310cbadb603822bfaeff03a32

#include<iostream>

int main()
{
        std::cout<<"Hello World\n";
}

This is a simple program. As long as std::cout is used, the program crashes on
windows with DYNAMIC LINKING libstdc++. I believe it is due to the patch of GCC
here.

Although LLVM lld does not break, I do not know why gnu ld breaks. It looks
like it cannot handle the init_priority attribute properly on windows targets.


https://sourceware.org/bugzilla/show_bug.cgi?id=29973

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-24  5:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-24  5:38 [Bug libstdc++/108918] New: PR107701 breaks windows targets unlvsur at live dot com

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).