https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110854
--- Comment #3 from Jiang An <de34 at live dot cn> --- (In reply to Jiang An from comment #2) > The constructor of the internal __platform_semaphore class currently calls > sem_init, which make it incompatible with constexpr... It seems doable to make the ctor constexpr, but we need to use different strategies for different C libs.