This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch] Implement move semantics for iostreams
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Jonathan Wakely <jwakely at redhat dot com>
- Cc: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Thu, 25 Sep 2014 13:05:24 +0200
- Subject: Re: [patch] Implement move semantics for iostreams
- Authentication-results: sourceware.org; auth=none
- References: <20140922133507 dot GF22778 at redhat dot com> <yddlhpa8mmb dot fsf at lokon dot CeBiTec dot Uni-Bielefeld dot DE> <20140924133727 dot GU2669 at redhat dot com> <yddh9zx84oa dot fsf at lokon dot CeBiTec dot Uni-Bielefeld dot DE> <20140924144825 dot GW2669 at redhat dot com>
Hi Jonathan,
>>almost there: now I only get
>>
>>ld: fatal: libstdc++-symbols.ver-sun: 4622: symbol 'std::basic_ostream<wchar_t, std::char_traits<wchar_t> >::basic_ostream(std::basic_iostream<wchar_t, std::char_traits<wchar_t> >&)': symbol version conflict
>>ld: fatal: libstdc++-symbols.ver-sun: 4623: symbol 'std::basic_ostream<wchar_t, std::char_traits<wchar_t> >::basic_ostream(std::basic_iostream<wchar_t, std::char_traits<wchar_t> >&)': symbol version conflict
>>
>>from
>>
>> GLIBCXX_3.4:
>>
>> ##_ZNSt13basic_ostreamIwSt11char_traitsIwEEC[12]E[RP]* (glob)
>> _ZNSt13basic_ostreamIwSt11char_traitsIwEEC1ERSt14basic_iostreamIwS1_E;
>> _ZNSt13basic_ostreamIwSt11char_traitsIwEEC2ERSt14basic_iostreamIwS1_E;
>>
>> GLIBCXX_3.4.21:
>>
>> ##_ZNSt13basic_ostreamIwSt11char_traitsIwEEC[12]ERSt14basic_iostreamIwS1_E (glob)
>> _ZNSt13basic_ostreamIwSt11char_traitsIwEEC1ERSt14basic_iostreamIwS1_E;
>> _ZNSt13basic_ostreamIwSt11char_traitsIwEEC2ERSt14basic_iostreamIwS1_E;
>
> Doh, yes, this additional tweak should solve that:
>
> index f736240..95fc3c7 100644
> --- a/libstdc++-v3/config/abi/pre/gnu.ver
> +++ b/libstdc++-v3/config/abi/pre/gnu.ver
> @@ -460,7 +460,7 @@ GLIBCXX_3.4 {
>
> # std::basic_ostream<wchar_t>
> _ZNSt13basic_ostreamIwSt11char_traitsIwEEC[12]Ev;
> - _ZNSt13basic_ostreamIwSt11char_traitsIwEEC[12]E[RP]*;
> + _ZNSt13basic_ostreamIwSt11char_traitsIwEEC[12]EP*;
> _ZNSt13basic_ostreamIwSt11char_traitsIwEED*;
> _ZNKSt13basic_ostreamIwSt11char_traitsIwEE[0-9][a-z]*;
> _ZNSt13basic_ostreamIwSt11char_traitsIwEE3putEw;
it does: {i386-pc, sparc-sun}-solaris2.1[01] bootstraps completed
successfully with it.
Thanks for the quick fix.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University