#14151: Update GMP-ECM to 6.4.4
-------------------------------+--------------------------------------------
Reporter: zimmerma | Owner: tbd
Type: enhancement | Status: new
Priority: major | Milestone: sage-5.8
Component: packages | Resolution:
Keywords: spkg | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
-------------------------------+--------------------------------------------
Comment (by leif):
Replying to [comment:3 zimmerma]:
> I wonder how sse2 can be enabled on a Pentium3, since configure.in only
enables it (when not requested by the user) for {{{pentium4-*-* |
viac7-*-* | i686-*-* | i786-*-*}}}.
Hmmm, it seems somehow `pentium3-*` gets mapped to `i686-*`, which then
triggers the use of SSE2 (if "supported"; the test apparently doesn't try
to ''run'' a program with SSE2 instructions, as mentioned).
Just tried configuring GMP-ECM 6.4.4-rc2 on a Pentium4 (i.e., a 32-bit
machine) with `--target=pentium3-linux-gnu`, which results in
{{{
...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
...
checking for SSE2 support... yes
...
config.status: linking ../../src/ecm-6.4.4-rc2/ecm-params.h.pentium4 to
ecm-params.h
config.status: linking ../../src/ecm-6.4.4-rc2/mul_fft-params.h.default to
mul_fft-params.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: Configuration:
configure: Build for host type i686-pc-linux-gnu
configure: CC=gcc-4.7.2, CFLAGS=-g -O2
configure: Linking GMP with -lgmp
configure: Not using asm redc code
configure: Using SSE2 instructions in NTT code
configure: Assertions disabled
configure: Shell command execution disabled
configure: OpenMP disabled
configure: Memory debugging disabled
}}}
(Similar for `--build=pentium3-linux-gnu`, and `configure ... pentium3
-linux-gnu`.)
> Unless we have a concrete example of a computer where it fails, I'm
reluctant to add a patch one could not test.
Well, it's a minor issue, and we could probably also work around that in
Sage's `spkg-install`, at least for the moment...
(I guess not many people will use a "stand-alone" GMP-ECM on such old
processors. ;-) )
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14151#comment:4>
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 http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.