[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 16 21:34:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53238

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
         AssignedTo|redi at gcc dot gnu.org     |unassigned at gcc dot
                   |                            |gnu.org

--- Comment #14 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-07-16 21:33:34 UTC ---
I still don't think it's the right thing to do, but does this help?

--- a/libgcc/config/rs6000/gthr-aix.h
+++ b/libgcc/config/rs6000/gthr-aix.h
@@ -30,6 +30,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If
not, see
 #include "gthr-posix.h"
 #else
 #include "gthr-single.h"
+#undef _GLIBCXX_HAS_GTHREADS
 #endif

 #endif /* GCC_GTHR_AIX_H */



More information about the Gcc-bugs mailing list