https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117834
--- Comment #9 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Gleb Mazovetskiy from comment #8) > > If you want to make progress, and help keep it alive, then the best way is > > to test regularly - in this case you need to bisect to find what change > > caused the problem - and hopefully that will suggest a patch. > > I'm doing this in the context of making the latest GCC the default compiler > in macports (https://github.com/macports/macports-ports/pull/26655), so once > that is merged and the Tiger PPC buildbot is back, this will be built with > every release. > > This and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117857 are the only 2 > things that I had to patch around to get gcc14 building on Tiger. > > It's actually a lot easier to build gcc14 for Tiger than an older gcc > version, no doubt thanks to Iain's work. this ought to be fixable by conditionally copying the def from 10.5 #if defined (__APPLE__) && !defined (PTHREAD_RWLOCK_INITIALIZER) #define PTHREAD_RWLOCK_INITIALIZER {_PTHREAD_RWLOCK_SIG_init, {0}} #endif in some suitable place... Having said this, the pthread implementation was not the finest part of libc in 10.4/5 era ..