This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
build broken on Solaris
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Wed, 9 Feb 2011 09:14:30 +0100
- Subject: build broken on Solaris
The patch
2011-02-04 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/regex_error.h (__throw_regex_error): Not inline.
* src/functexcept.cc: Add definition.
* config/abi/pre/gnu.ver: Export.
breaks the build on Solaris:
ld: fatal: libstdc++-symbols.ver-sun: 4630: symbol
`std::regex_error::~regex_error()' is already defined in file:
libstdc++-symbols.ver-sun
A couple of symbols are listed twice in the version file:
##std::re[^t]* (cxx)
_ZNSt11regex_errorD0Ev;
_ZNSt11regex_errorD1Ev;
##_ZNSt11regex_errorD* (glob)
_ZNSt11regex_errorD0Ev;
_ZNSt11regex_errorD1Ev;
because they are matched twice by the regexps in gnu.ver.
--
Eric Botcazou