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]

Re: build broken on Solaris


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.

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

Attachment: p
Description: Text document


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