#19706: Upgrade GMP
-------------------------------------+-------------------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.11
Component: packages: | Resolution:
optional | Merged in:
Keywords: | Reviewers:
Authors: Jeroen Demeyer | Work issues:
Report Upstream: N/A | Commit:
Branch: | 94ac0168fcb2c77883bd37b121f047ccd94d9e1a
u/jdemeyer/upgrade_gmp | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by jdemeyer):
There is also this error, which is due to error handling in GMP which does
not exist in MPIR:
{{{
**********************************************************************
File "src/sage/ext/memory.pyx", line 9, in sage.ext.memory
Failed example:
2^(2^63-2)
Expected:
Traceback (most recent call last):
...
MemoryError: failed to allocate 1152921504606847008 bytes
Got:
gmp: overflow in mpz type
Traceback (most recent call last):
File "/usr/local/src/sage-config/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/usr/local/src/sage-config/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.ext.memory[0]>", line 1, in <module>
Integer(2)**(Integer(2)**Integer(63)-Integer(2))
File "sage/rings/integer.pyx", line 1921, in
sage.rings.integer.Integer.__pow__
(build/cythonized/sage/rings/integer.c:13350)
sig_on()
File "sage/ext/interrupt/interrupt.pyx", line 98, in
sage.ext.interrupt.interrupt.sig_raise_exception
(build/cythonized/sage/ext/interrupt/interrupt.c:1113)
raise RuntimeError(msg)
RuntimeError: Aborted
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/19706#comment:6>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.