build broken on Solaris

Paolo Carlini paolo.carlini@oracle.com
Wed Feb 9 10:45:00 GMT 2011


Hi Eric,
> 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.
>   
can you please try the attached? I'm sanity checking it on x86_64-linux
multilib and if you can confirm it fixes the problem on Solaris I'll
commit it to unbreak the bootstrap.

Thanks,
Paolo.

//////////////////////

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: p
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20110209/3ffe96ce/attachment.ksh>


More information about the Libstdc++ mailing list