#12738: Singular fails to build with LTO
-------------------------------------------------------------+--------------
       Reporter:  SimonKing                                  |         Owner:  
tbd     
           Type:  defect                                     |        Status:  
new     
       Priority:  major                                      |     Milestone:  
sage-5.0
      Component:  packages                                   |    Resolution:   
       
       Keywords:  singular lto gcc                           |   Work issues:   
       
Report Upstream:  Reported upstream. Little or no feedback.  |     Reviewers:   
       
        Authors:                                             |     Merged in:   
       
   Dependencies:                                             |      Stopgaps:   
       
-------------------------------------------------------------+--------------

Comment (by leif):

 Furthermore (this is Sage 5.0.beta10, which doesn't matter here, GCC
 4.6.3, but with binutils 2.22, and `LDFLAGS="-flto -fuse-linker-plugin"`):

 {{{
 lto1: internal compiler error: in lto_varpool_replace_node, at lto-
 symtab.c:304
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See <http://gcc.gnu.org/bugs.html> for instructions.
 lto-wrapper: g++-4.6.3 returned 1 exit status
 /usr/local/bin/ld: lto-wrapper failed
 collect2: ld returned 1 exit status
 make[4]: *** [Singular] Error 1
 make[4]: Leaving directory
 
`/data/leif/Sage/sage-5.0.beta10-gcc-4.6.3-LTO/spkg/build/singular-3-1-3-3.p6/src/Singular'
 make[3]: *** [install] Error 1
 make[3]: Leaving directory
 
`/data/leif/Sage/sage-5.0.beta10-gcc-4.6.3-LTO/spkg/build/singular-3-1-3-3.p6/src'
 make[2]: ***
 [/data/leif/Sage/sage-5.0.beta10-gcc-4.6.3-LTO/local/bin/Singular-3-1-3]
 Error 2
 make[2]: Leaving directory
 
`/data/leif/Sage/sage-5.0.beta10-gcc-4.6.3-LTO/spkg/build/singular-3-1-3-3.p6/src'
 Unable to build Singular.
 }}}

 But this ''might'' simply be a hidden "no space left on device" error, as
 `/tmp` is currently on my almost full root partition -- will retry
 later...

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