[sage-devel] Re: Issues when building Sage with --with-mp=gmp

2016-08-09 Thread leif
leif wrote: > Francois Bissey wrote: >> >>> On 31/07/2016, at 18:54, leif wrote: >>> >>> This is what I get with GMP 6.1.1 (Sage 7.3.rc0, GCC 5.4.0): >>> >>> -- >>> sage -t --long --warn-long 68.2 src/sage/structure/sage_object.py

[sage-devel] Re: Issues when building Sage with --with-mp=gmp

2016-08-09 Thread leif
Francois Bissey wrote: > >> On 31/07/2016, at 18:54, leif wrote: >> >> This is what I get with GMP 6.1.1 (Sage 7.3.rc0, GCC 5.4.0): >> >> -- >> sage -t --long --warn-long 68.2 src/sage/structure/sage_object.pyx # >> Killed due t

Re: [sage-devel] Re: Issues when building Sage with --with-mp=gmp

2016-08-04 Thread Jean-Pierre Flori
On Thursday, August 4, 2016 at 11:37:57 AM UTC+2, Erik Bray wrote: > > On Thu, Aug 4, 2016 at 11:35 AM, Erik Bray > wrote: > > On Thu, Aug 4, 2016 at 11:17 AM, leif > > wrote: > >> Jean-Pierre Flori wrote: > >>> On Thursday, August 4, 2016 at 11:07:38 AM UTC+2, Erik Bray wrote: > >>> > >>>

Re: [sage-devel] Re: Issues when building Sage with --with-mp=gmp

2016-08-04 Thread Erik Bray
On Thu, Aug 4, 2016 at 11:35 AM, Erik Bray wrote: > On Thu, Aug 4, 2016 at 11:17 AM, leif wrote: >> Jean-Pierre Flori wrote: >>> On Thursday, August 4, 2016 at 11:07:38 AM UTC+2, Erik Bray wrote: >>> >>> Tangentially related, but it might be nice if GMP/MPIR got the same >>> treatment tha

Re: [sage-devel] Re: Issues when building Sage with --with-mp=gmp

2016-08-04 Thread Erik Bray
On Thu, Aug 4, 2016 at 11:17 AM, leif wrote: > Jean-Pierre Flori wrote: >> On Thursday, August 4, 2016 at 11:07:38 AM UTC+2, Erik Bray wrote: >> >> Tangentially related, but it might be nice if GMP/MPIR got the same >> treatment that some other packages have been getting, a few at a time,

[sage-devel] Re: Issues when building Sage with --with-mp=gmp

2016-08-04 Thread leif
Jean-Pierre Flori wrote: > On Thursday, August 4, 2016 at 11:07:38 AM UTC+2, Erik Bray wrote: > > Tangentially related, but it might be nice if GMP/MPIR got the same > treatment that some other packages have been getting, a few at a time, > of using the system version if it's available

[sage-devel] Re: Issues when building Sage with --with-mp=gmp

2016-08-02 Thread leif
François Bissey wrote: > 7.0.3 over there: > https://gforge.inria.fr/frs/?group_id=135 > fixes stuff for gcc 5+ and gmp 6.1.0 and ppc64. See ticket, I pushed a branch (can be reviewed / tested). -leif > Will try on recent OS X to check if that bit is fixed. > I was thinking of another QA proble

Re: [sage-devel] Re: Issues when building Sage with --with-mp=gmp

2016-08-02 Thread François Bissey
7.0.3 over there: https://gforge.inria.fr/frs/?group_id=135 fixes stuff for gcc 5+ and gmp 6.1.0 and ppc64. Will try on recent OS X to check if that bit is fixed. I was thinking of another QA problem. Francois On 03/08/16 12:48, leif wrote: Francois Bissey wrote: https://trac.sagemath.org/tic

[sage-devel] Re: Issues when building Sage with --with-mp=gmp

2016-08-02 Thread leif
Francois Bissey wrote: > https://trac.sagemath.org/ticket/20385 > for upgrade to 7.0. > Patches need to be ported to the new version. Sage currently only has this poor patch: commit 1f3e8dc1a1f72f99c8c758c80463138bbef90534 Author: John H. Palmieri Date: Thu Sep 24 07:43:14 2015 -0700 trac

Re: [sage-devel] Re: Issues when building Sage with --with-mp=gmp

2016-08-02 Thread Francois Bissey
https://trac.sagemath.org/ticket/20385 for upgrade to 7.0. Patches need to be ported to the new version. If there is 7.1 is our=t lets move to that. François > On 3/08/2016, at 11:14, leif wrote: > > leif wrote: >> I'd say it's an upstream bug that whether ECM considers 1 a factor of 1 >> depe

[sage-devel] Re: Issues when building Sage with --with-mp=gmp

