#11616: Upgrade MPIR to a more recent upstream release
----------------------------------------------------------------------------------------------------------------+
       Reporter:  leif                                                          
                                |         Owner:  leif      
           Type:  enhancement                                                   
                                |        Status:  needs_work
       Priority:  major                                                         
                                |     Milestone:  sage-5.0  
      Component:  packages                                                      
                                |    Resolution:            
       Keywords:  sd32, GMP, SandyBridge, Westmere, yasm re2c race condition, 
Linux ia64 Itanium GCC 4.7.0 bug  |   Work issues:            
Report Upstream:  N/A                                                           
                                |     Reviewers:            
        Authors:  Leif Leonhardy                                                
                                |     Merged in:            
   Dependencies:                                                                
                                |      Stopgaps:            
----------------------------------------------------------------------------------------------------------------+
Changes (by jdemeyer):

  * status:  needs_review => needs_work


Comment:

 This fails on hawk (OpenSolaris 06.2009-32), I'll investigate:
 {{{
 m4  -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_popcount -DPIC
 popcount.asm >tmp-popcount.s
 libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
 -D__GMP_WITHIN_GMP -I.. -DOPERATION_perfect_square_p -m32 -O2 -fomit-
 frame-pointer -mtune=core2 -march=core2 -c perfect_square_p.c  -fPIC -DPIC
 -o .libs/perfect_square_p.o
 libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
 -D__GMP_WITHIN_GMP -I.. -DOPERATION_bdivmod -m32 -O2 -fomit-frame-pointer
 -mtune=core2 -march=core2 -c bdivmod.c  -fPIC -DPIC -o .libs/bdivmod.o
 /bin/sh ../libtool --tag=CC   --mode=compile gcc -std=gnu99
 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo gcd |
 sed 's/_$//'`    -m32 -O2 -fomit-frame-pointer -mtune=core2 -march=core2
 -c -o gcd.lo gcd.c
 m4  -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_hamdist -DPIC
 hamdist.asm >tmp-hamdist.s
 libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
 -D__GMP_WITHIN_GMP -I.. -DOPERATION_gcd -m32 -O2 -fomit-frame-pointer
 -mtune=core2 -march=core2 -c gcd.c  -fPIC -DPIC -o .libs/gcd.o
 libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
 -D__GMP_WITHIN_GMP -I.. -DOPERATION_perfect_square_p -m32 -O2 -fomit-
 frame-pointer -mtune=core2 -march=core2 -c perfect_square_p.c -o
 perfect_square_p.o >/dev/null 2>&1
 /bin/sh ../libtool --tag=CC   --mode=compile gcc -std=gnu99
 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo gcd_1 |
 sed 's/_$//'`    -m32 -O2 -fomit-frame-pointer -mtune=core2 -march=core2
 -c -o gcd_1.lo gcd_1.c
 libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
 -D__GMP_WITHIN_GMP -I.. -DOPERATION_bdivmod -m32 -O2 -fomit-frame-pointer
 -mtune=core2 -march=core2 -c bdivmod.c -o bdivmod.o >/dev/null 2>&1
 libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
 -D__GMP_WITHIN_GMP -I.. -DOPERATION_gcd_1 -m32 -O2 -fomit-frame-pointer
 -mtune=core2 -march=core2 -c gcd_1.c  -fPIC -DPIC -o .libs/gcd_1.o
 /bin/sh ../libtool --tag=CC   --mode=compile gcc -std=gnu99
 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo gcdext
 | sed 's/_$//'`    -m32 -O2 -fomit-frame-pointer -mtune=core2 -march=core2
 -c -o gcdext.lo gcdext.c
 /bin/sh ../libtool --tag=CC   --mode=compile gcc -std=gnu99
 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo tdiv_qr
 | sed 's/_$//'`    -m32 -O2 -fomit-frame-pointer -mtune=core2 -march=core2
 -c -o tdiv_qr.lo tdiv_qr.c
 /bin/sh ../libtool --tag=CC   --mode=compile gcc -std=gnu99
 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo
 jacobi_base | sed 's/_$//'`    -m32 -O2 -fomit-frame-pointer -mtune=core2
 -march=core2  -c -o jacobi_base.lo jacobi_base.c
 libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
 -D__GMP_WITHIN_GMP -I.. -DOPERATION_gcd_1 -m32 -O2 -fomit-frame-pointer
 -mtune=core2 -march=core2 -c gcd_1.c -o gcd_1.o >/dev/null 2>&1
 libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
 -D__GMP_WITHIN_GMP -I.. -DOPERATION_gcdext -m32 -O2 -fomit-frame-pointer
 -mtune=core2 -march=core2 -c gcdext.c  -fPIC -DPIC -o .libs/gcdext.o
 libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
 -D__GMP_WITHIN_GMP -I.. -DOPERATION_tdiv_qr -m32 -O2 -fomit-frame-pointer
 -mtune=core2 -march=core2 -c tdiv_qr.c  -fPIC -DPIC -o .libs/tdiv_qr.o
 libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
 -D__GMP_WITHIN_GMP -I.. -DOPERATION_jacobi_base -m32 -O2 -fomit-frame-
 pointer -mtune=core2 -march=core2 -c jacobi_base.c  -fPIC -DPIC -o
 .libs/jacobi_base.o
 /bin/sh ../libtool --tag=CC   --mode=compile gcc -std=gnu99
 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo get_d |
 sed 's/_$//'`    -m32 -O2 -fomit-frame-pointer -mtune=core2 -march=core2
 -c -o get_d.lo get_d.c
 libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
 -D__GMP_WITHIN_GMP -I.. -DOPERATION_gcd -m32 -O2 -fomit-frame-pointer
 -mtune=core2 -march=core2 -c gcd.c -o gcd.o >/dev/null 2>&1

 m4:hamdist.asm:41 bad macro name
 define(,1)
 libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
 -D__GMP_WITHIN_GMP -I.. -DOPERATION_get_d -m32 -O2 -fomit-frame-pointer
 -mtune=core2 -march=core2 -c get_d.c  -fPIC -DPIC -o .libs/get_d.o
 /bin/sh ../libtool --tag=CC   --mode=compile gcc -std=gnu99
 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo
 mullow_n | sed 's/_$//'`    -m32 -O2 -fomit-frame-pointer -mtune=core2
 -march=core2  -c -o mullow_n.lo mullow_n.c
 /bin/sh ../libtool --tag=CC   --mode=compile gcc -std=gnu99
 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo
 mulhigh_n | sed 's/_$//'`    -m32 -O2 -fomit-frame-pointer -mtune=core2
 -march=core2  -c -o mulhigh_n.lo mulhigh_n.c
 libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
 -D__GMP_WITHIN_GMP -I.. -DOPERATION_jacobi_base -m32 -O2 -fomit-frame-
 pointer -mtune=core2 -march=core2 -c jacobi_base.c -o jacobi_base.o
 >/dev/null 2>&1
 libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
 -D__GMP_WITHIN_GMP -I.. -DOPERATION_mullow_n -m32 -O2 -fomit-frame-pointer
 -mtune=core2 -march=core2 -c mullow_n.c  -fPIC -DPIC -o .libs/mullow_n.o

 m4:popcount.asm:41 bad macro name
 define(,1)
 make[4]: *** [popcount.lo] Error 1
 /bin/sh ../libtool --tag=CC   --mode=compile gcc -std=gnu99
 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo
 mullow_n_basecase | sed 's/_$//'`    -m32 -O2 -fomit-frame-pointer
 -mtune=core2 -march=core2  -c -o mullow_n_basecase.lo mullow_n_basecase.c
 libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
 -D__GMP_WITHIN_GMP -I.. -DOPERATION_mulhigh_n -m32 -O2 -fomit-frame-
 pointer -mtune=core2 -march=core2 -c mulhigh_n.c  -fPIC -DPIC -o
 .libs/mulhigh_n.o
 libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
 -D__GMP_WITHIN_GMP -I.. -DOPERATION_mullow_n_basecase -m32 -O2 -fomit-
 frame-pointer -mtune=core2 -march=core2 -c mullow_n_basecase.c  -fPIC
 -DPIC -o .libs/mullow_n_basecase.o
 libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
 -D__GMP_WITHIN_GMP -I.. -DOPERATION_get_d -m32 -O2 -fomit-frame-pointer
 -mtune=core2 -march=core2 -c get_d.c -o get_d.o >/dev/null 2>&1
 /bin/sh ../libtool --tag=CC   --mode=compile gcc -std=gnu99
 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo
 mullow_basecase | sed 's/_$//'`    -m32 -O2 -fomit-frame-pointer
 -mtune=core2 -march=core2  -c -o mullow_basecase.lo mullow_basecase.c
 libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
 -D__GMP_WITHIN_GMP -I.. -DOPERATION_mullow_n -m32 -O2 -fomit-frame-pointer
 -mtune=core2 -march=core2 -c mullow_n.c -o mullow_n.o >/dev/null 2>&1
 /bin/sh ../libtool --tag=CC   --mode=compile gcc -std=gnu99
 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo redc_1
 | sed 's/_$//'`    -m32 -O2 -fomit-frame-pointer -mtune=core2 -march=core2
 -c -o redc_1.lo redc_1.c
 make[4]: *** [hamdist.lo] Error 1
 }}}

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