This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/52887] Bootstrap on AIX failure: Undefined symbol: .std::function<void (std::__regex::_PatternCursor const&, std::__regex::_Results&)>::function(std::function<void (std::__regex::_PatternCursor const&, std::__regex::_Results&)> const&)
- 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: Thu, 10 May 2012 14:57:02 +0000
- Subject: [Bug bootstrap/52887] Bootstrap on AIX failure: Undefined symbol: .std::function<void (std::__regex::_PatternCursor const&, std::__regex::_Results&)>::function(std::function<void (std::__regex::_PatternCursor const&, std::__regex::_Results&)> const&)
- Auto-submitted: auto-generated
- References: <bug-52887-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52887
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-05-10 14:57:02 UTC ---
does adding this instantiation to libstdc++-v3/src/c++11/regex.cc help?
--- r 2012-05-10 16:56:35.252128466 +0200
+++ regex.cc 2012-05-10 16:56:39.412128415 +0200
@@ -34,5 +34,7 @@
regex_error::~regex_error() throw() { }
+ template class function<void (__regex::_PatternCursor const&,
__regex::_Results&)>;
+
_GLIBCXX_END_NAMESPACE_VERSION
} // namespace std