#8664: Upgrade Sage's MPIR spkg to version 2.1.3
--------------------------------------------------------------------------------------------------------------------+
    Reporter:  was                                                              
                                    |         Owner:  GeorgSWeber               
       
        Type:  enhancement                                                      
                                    |        Status:  closed                    
       
    Priority:  major                                                            
                                    |     Milestone:  sage-4.7.2                
       
   Component:  packages                                                         
                                    |    Resolution:  fixed                     
       
    Keywords:  sd32, GMP ECM execstack Fedora 14 extension module library 
dependencies Darwin 11 MacOS X 10.7 Lion  |   Work_issues:                      
             
    Upstream:  N/A                                                              
                                    |      Reviewer:  Leif Leonhardy, Dmitrii 
Pasechnik
      Author:  Mike Hansen, Leif Leonhardy                                      
                                    |        Merged:  sage-4.7.2.alpha3         
       
Dependencies:  #5847                                                            
                                    |  
--------------------------------------------------------------------------------------------------------------------+

Comment(by strogdon):

 I'm not sure if this is the best place to report this since the ticket has
 been merged, but in building vanilla sage-4.7.2.alpha3 on x86,
 mpir-2.1.3.p4 fails with

 {{{
  ../strip_fPIC.sh ../yasm/yasm -I .. -f elf64 submul_1.as -o submul_1.o
 >/dev/null 2>&1
 /bin/bash ../libtool --mode=c
  ../mpn/m4-ccas --m4=m4 gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -fomit-
 frame-pointer -mtune=core2 -march=core2 -D__GMP_WITHIN_GMP -I..
 -DOPERATION_lshift -I. -I.. lshift.asm  -fPIC -DPIC -o .libs/lshift.o
 m4  -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_lshift -DPIC lshift.asm
 >tmp-lshift.s
  gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -fomit-frame-pointer
 -mtune=core2 -march=core2 -D__GMP_WITHIN_GMP -I.. -DOPERATION_lshift -I.
 -I.. tmp-lshift.s -fPIC -DPIC -o .libs/lshift.o
 tmp-lshift.s: Assembler messages:
 tmp-lshift.s:53: Error: bad register name `%rbx'
 tmp-lshift.s:54: Error: bad register name `%rdx'
 tmp-lshift.s:55: Error: bad register name `%rsi)'
 tmp-lshift.s:56: Error: bad register name `%rdi)'
 tmp-lshift.s:57: Error: bad register name `%rsi,%rbx,8)'
 tmp-lshift.s:58: Error: bad register name `%rax'
 tmp-lshift.s:59: Error: bad register name `%rdx'
 tmp-lshift.s:60: Error: bad register name `%rbx'
 tmp-lshift.s:64: Error: bad register name `%rsi,%rbx,8)'
 tmp-lshift.s:65: Error: bad register name `%rsi,%rbx,8)'
 tmp-lshift.s:66: Error: bad register name `%rsi,%rbx,8)'
 tmp-lshift.s:67: Error: bad register name `%r8'
 tmp-lshift.s:68: Error: bad register name `%rdx'
 tmp-lshift.s:69: Error: bad register name `%r11'
 tmp-lshift.s:70: Error: bad register name `%rsi,%rbx,8)'

 ...

 tmp-lshift.s:118: Error: bad register name `%rsi,%rbx,8)'
 tmp-lshift.s:119: Error: bad register name `%r8'
 tmp-lshift.s:120: Error: bad register name `%rdx'
 tmp-lshift.s:121: Error: bad register name `%r8'
 tmp-lshift.s:122: Error: bad register name `%r8'
 tmp-lshift.s:123: Error: bad register name `%rbx'
 make[4]: *** [lshift.lo] Error 1
 make[4]: Leaving directory
 `/storage/sage/sage-4.7.2.alpha3/spkg/build/mpir-2.1.3.p4/src/mpn'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory
 `/storage/sage/sage-4.7.2.alpha3/spkg/build/mpir-2.1.3.p4/src'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory
 `/storage/sage/sage-4.7.2.alpha3/spkg/build/mpir-2.1.3.p4/src'
 Error building MPIR.
 }}}
 I've never seen this before. The machine is running debian, but the sage
 build was done from within a gentoo prefix. So the build is basically one
 using gentoo. There doesn't seem to be a problem on amd64. I still have
 the build log.

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