The glib ebuild includes this code: if use ppc-macos; then glibtoolize append-ldflags "-L/usr/lib -lpthread" fi I can't understand the reason for this; 1) glibtoolize will do nothing unless called with "--force" or with elibtoolize, but it is not needed, glib builds fine without (as you have already tested, since that call is doing nothing) 2) posix threads functions on darwin are in libSystem, in fact libpthreads is a symlink to it; as the pthreads man page says, no additional FLAGS are required, since the binary will always be linked to libSystem; so I see no meaning in that call to append-ldflags. The only problem in glib configure regarding darwin is that it will set CPPFLAGS and GTHREAD_CFLAGS to -pthreads, which is wrong since apple's gcc does not have a pthread or pthreads option, for the reason above. But it's a soft problem, since gcc will not abort for an unrecognized option. I have already sent upstream a fix for this.
Do you know of Panther has the same characteristics? AFAIK Panther is less POSIX than Tiger.
Darwin 8 tries to be more strict in terms of POSIX compatibility, but regarding this issue there is no difference between darwin 7 and 8 AFAIK.
(After a lot of waiting for compilation on Panther just to make sure...) removed the offending code in glib-2.8.3 Thanks for the report!
Created attachment 71207 [details, diff] enables poll emulation also on tiger
Thanks again. Done.