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, 23 Jul 2012 08:11:48 +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
--- Comment #20 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-07-23 08:11:48 UTC ---
The vtable should be defined in the same file as ctype<char>::~ctype() i.e. in
libstdc++-v3/src/c++98/ctype.cc
You could try adding this to ctype.cc around line 54
inline template class ctype<char>;
That's a GCC extension that explicitly instantiates the vtable.