[PATCH] D19271: Change CALL_ONCE_INITIALIZATION implementation to use static initialization

Kamil Rytarowski via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 2 12:01:10 PDT 2016


krytarowski added a comment.

In http://reviews.llvm.org/D19271#447193, @mehdi_amini wrote:

> Kamil: what's up on the NetBSD side by the way? If there is no plan to fix the combination of NetBSD + stdlibc++, we'll have to drop support for it at some point.


It's a bug that affects only libstdc++ in dynamic linking, static works. Also `std::call_once` libc++ works.

Dropping a platform for little reason isn't reasonable. Maybe we can prepare a CMake test detecting if it works, if so than enable it. After that libstc++ on NetBSD won't be holding back others.


http://reviews.llvm.org/D19271





More information about the llvm-commits mailing list