[llvm-bugs] [Bug 28954] basic streams may not be initialized early enough

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Sep 16 10:21:51 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=28954

Louis Dionne <ldionne at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
 Fixed By Commit(s)|                            |39faf428164a28f3652370958ce
                   |                            |893d9200927c8

--- Comment #8 from Louis Dionne <ldionne at apple.com> ---
Should be fixed by

commit 39faf428164a28f3652370958ce893d9200927c8
Author: Louis Dionne <ldionne at apple.com>
Date:   Thu May 14 09:56:35 2020 -0400

    [libc++] Ensure streams are initialized early

    When statically linking libc++ on some systems, the streams are not
    initialized early enough, which causes all kinds of issues. This was
    reported e.g. in http://llvm.org/PR28954, but also in various open
    source projects that use libc++.

    Fixes http://llvm.org/PR28954.

    Differential Revision: https://reviews.llvm.org/D31413


Thanks to everyone who submitted patches, explored various options, wrote
tests. I didn't do anything except gather these into a single patch and commit
it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200916/c918a64b/attachment.html>


More information about the llvm-bugs mailing list