#11084: Singular 3-1-1-4.p4 fails to build with gcc 4.6.0.
----------------------------------------------------------------------------------------+
   Reporter:  drkirkby                                                          
        |       Owner:  GeorgSWeber                                 
       Type:  defect                                                            
        |      Status:  positive_review                             
   Priority:  critical                                                          
        |   Milestone:  sage-4.7                                    
  Component:  build                                                             
        |    Keywords:                                              
     Author:  David Kirkby                                                      
        |    Upstream:  None of the above - read trac for reasoning.
   Reviewer:  AlexanderDreyer                                                   
        |      Merged:                                              
Work_issues:  Testing on  Linux, OS X, Solaris 10 (both x86 and SPARC) with gcc 
4.6.0.  |  
----------------------------------------------------------------------------------------+

Comment(by AlexanderDreyer):

 > > > This seems to be the right solution
 > >
 > > I completely disagree.  Dropping the optimization is at best a
 workaround.
 Of course, I meant a solution for now (let's call this workaround).

 I also wanted to point out, that upstream Singular uses different
 optimization levels for different parts of the system. Some parts are
 actually compiled with -O3 (not the one which causes problems).
 So I had wanted to suggest, that the spkg should not increase the
 optimization level over the levels, respectively, intended by the upstream
 developers. (It's known that -O3 sometimes yields performance issues.)

 For some reason the Sage-package forces a unified optimization setting for
 all parts of Singular. Avoiding this would be the best of course.

 BTW: I'm pretty sure, the issue is a compiler bug: It complies without
 problems, but the linker looks for a (C++) function, whose mangled name
 doesn't fit what the linker expects.

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