https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100164
--- Comment #14 from David Edelsohn <dje at gcc dot gnu.org> --- Thanks for the patch. This now removes the failure that semaphore_impl is not found. Because the platform semaphore code never was exercised due to the bug in the macro, there are more latent bugs. /tmp/GCC/powerpc-ibm-aix7.2.3.0/libstdc++-v3/include/semaphore:74: error: 'using __semaphore_impl = struct std::__platform_semaphore' has no member named '_M_tr y_acquire'; did you mean '_M_acquire'? /tmp/GCC/powerpc-ibm-aix7.2.3.0/libstdc++-v3/include/semaphore:75: error: 'using __semaphore_impl = struct std::__platform_semaphore' has no member named '_M_tr y_acquire'; did you mean '_M_acquire'?