build broken on Solaris

Eric Botcazou ebotcazou@adacore.com
Wed Feb 9 08:18:00 GMT 2011


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



More information about the Libstdc++ mailing list