Interestingly on Gentoo I currently have both symbols
fbissey@moonloop ~ $ nm -D /usr/lib64/libgivaro.so.9.1.1 | grep 
_ZNK6Givaro7IntegercvNSt7__cxx1112basic_stringIcSt11char | c++filt -n
00000000000180b0 T Givaro::Integer::operator std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> >[abi:cxx11]() const
00000000000180b0 T Givaro::Integer::operator std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> >() const

Last compile was with gcc-11.1.0

> On 8/05/2021, at 23:34, François Bissey <frp.bis...@gmail.com> wrote:
> 
> What compiler and flags have used to compile fedora 32 givaro? Can we easily 
> find out?
> 
>> On 8/05/2021, at 23:31, Dima Pasechnik <dimp...@gmail.com> wrote:
>> 
>> With system Givaro, one gets
>> 
>> [dochtml] ImportError: 
>> /home/scratch2/dimpase/sage/sage/local/lib64/python3.8/site-packages/sage/matrix/matrix_modn_sparse.cpython-38-x86_64-linux-gnu.so:
>>  undefined symbol: 
>> _ZNK6Givaro7IntegercvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev
>> make[3]: *** [Makefile:2280: doc-html] Error 1
>> 
>> which demangled says
>> 
>> $ c++filt 
>> _ZNK6Givaro7IntegercvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev
>> Givaro::Integer::operator std::__cxx11::basic_string<char, 
>> std::char_traits<char>, std::allocator<char> >[abi:cxx11]() const
>> 
>> The system library has Givaro::Integer::operator 
>> std::__cxx11::basic_string<char, std::char_traits<char>, 
>> std::allocator<char> >() const
>> 
>> (no of that weird [abi:cxx11] qualifier)
>> 
>> Any ideas how to fix this? (besides not using system Givaro) ?
>> 
>> Dima
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "sage-devel" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to sage-devel+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-devel/b187faf3-50c4-42c4-ae37-77c5a3902bbcn%40googlegroups.com.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/96717AEA-F818-447E-98D6-3132A5CFC8FC%40gmail.com.

Reply via email to