#8664: Upgrade Sage's MPIR spkg to version 2.1.3
---------------------------------------------------------------------------------------------------------+
Reporter: was
| Owner: GeorgSWeber
Type: enhancement
| Status: positive_review
Priority: major
| Milestone: sage-pending
Component: packages
| Resolution:
Keywords: GMP ECM execstack Fedora 14 extension module library
dependencies Darwin 11 MacOS X 10.7 | Work_issues:
Upstream: N/A
| Reviewer: Leif Leonhardy, Dmitrii Pasechnik
Author: Mike Hansen, Leif Leonhardy
| Merged:
Dependencies: #5847
|
---------------------------------------------------------------------------------------------------------+
Comment(by leif):
Replying to [comment:120 jdemeyer]:
> because it depends on a not-yet-positively-reviewed ticket
Well, can't you re-review #5847, which you set back to "needs work"?
The only single thing that has changed there is that the one-line patch to
`module_list.py` got rebased to Sage 4.7.1.alpha4, in particular it is the
same patch, differing just in line numbers (or, more precisely, a single
after-context line):
{{{
#!patch
--- ../patches/trac_5847-module_list-fix_execstack-sagelib.patch
2011-06-02 21:38:51.000000000 +0200
+++ ../patches/trac_5847-module_list-fix_execstack-sagelib-
rebased_to_4.7.1.alpha4.patch 2011-07-20 07:08:13.000000000 +0200
@@ -1,22 +1,24 @@
# HG changeset patch
# User Leif Leonhardy <[email protected]>
-# Date 1307043111 -7200
-# Node ID e7b1b631a38756bb37aa5edc7a0e31ff10eaa86a
-# Parent fb00ec75853019eb9799fd863b193fe82ee97c74
+# Date 1309863032 -7200
+# Node ID 556a3825c961b6871451652dede6ec3742705482
+# Parent 8532a2ad1e558cbc91ddaaa6b7cc79956dd1e8ba
#5847: Add 'noexecstack' flag when linking libecm extension module on
Linux.
(Not doing so caused trouble on a SkyNet Fedora machine with Sage
4.7.1.alpha1
and GMP-ECM 6.3.p2 from #5847, GCC 4.6.0; didn't occur previously.)
-diff -r fb00ec758530 -r e7b1b631a387 module_list.py
---- a/module_list.py Wed May 11 22:39:05 2011 +0000
-+++ b/module_list.py Thu Jun 02 21:31:51 2011 +0200
-@@ -561,6 +561,8 @@
+(Rebased patch for Sage 4.7.1.alpha4 / #11377)
+
+diff -r 8532a2ad1e55 -r 556a3825c961 module_list.py
+--- a/module_list.py Sun Jul 03 14:23:12 2011 +0000
++++ b/module_list.py Tue Jul 05 12:50:32 2011 +0200
+@@ -568,6 +568,8 @@
Extension('sage.libs.libecm',
sources = ['sage/libs/libecm.pyx'],
libraries = ['ecm', 'gmp'],
+ extra_link_args = uname_specific("Linux",
["-Wl,-z,noexecstack"],
+ []),
- depends = [SAGE_ROOT + "/local/include/ecm.h"]),
+ depends = [SAGE_INC + "ecm.h"]),
Extension('sage.libs.mwrank.mwrank',
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8664#comment:121>
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.