http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48639
Summary: pthread.h fixinclude test failure with 4.4.6 Product: gcc Version: 4.4.6 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassig...@gcc.gnu.org ReportedBy: seze...@gmail.com Never had this kind of test failure with 4.4.x series until today's 4.4.6: $ make -k check make[1]: Entering directory `/home/ozzie/gcc44.build' make[2]: Entering directory `/home/ozzie/gcc44.build/fixincludes' autogen -T ../../gcc44.r172578/fixincludes/check.tpl ../../gcc44.r172578/fixincludes/inclhack.def /bin/sh ./check.sh ../../gcc44.r172578/fixincludes/tests/base [... many successes ...] pthread.h /home/ozzie/gcc44.r172578/fixincludes/tests/base/pthread.h differ: byte 3615, line 99 *** pthread.h 2011-04-16 17:04:25.000000000 +0300 --- /home/ozzie/gcc44.r172578/fixincludes/tests/base/pthread.h 2010-12-13 20:22:09.000000000 +0200 *************** *** 96,101 **** --- 96,106 ---- #endif /* GLIBC_MUTEX_INIT_CHECK */ + #if defined( PTHREAD_PAGE_SIZE_CHECK ) + extern int __page_size; + #endif /* PTHREAD_PAGE_SIZE_CHECK */ + + #if defined( IRIX_PTHREAD_INIT_CHECK ) #define PTHREAD_MUTEX_INITIALIZER { { 0 } } #define PTHREAD_COND_INITIALIZER { { 0 } } *************** *** 103,113 **** #endif /* IRIX_PTHREAD_INIT_CHECK */ - #if defined( PTHREAD_PAGE_SIZE_CHECK ) - extern int __page_size; - #endif /* PTHREAD_PAGE_SIZE_CHECK */ - - #if defined( PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_CHECK ) extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask); #endif /* PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_CHECK */ --- 108,113 ---- There were fixinclude test FAILURES make[2]: *** [check] Error 1 make[2]: Leaving directory `/home/ozzie/gcc44.build/fixincludes' make[1]: *** [check-fixincludes] Error 2 [...] $ This was on a i686-linux (fedora 9) setup.