[LLVMdev] [cfe-dev] Cygwin bootstrap is incompatible with <mutex> (and most other threading C++11 libraries)

Chandler Carruth chandlerc at gmail.com
Wed Jun 25 07:10:17 PDT 2014


On Wed, Jun 25, 2014 at 4:01 PM, NAKAMURA Takumi <geek4civic at gmail.com>
wrote:

> I reverted <mutex>, since also clang-native-mingw32-win7 had been broken.
> There were two ways of issues, in mingw32 (not w64) and cygwin.
>
> For mingw32, it seems <mutex> is configured without __thread. Some
> features, like "once", are unavailable.
> When we reintroduce <mutex> in the tree, we should make mingw32
> builder obsoleted or migrated to mingw-w64.
>
> For Cygwin, I can suggest an option,
>
> 3a) Implement __thread in near future. Till then,
>
>   3a-1) Give up bootstrapping. Cygwin-g++-4.8 can build the tree, though.
>   3a-2) Apply local patch in the builder to suppress unsupported
> features like <mutex>.
>
> Conclusion: Go ahead!
> I supposed, when I reverted <mutex>, it were trivial. I won't disturb
> any more if we are going toward c++11.
>

Ok. Unless someone pipes up, I'm going to say we go with mingw-w64 and 3a-1
(no bootstrapping on cygwin) until someone shows up to do 3a.

Galina, Takumi, let me know when your builders are OK for this change. No
hurry here, I want to give folks time to request a different path as well,
but I'd rather make the changes only after the builders are good to make
sure there aren't other problems waiting.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140625/4230a33d/attachment.html>


More information about the llvm-dev mailing list