This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 16 Jul 2012 21:33:34 +0000
- Subject: [Bug bootstrap/53238] Bootstrap failure: error: 'pthread_mutex_timedlock' was not declared in this scope
- Auto-submitted: auto-generated
- References: <bug-53238-4@http.gcc.gnu.org/bugzilla/>
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 */