#12741: R fails to build with LTO
-------------------------+--------------------------------------------------
   Reporter:  SimonKing  |             Owner:  tbd     
       Type:  defect     |            Status:  new     
   Priority:  major      |         Milestone:  sage-5.0
  Component:  packages   |          Keywords:  R LTO   
Work issues:             |   Report Upstream:  N/A     
  Reviewers:             |           Authors:          
  Merged in:             |      Dependencies:          
   Stopgaps:             |  
-------------------------+--------------------------------------------------
 I took sage-5.0.beta9, replaced the ppl package by the one from #12672,
 added the cloog-ppl package from #12666, replaced the glpk package by the
 one from #12703, added a new libelf spkg, added the mpc and gcc spkgs from
 #12369 and modified the gcc spkg such that the gcc is built with support
 of loop optimization (graphite) and lto.

 Then, I tried to build Sage with rather high optimization:
 {{{
 king@mpc622:/mnt/local/king/SAGE/testinggcc/lto/sage-5.0.beta9$ echo
 $CFLAGS
 -O3 -march=native -floop-interchange -floop-strip-mine -floop-block -fno-
 strict-aliasing -flto
 king@mpc622:/mnt/local/king/SAGE/testinggcc/lto/sage-5.0.beta9$ echo
 $CXXFLAGS
 -O3 -march=native -floop-interchange -floop-strip-mine -floop-block -fno-
 strict-aliasing -flto
 king@mpc622:/mnt/local/king/SAGE/testinggcc/lto/sage-5.0.beta9$ echo
 $LDFLAGS
 -flto
 }}}

 It was needed to temporarily remove `-flto` in order to build Singular
 (see #12738). Later, R failed to build - see this
 
[http://boxen.math.washington.edu/home/SimonKing/SAGE/install_logs/r-2.14.0.p2.log
 install log].

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12741>
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