Re: [sage-devel] Re: multi-polynomial subs memory leak

2021-05-08 Thread Dima Pasechnik
Singular's subst() command itself appears to be very leaky, I don't know why we expect to be able to plug these leaks in libSingular. On Sat, 8 May 2021, 13:41 Markus Wageringel, wrote: > vdelecroix schrieb am Freitag, 7. Mai 2021 um 10:09:59 UTC+2: > >> I propose to switch to naive symbolic >

[sage-devel] Re: Preliminary bug [Re: Boolean expressions]

2021-05-08 Thread Emmanuel Charpentier
Le vendredi 7 mai 2021 à 22:41:36 UTC+2, Nils Bruin a écrit : > On Friday, May 7, 2021 at 12:37:41 PM UTC-7 emanuel wrote: > [ Snip... ] Unless you advise me not to do so (and explain why), I’ll file a ticket on >> this issue, propose a branch replacing those null strings with a single >> s

Re: [sage-devel] [abi:cxx11] in givaro prevents linking to system givaro on Fedora 32

2021-05-08 Thread Steven Trogdon
Building Givaro on Gentoo I have CXXFLAGS=-O2 -pipe -march=native -O2 -pipe -fabi-version=6 -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx Your Redhat has CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protect

[sage-devel] Re: [abi:cxx11] in givaro prevents linking to system givaro on Fedora 32

2021-05-08 Thread Matthias Koeppe
On Saturday, May 8, 2021 at 4:31:12 AM UTC-7 Dima Pasechnik 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: > _ZNK6Givaro7In

[sage-devel] Re: multi-polynomial subs memory leak

2021-05-08 Thread Markus Wageringel
vdelecroix schrieb am Freitag, 7. Mai 2021 um 10:09:59 UTC+2: > I propose to switch to naive symbolic > evaluation. This is infinitely slower but at least does not > leak memory. > Recently, I have looked into performance problems of multivariate power series. One of the bottlenecks is the use

Re: [sage-devel] [abi:cxx11] in givaro prevents linking to system givaro on Fedora 32

2021-05-08 Thread Dima Pasechnik
one has https://kojipkgs.fedoraproject.org//packages/givaro/4.1.1/1.fc32/data/logs/x86_64/build.log and other logs there On Saturday, May 8, 2021 at 12:45:07 PM UTC+1 Dima Pasechnik wrote: > On Saturday, May 8, 2021 at 12:34:11 PM UTC+1 François Bissey wrote: > >> What compiler and flags have u

Re: [sage-devel] [abi:cxx11] in givaro prevents linking to system givaro on Fedora 32

2021-05-08 Thread Dima Pasechnik
On Saturday, May 8, 2021 at 12:34:11 PM UTC+1 François Bissey wrote: > What compiler and flags have used to compile fedora 32 givaro? Can we > easily find out? the compiler used to build Sage is g++ 10.2.1 $ g++ -v Using built-in specs. COLLECT_GCC=/usr/bin/g++ COLLECT_LTO_WRAPPER=/usr/libex

Re: [sage-devel] [abi:cxx11] in givaro prevents linking to system givaro on Fedora 32

2021-05-08 Thread François Bissey
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 000180b0 T Givaro::Integer::operator std::__cxx11::basic_string, std::allocator >[abi:cxx11]() const 0

Re: [sage-devel] [abi:cxx11] in givaro prevents linking to system givaro on Fedora 32

2021-05-08 Thread François Bissey
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 wrote: > > With system Givaro, one gets > > [dochtml] ImportError: > /home/scratch2/dimpase/sage/sage/local/lib64/python3.8/site-packages/sage/matrix/matrix_modn_spa

[sage-devel] [abi:cxx11] in givaro prevents linking to system givaro on Fedora 32

2021-05-08 Thread Dima Pasechnik
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]: