#10252: ecm does not compile on some 32-bit Linux systems
------------------------+---------------------------------------------------
Reporter: jdemeyer | Owner: tbd
Type: defect | Status: new
Priority: blocker | Milestone: sage-4.6.1
Component: packages | Keywords: ecm spkg-install
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
Comment(by zimmerma):
Replying to [comment:3 jdemeyer]:
> Replying to [comment:2 zimmerma]:
> > What does {{{grep CFLAGS gmp.h}}} give on that machine?
>
> On my machine (32-bit Gentoo Linux Pentium D), I get with the mpir
header installed by Sage:
> {{{
> #define __GMP_CFLAGS "-g -O3 "
> #define __MPIR_CFLAGS "-g -O3 "
> }}}
>
> With the system-wide {{{/usr/include/gmp.h}}}, I get
> {{{
> #define __GMP_CFLAGS "-pipe -march=nocona -O2 -mfpmath=sse"
> }}}
the spkg should work with the system-wide CFLAGS value. With {{{-g -O3}}}
it seems {{{HAVE_SSE2}}} is defined but SSE2 is not supported.
What is strange is that the GMP-ECM configure checks if SSE2 is really
supported,
and if it is not the SSE2 code should not be compiled.
Do you confirm that the upstream package works with {{{CFLAGS=-g -O3}}}?
Paul
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10252#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 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.