This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]