#5847: Update GMP-ECM to 6.3
-------------------------------------------+--------------------------------
Reporter: mabshoff | Owner: leif
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.6.1
Component: packages | Keywords:
Author: Mike Hansen, Leif Leonhardy | Upstream: N/A
Reviewer: Leif Leonhardy | Merged:
Work_issues: |
-------------------------------------------+--------------------------------
Comment(by fbissey):
Replying to [comment:13 leif]:
> Well, I think these are the relevant parts:
> {{{
> ...
> checking whether we can link against GMP... yes
> checking if gmp.h version and libgmp version are the same...
(5.0.1/5.0.1) yes
> checking for __gmpn_add_nc... yes
> checking for __gmpn_mod_34lsub1... yes
> checking for __gmpn_redc_1... no
> ...
> configure: Using asm redc code from directory powerpc64
> ...
> }}}
>
> So it's probably an upstream problem, either MPIR or ECM.
>
> Or should we pass `-force_cpusubtype_ALL`? (To the assembler?) I think
rather not.
>
> What happens on other PPCs?
>
> Can you try installing it with GMP 5.0.1?
>
A remark about installing with GMP 5. On Gentoo I had to apply the
following
for it to compile
{{{
# fixes for gmp-5
sed -i "s:__GMP_BITS_PER_MP_LIMB:GMP_LIMB_BITS:g" bestd.c mpmod.c
\
schoen_strass.c sp.h || die "failed to patch files for
gmp-5"
}}}
This is backward compatible with GMP 4.3. I am a bit surprised that with
the stuff
that mpir has deprecated, they didn't deprecate that as well.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5847#comment:16>
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.