http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50982
--- Comment #8 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-11-03 19:40:31 UTC --- > --- Comment #7 from David Edelsohn <dje at gcc dot gnu.org> 2011-11-03 > 19:28:16 UTC --- > It's better. It now finds gthr-posix.h. But now it fails with a C++ failure: Fine. I'm running Solaris and Linux/x64 bootstraps with that patch now. > In file included from /farm/dje/src/src/libstdc++-v3/src/atomic.cc:28:0: > /tmp/20111103/powerpc-ibm-aix5.3.0.0/pthread/libstdc++-v3/include/mutex: In > cons > tructor 'constexpr std::once_flag::once_flag()': > /tmp/20111103/powerpc-ibm-aix5.3.0.0/pthread/libstdc++-v3/include/mutex:767:65: > > error: no matching function for call to > 'pthread_once_t::pthread_once_t(<brace-e > nclosed initializer list>)' > /tmp/20111103/powerpc-ibm-aix5.3.0.0/pthread/libstdc++-v3/include/mutex:767:65: > > note: candidates are: > In file included from > /tmp/20111103/powerpc-ibm-aix5.3.0.0/pthread/libstdc++-v3/ > include/gstdint.h:6:0, > from /farm/dje/src/src/libstdc++-v3/src/atomic.cc:26: > /tmp/20111103/./gcc/include-fixed/sys/types.h:451:1: note: > pthread_once_t::pthre > ad_once_t() > /tmp/20111103/./gcc/include-fixed/sys/types.h:451:1: note: candidate expects > 0 > arguments, 1 provided > /tmp/20111103/./gcc/include-fixed/sys/types.h:451:1: note: constexpr > pthread_onc > e_t::pthread_once_t(const pthread_once_t&) > /tmp/20111103/./gcc/include-fixed/sys/types.h:451:1: note: no known > conversion > for argument 1 from '<brace-enclosed initializer list>' to 'const > pthread_once_ > t&' > /tmp/20111103/./gcc/include-fixed/sys/types.h:451:1: note: constexpr > pthread_onc > e_t::pthread_once_t(pthread_once_t&&) > /tmp/20111103/./gcc/include-fixed/sys/types.h:451:1: note: no known > conversion > for argument 1 from '<brace-enclosed initializer list>' to 'pthread_once_t&&' > In file included from /farm/dje/src/src/libstdc++-v3/src/atomic.cc:28:0: > /tmp/20111103/powerpc-ibm-aix5.3.0.0/pthread/libstdc++-v3/include/mutex:767:69: > > error: uninitialized member 'std::once_flag::_M_once' in 'constexpr' > constructor > /tmp/20111103/powerpc-ibm-aix5.3.0.0/pthread/libstdc++-v3/include/mutex: In > func > tion 'void std::call_once(std::once_flag&, _Callable&&, _Args&& ...)': > /tmp/20111103/powerpc-ibm-aix5.3.0.0/pthread/libstdc++-v3/include/mutex:818:64: > > error: invalid conversion from 'void (*)(...)' to 'void (*)()' [-fpermissive] > make[9]: *** [atomic.lo] Error 1 This doesn't ring a bell for me. Could you please try a bootstrap at rev 180765 (i.e. immediately before my libgcc patches) to make sure this isn't a different issue. Thanks. Rainer