-
-
Notifications
You must be signed in to change notification settings - Fork 508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update GMP-ECM to 6.3 #5847
Comments
comment:1
|
Author: Mike Hansen |
comment:3
There is a 6.3 spkg at http://sage.math.washington.edu/home/mhansen/ecm-6.3.spkg I've checked that it works with MPIR 2.1.1 and all tests pass. |
comment:4
Since Sage with MPIR 2.1.1 (#8664) requires updating to this package, I report at that ticket. |
comment:5
Since MPIR 2.1.1 has a bug (see #9837), I've (successfully) built and tested Sage 4.6.prealpha3 (see #9343 and the NewPARI Wiki page) with GMP 5.0.1 and this new ECM 6.3 spkg on Ubuntu 10.04 x86_64 (Core2, gcc 4.4.3; parallel build from scratch with 32 jobs; native code with O3).
|
comment:6
It also passed Same for Fedora 13 x86 (Pentium 4 Prescott, gcc 4.4.4, parallel build with 6 jobs, rest dito). |
Attachment: trac_5847-GMP-ECM-6.3_spkg_update-reviewer.patch.gz Suggested changes - NOT (yet) a Mercurial patch. (Minor fixes, some comments added, some clean-up.) |
comment:7
I've added a reviewer patch (ordinary context diff) with some changes:
If you're ok with the changes, I can replace the diff with a Mercurial patch. Or simply merge them... |
Reviewer: Leif Leonhardy |
comment:8
New spkg: http://spkg-upload.googlecode.com/files/ecm-6.3.p0.spkg md5sum: New spkg based on Mike's with some more changes (than mentioned above). Should be installed with the MPIR 2.1.3 spkg from #8664. See instructions there. (Tested with Sage 4.6.1.alpha0 on Ubuntu 9.04 x86 and Ubuntu 10.04 x86_64.) |
Changed author from Mike Hansen to Mike Hansen, Leif Leonhardy |
SPKG "reviewer" patch, based on Mike's, i.e. ecm-6.3 vs. ecm-6.3.p0. For reference/review. |
comment:9
Attachment: trac_5847-ecm-6.3_vs._ecm-6.3.p0-spkg.patch.gz Built and tested on sage.math.washington.edu without problems. |
comment:11
This fails to compile on my OS X 10.4 powerpc G5 machine, full log attached but here is the interesting part:
|
Log file for failed build on OS X 10.4 powerpc G5 |
This comment has been minimized.
This comment has been minimized.
comment:12
Attachment: ecm-6.3.p0.log |
comment:13
Well, I think these are the relevant parts:
So it's probably an upstream problem, either MPIR or ECM. Or should we pass What happens on other PPCs? Can you try installing it with GMP 5.0.1? |
comment:14
Paul, perhaps you have an idea what's going wrong there (ECM trying to use "64-bit" instructions on MacOS X 10.4 PPC [G5], with MPIR 2.1.3). |
Work Issues: rebase |
comment:119
attachment: trac_5847-module_list-fix_execstack-sagelib.patch needs to be rebased to #11377. |
comment:120
Replying to @jdemeyer:
I can of course rebase the (one-line!) patch (or provide an alternate patch based on some later development version of Sage), but I don't really see a point in rebasing it [now] to an "unstable" version that hasn't been released or announced yet (cf. this comment). Though positively reviewed (and independent of other tickets / spkgs), this ticket has been further postponed to Sage 4.7.2 anyway, for reasons I don't know. Doesn't make much sense to me to revert it to "needs work" at this point, also since people might want to use it or give it a try with current or older versions of Sage. (They most probably won't if it is tagged "needs work".) |
This comment has been minimized.
This comment has been minimized.
Attachment: trac_5847-module_list-fix_execstack-sagelib-rebased_to_4.7.1.alpha4.patch.gz Sage library patch. Fixes 'execstack' issue on Fedora with GCC 4.6.0. Rebased to Sage 4.7.1.alpha4. (Cf. #11377) |
This comment has been minimized.
This comment has been minimized.
Changed work issues from rebase to none |
comment:123
I've added a rebased version of the patch to |
Changed reviewer from Leif Leonhardy, Dima Pasechnik, Mariah Lenox to Leif Leonhardy, Dima Pasechnik, Mariah Lenox, Maarten Derickx |
comment:124
The patch now applies clean and everything passes so it again can have a positive preview. |
comment:125
Replying to @koffie:
I'm testing this on a few of the skynet machines as well. So far all looks good. :) |
comment:126
Replying to @ohanar:
I've verified that all tests pass with 4.7.1 stable on all the systems mariah tested, so +1 for positive review. |
Changed keywords from MPIR elliptic curves libecm ecm spkg to sd32 MPIR elliptic curves libecm ecm spkg |
This comment has been minimized.
This comment has been minimized.
Merged: sage-4.7.2.alpha3 |
comment:130
Had to fix some old changelog entry. Corrected spkg at new location. |
This comment has been minimized.
This comment has been minimized.
Changed reviewer from Leif Leonhardy, Dima Pasechnik, Mariah Lenox, Maarten Derickx to Leif Leonhardy, Dmitrii Pasechnik, Mariah Lenox, Maarten Derickx |
comment:132
GMP-ECM 6.4 has just been released. Paul |
New spkg: http://sage.math.washington.edu/home/leif/Sage/spkgs/ecm-6.3.p2.spkg
md5sum:
a19f3d4d0e9881abe076d8a9c0ea7e7f ecm-6.3.p2.spkg
Apply attachment: trac_5847-module_list-fix_execstack-sagelib-rebased_to_4.7.1.alpha4.patch to the Sage library.
(Should be applied after installing the new spkg.)
Note that this patch is only required (i.e., mandatory) on some Fedora and potentially other SELinux-enabled systems, and apparently only in conjunction with more recent versions of GCC (>= 4.6).
I.e., you should be able to use the new GMP-ECM spkg on other systems without installing any patches or other spkgs.
CC: @zimmermann6 @dimpase
Component: packages: standard
Keywords: sd32 MPIR elliptic curves libecm ecm spkg
Author: Mike Hansen, Leif Leonhardy, Jeroen Demeyer
Reviewer: Leif Leonhardy, Dmitrii Pasechnik, Mariah Lenox, Maarten Derickx
Merged: sage-4.7.2.alpha3
Issue created by migration from https://trac.sagemath.org/ticket/5847
The text was updated successfully, but these errors were encountered: