#12830: Work around GCC 4.7.0 bug on ia64 and improve the GMP-ECM spkg
-------------------------------------------------------------------------------------------------------------------------------------------------+
       Reporter:  leif                                                          
                                                                 |         
Owner:  leif          
           Type:  enhancement                                                   
                                                                 |        
Status:  needs_work    
       Priority:  blocker                                                       
                                                                 |     
Milestone:  sage-5.0      
      Component:  packages                                                      
                                                                 |    
Resolution:                
       Keywords:  spkg -march=native assembler error Darwin MacOS __GMP_CFLAGS 
__MPIR_CFLAGS gmp.h GCC 4.7.0 ia64 Itanium bug impossible reload  |   Work 
issues:                
Report Upstream:  N/A                                                           
                                                                 |     
Reviewers:  Jeroen Demeyer
        Authors:  Leif Leonhardy                                                
                                                                 |     Merged 
in:                
   Dependencies:                                                                
                                                                 |      
Stopgaps:                
-------------------------------------------------------------------------------------------------------------------------------------------------+
Changes (by vbraun):

  * status:  positive_review => needs_work


Comment:

 As reported on https://groups.google.com/d/msg/sage-
 devel/F8Y6DP3eSLM/zQM7HKzLt68J, this fails on SLES10 x86_64 with
 {{{
 libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./x86_64
 -I/home/rajeev/bin/sage-5.0.beta14/local/include
 -I/home/rajeev/bin/sage-5.0.beta14/local/include -march=native -g -O3
 -fPIC -MT libecm_la-mul_fft.lo -MD -MP -MF .deps/libecm_la-mul_fft.Tpo
 -c mul_fft.c -o libecm_la-mul_fft.o
 : Assembler messages:
 :16797: Error: no such instruction: `pmulld %xmm2,%xmm0'
 :1023: Error: no such instruction: `pmulld %xmm2,%xmm0'
 :608: Error: no such instruction: `pmulld %xmm2,%xmm0'
 make[4]: *** [libecm_la-mul_fft.lo] Error 1
 }}}
 This seems to be a known feature of `gcc -march=native` sometimes emitting
 SSE4 asm that is not supported by the installed binutils. See also
 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32062

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