#12751: Sage fails to build with GCC-4.7.0
--------------------------------------------------------------+-------------
       Reporter:  mariah                                      |         Owner:  
GeorgSWeber
           Type:  defect                                      |        Status:  
new        
       Priority:  blocker                                     |     Milestone:  
sage-5.0   
      Component:  build                                       |    Resolution:  
           
       Keywords:  GCC 4.7.0 C++11 -fpermissive compiler bugs  |   Work issues:  
           
Report Upstream:  N/A                                         |     Reviewers:  
           
        Authors:                                              |     Merged in:  
           
   Dependencies:                                              |      Stopgaps:  
           
--------------------------------------------------------------+-------------

Comment (by leif):

 Replying to [comment:10 leif]:
 > Replying to [comment:9 leif]:
 > > Replying to [comment:5 leif]:
 > > > R now fails to build for me (when byte-compiling), interestingly
 only with ''less'' fancy GCC optimizations enabled.  (It did build with
 LTO and Graphite loop optimization enabled).
 > >
 > > This is ''really'' weird: R ''does'' build if I just in addition
 enable LTO... 8)
 >
 > ... and also passes its test suite with that.

 On 32-bit Solaris SPARC (skynet machine mark2), R segfaults during byte-
 compiling package "base" when compiled with `-O3`; using `-O2` instead
 apparently works.

 (The setup -- when just sourcing `/usr/local/skynet_bash_profile` -- on
 the Solaris machines is currently quite broken anyway.  In addition, R
 2.14.0 messes up `LD_LIBRARY_PATH` such that the dynamic linker picks up
 an incompatible [and totally outdated] version of `libgcc_s.so.1`, so `R`
 cannot be run, which of course breaks the build as well.  A work-around is
 to create a symbolic link to the proper version in e.g.
 `$SAGE_LOCAL/lib/`.)

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