#8664: Upgrade Sage's MPIR spkg to version 2.1.3 or later
-------------------------------------------+--------------------------------
   Reporter:  was                          |       Owner:  GeorgSWeber          
                                            
       Type:  enhancement                  |      Status:  needs_work           
                                            
   Priority:  major                        |   Milestone:  sage-4.6.1           
                                            
  Component:  packages                     |    Keywords:  GMP ECM execstack 
Fedora 14 extension module library dependencies
     Author:  Mike Hansen, Leif Leonhardy  |    Upstream:  N/A                  
                                            
   Reviewer:  Leif Leonhardy               |      Merged:                       
                                            
Work_issues:                               |  
-------------------------------------------+--------------------------------

Comment(by leif):

 Replying to [comment:47 dimpase]:
 > Replying to [comment:33 leif]:
 >
 > I tried to build mpir-2.1.3.p0.spkg on MacOSX 10.5 PPC, and it did not
 work;
 > sage -f mpir-2.1.3.p0.spkg bails out  with [...]
 {{{
 ...
 tmp-popcount.s:127:vspltisb vector instruction is optional for the PowerPC
 (not allowed without -force_cpusubtype_ALL option)
 ...
 }}}

 Thanks for testing this.

 Would adding `-Wa,-force_cpusubtype_ALL` on MacOS PPCs work? (Unless
 `SAGE_FAT_BINARY=yes`... Don't know what to do in that case, i.e. if
 `--enable-fat` works in that case, too.)

 (I think PPC implies [32-bit] MacOS X 10.4 or 10.5 in Sage.)

 Or do we have to make further distinctions on the CPU type?

 For 32-bit '''x86''' builds on MacOS X < 10.6 we currently remove a lot of
 assembly files:
 {{{
 #!sh
 remove_pic_osx_32_bit()
 {
     # Assumes we are in src/
     echo "Deleting assembly files which depend on PIC assembly" \
         "working or 32 bit OSX on Intel hardware..."
     rm mpn/x86/dive_1.asm
     rm mpn/x86/diveby3.asm
     rm mpn/x86/pentium4/sse2/dive_1.asm
     rm mpn/x86/pentium4/sse2/mode1o.asm
     rm mpn/x86/pentium4/sse2/diveby3.asm
     rm mpn/x86/pentium4/mmx/popham.asm
     rm mpn/x86/pentium4/mmx/rshift.asm
     rm mpn/x86/p6/mode1o.asm
     rm mpn/x86/p6/dive_1.asm
     rm mpn/x86/pentium/hamdist.asm
     rm mpn/x86/pentium/mod_1.asm
     rm mpn/x86/pentium/popcount.asm
     rm mpn/x86/pentium/mode1o.asm
     rm mpn/x86/pentium/dive_1.asm
 }
 }}}

 We should report this upstream. Bill, can you forward this?

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