[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&)

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 10 15:04:00 GMT 2012


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



More information about the Gcc-bugs mailing list