------- Comment #16 from dominiq at lps dot ens dot fr 2010-03-13 10:56 ------- > Is /usr/include/pthread.h or one of the headers it includes matched by > a fixincludes rule? I.e., does any of {stage{1,2,3}-,prev-,}gcc/include/fixed > contain pthread.h or included headers, and if yes, what is their diff to their > counterpart in /usr/include?
As far as I can tell the answer is "NO". > Another, but fairly unlikely, reason for an unstable test result could be that > pthread_create fails due to exhausted resources. It may be a possibility: I had several applications opened (Mathematica, Safari, ...). Although they were in an "idle" state, they were using some RAM: several 100Mb out of 4Gb. > Which was the log file in which the configure test failed? > Was it in the successful build? The config failure was for the failing build. Looking at the log again, I noticed that the successful log contained several '#define HAVE_TLS 1' (6 occurrences) while there are none in the log for the failing build. I remember having seen some fix for tls issues on darwin, but I cannot find the relevant PR. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43170