------- Comment #14 from rwild at gcc dot gnu dot org 2010-03-13 09:12 ------- Thanks. 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?
Another, but fairly unlikely, reason for an unstable test result could be that pthread_create fails due to exhausted resources. Which was the log file in which the configure test failed? Was it in the successful build? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43170