------- Comment #2 from oder at eleks dot lviv dot ua 2008-04-06 13:21 ------- (In reply to comment #1) > You need to report this with apple or at least try a still maintained gcc > version and provide a testcase without Mac specific headers.
Well, it's not so easy. ./configure for GCC 4.3.0 fails with "Building GCC requires GMP 4.1+ and MPFR 2.3.0+". I don't know what these are and I'm not too eager spending time to search for all the necessary stuff needed to build a new version and find out that there is some problem with building I can't resolve after all. If there are no prebuilt binaries publicly available that means there must be some reason for it. I have already tried to build latest GCC once for QNX. Well, after few days and lots of corrections to headers I succeeded. But then I found that there are some system related settings I don't know how to specify for new compiler and startup stubs in objs, I don't have sources for. So, even though compiler worked I did not take a risk to use it for production binaries compilation. As for getting rid of system-specific headers, I tried replacing OSAtomicIncrement32Barrier(paoDestination) with increment for volatile int64_t, but the problem can't be reproduced that way. This seems to be PowerPC architecture related problem and I don't have other operating systems/machines based on PowerPC. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35836