#10252: ecm does not compile on some 32-bit Linux systems
------------------------+---------------------------------------------------
   Reporter:  jdemeyer  |       Owner:  tbd             
       Type:  defect    |      Status:  needs_work      
   Priority:  major     |   Milestone:  sage-4.6.1      
  Component:  packages  |    Keywords:  ecm spkg-install
     Author:            |    Upstream:  N/A             
   Reviewer:            |      Merged:                  
Work_issues:            |  
------------------------+---------------------------------------------------

Comment(by fbissey):

 Replying to [comment:14 leif]:
 > An IMHO better solution is to also add `-march=native` to `CFLAGS`,
 since this enables SSE (to be precise, allows SSE2 instructions) if
 supported by the processor (when `configure` defines `HAVE_SSE2`),
 ignoring `SAGE_FAT_BINARY` at least for the moment (unless ECM's
 `configure` has an option like `--disable-sse` or similar; I haven't
 really checked that yet, perhaps just `--enable-sse2=no` on ''32-bit''
 x86).

 You know that -march=native is only supported on x86 and amd64 cpus right?
 I can tell you first hand that the compilation will stop straight away on
 ppc.
 And then you will get Dave telling you it is not supported by other
 compilers.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10252#comment:19>
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.

Reply via email to