2016-08-02 Thread leif
leif wrote: > I'd say it's an upstream bug that whether ECM considers 1 a factor of 1 > depends on the underlying library (GMP 5.x or MPIR vs. GMP 6.x). > > But the last release of GMP-ECM (6.4.4) dates back nearly three and a > half years... (There was some activity to make a 7.x release years a

[sage-devel] Re: Issues when building Sage with --with-mp=gmp

2016-08-02 Thread leif
leif wrote: > Francois Bissey wrote: >> I would have to check my discussions with Paul but I think that’s why there >> is a difference for the ecm doctest (with Paul saying that he likes the >> current >> gmp behaviour). > > We fixed FLINT w.r.t. this (invertability modulo +/-1) at least, such >

[sage-devel] Re: Issues when building Sage with --with-mp=gmp

2016-08-02 Thread leif
Francois Bissey wrote: > I would have to check my discussions with Paul but I think that’s why there > is a difference for the ecm doctest (with Paul saying that he likes the > current > gmp behaviour). We fixed FLINT w.r.t. this (invertability modulo +/-1) at least, such that FLINT > 2.4.5 copes

Re: [sage-devel] Re: Issues when building Sage with --with-mp=gmp

2016-08-02 Thread Francois Bissey
I would have to check my discussions with Paul but I think that’s why there is a difference for the ecm doctest (with Paul saying that he likes the current gmp behaviour). François > On 2/08/2016, at 21:35, Jean-Pierre Flori wrote: > > Also note that GMP changed its behavior for some gcd or mod

Re: [sage-devel] Re: Issues when building Sage with --with-mp=gmp

2016-08-02 Thread Jean-Pierre Flori
I think that I some point I wanted to support switching btw GMP and MPIR and then someone convinced me it was hopeless. The only supported solution should be to distclean, reconfigure, rebuild. If that does not work, we should fix it. As far as error are concerned, I remember that MPIR and GMP be

Re: [sage-devel] Re: Issues when building Sage with --with-mp=gmp

2016-07-31 Thread François Bissey
On 01/08/16 09:49, leif wrote: because this is an old bug (happened in the past with MPIR as well) which never got fixed nor really tracked down, just the now failing doctest (unpickling all a second time) got added in #5838; I've also commented there [1]. -leif [1] https://trac.sagemath.org/t

[sage-devel] Re: Issues when building Sage with --with-mp=gmp

2016-07-31 Thread leif
leif wrote: > leif wrote: >> Currently retrying with GMP 6.1.1 (and GCC 5.4), too; I'll presumably >> open a ticket to upgrade Sage's GMP package. >> >> >>> The failing doctests are >>> [...] >>> sage -t --long >> /usr/lib64/python2.7/site-packages/sage/rings/integer.pyx # 1 doctest >> failed >>>

[sage-devel] Re: Issues when building Sage with --with-mp=gmp

2016-07-31 Thread leif
Francois Bissey wrote: > >> On 31/07/2016, at 18:54, leif wrote: >> >> This is what I get with GMP 6.1.1 (Sage 7.3.rc0, GCC 5.4.0): >> >> -- >> sage -t --long --warn-long 68.2 src/sage/structure/sage_object.pyx # >> Killed due t

[sage-devel] Re: Issues when building Sage with --with-mp=gmp

2016-07-31 Thread leif
leif wrote: > Francois Bissey wrote: >> The failing doctests are >> sage -t --long >> /usr/lib64/python2.7/site-packages/sage/rings/integer.pyx # 1 doctest >> failed >> sage -t --long /usr/lib64/python2.7/site-packages/sage/ext/memory.pyx >> # 1 doctest failed >> gmp and mpir report errors differ

[sage-devel] Re: Issues when building Sage with --with-mp=gmp

2016-07-30 Thread leif
leif wrote: > (Quoted message copied from wrong/original thread.) > > Francois Bissey wrote: >> sage-on-gentoo builds with gmp instead of mpir. There are a few doctests >> failing as a consequence but sage works. In fact the last ecl upgrade >> I pushed was partly to remove noise as I had to upgra

[sage-devel] Re: Issues when building Sage with --with-mp=gmp

2016-07-30 Thread leif
(Quoted message copied from wrong/original thread.) Francois Bissey wrote: > sage-on-gentoo builds with gmp instead of mpir. There are a few doctests > failing as a consequence but sage works. In fact the last ecl upgrade > I pushed was partly to remove noise as I had to upgrade ecl in > sage-on-g

Re: [sage-devel] Re: Issues when building Sage with --with-mp=gmp

2016-07-30 Thread Francois Bissey
sage-on-gentoo builds with gmp instead of mpir. There are a few doctests failing as a consequence but sage works. In fact the last ecl upgrade I pushed was partly to remove noise as I had to upgrade ecl in sage-on-gentoo to deal with some gmp/ecl issues. Currently I have gmp 6.1.1. The failing do

[sage-devel] Re: Issues when building Sage with --with-mp=gmp

2016-07-30 Thread leif
leif wrote: > To not hijack Erik's original thread on GMP/MPIR-related issues with > /Singular on Cygwin/, ... Sorry, took me three attempts to detach the post. -leif -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this gro