#5847: Update GMP-ECM to 6.3
--------------------------------------------+-------------------------------
Reporter: mabshoff | Owner: leif
Type: enhancement | Status: needs_info
Priority: major | Milestone: sage-4.6.1
Component: packages | Keywords:
Author: Mike Hansen, Leif Leonhardy | Upstream: N/A
Reviewer: Leif Leonhardy | Merged:
Work_issues: include patch for 32-bit ppc |
--------------------------------------------+-------------------------------
Comment(by fbissey):
Replying to [comment:30 leif]:
> Replying to [comment:29 fbissey]:
> > Replying to [comment:23 leif]:
> > > I wonder how the GNU assembler (Linux PPC) behaves...
> > >
> > > François, would you like to test this?
> > I know that gmp-ecm-6.3 builds on my linux ppc system but I don't
believe
> > I have the assembler enabled. I will try that as soon as I have access
to the machine
> > next week. I will also have a look at mpir. Note that my test machine
is a G4.
>
> Ok.
>
> > I am a bit surprised that no changes where needed to build it against
GMP 5.0.1
>
> Hmmm, we have to upgrade ECM ''because of'' the upgrade of MPIR / GMP:
>
> '''''Changes between ecm-6.2.3 and ecm-6.3:'''''
>
> * ''New assembly code for 64-bit PowerPC (thanks to Philip
!McLaughlin)''
> * ''Allow several processes to write to the same -save file''
> * ''More routines in new P+-1 stage 2 use multi-threading in OpenMP
build''
> * '''''Fixed incompatibility with GMP 5.0.0'''''
> * ''Fixed several bugs, and now check return value from malloc()
calls''
> * ''Fixed linking of GMP which prevented successful builds under
Darwin (and presumably other systems)''
> * ''Allow use of x86_64 asm code under MinGW''
>
I remember adding 6.3 to the sage-on-gentoo tree for GMP-5
{{{# ChangeLog for sci-mathematics/ecm
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
08 Sep 2010; François Bissey <[email protected]> metadata.xml:
fix metadata
03 Aug 2010; Christopher Schwan <[email protected]>
-ecm-6.2.3.ebuild, -ecm-6.3.ebuild:
Removed old versions
*ecm-6.3-r1 (23 Jul 2010)
23 Jul 2010; Christopher Schwan <[email protected]>
+ecm-6.3-r1.ebuild:
Migrated to autotools-utils.eclass
08 Jul 2010; François Bissey <[email protected]> ecm-6.3.ebuild:
Hopefully fixed for gmp-5
*ecm-6.3 (07 Jul 2010)
07 Jul 2010; François Bissey <[email protected]> +ecm-6.3.ebuild:
Version bump. Hopefully helpfull with gmp-5.
}}}
I'll have to check my inbox for the details. I imported it on the 7th of
July
because it said it was compatible with GMP-5 and one of our user was using
that.
The user then reported that he still couldn't get ECM to build and I
introduced the
fix above the next day which solved the problem.
A possibility is interference with by a patch to GMP Gentoo side.
On a positive note ECM 6.3 is the default in sage-on-gentoo since the 3rd
of August so it has been extensively tested on x86, amd64 and ppc. However
assembler code is at the user's discretion.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5847#comment:31>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.