#5847: Update GMP-ECM to 6.3
--------------------------------------------+-------------------------------
   Reporter:  mabshoff                      |       Owner:  leif      
       Type:  enhancement                   |      Status:  needs_work
   Priority:  major                         |   Milestone:  sage-4.6.1
  Component:  packages                      |    Keywords:            
     Author:  Mike Hansen, Leif Leonhardy   |    Upstream:  N/A       
   Reviewer:  Leif Leonhardy                |      Merged:            
Work_issues:  include patch for 32-bit ppc  |  
--------------------------------------------+-------------------------------

Comment(by leif):

 Replying to [comment:26 jdemeyer]:
 > Replying to [comment:15 leif]:
 > > Jeroen, can you try configuring with `--disable-asm-redc`?
 > The build (outside of Sage) '''works'''.

 Well, I'm a bit unsure what to do now. I can of course include the patch,
 but that does not what we actually want (it's just a work-around).

 I think passing `-Wa,-force_cpusubtype_ALL` on MacOS PPCs should also work
 (which does '''not''' disable the assembly code, but avoids the odd
 assembler error, such that we get better performance).

 Note that this worked on Dima's '''G4''' with MPIR, so I expect it to work
 with a G5, too.

 Don't know if G3s run into the same problem, or support these
 instructions. We then might have to really disable the code on PPCs < G4.

 We could of course just test this in `spkg-install`, i.e. feed some
 extended instruction set assembly code to the assembler with
 `-force_cpusubtype_ALL` and see if we get an error before we disable the
 redc asm code. (I'd have to look what option `gas` takes on ''Linux''
 PPC.)

 Objections against adding yet another environment variable
 (`ECM_EXTRA_OPTS`, to add to ECM's `configure`, analoguous to
 `PARI_EXTRA_OPTS`), to ease working around potential problems showing up
 later?

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