#12741: R fails to build with LTO
-----------------------------+----------------------------------------------
Reporter: SimonKing | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone: sage-5.0
Component: packages | Resolution:
Keywords: R LTO | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
-----------------------------+----------------------------------------------
Comment (by SimonKing):
I don't know R at all. In particular, in contrast to Singular at #12738, I
did not look at the source code and have no idea how compiler or linker
flags are dealt with in R.
What I find suspicious in the log is that only "gcc" is named in lines
such as
{{{
gcc -std=gnu99 -Wl,--export-dynamic -fopenmp
-L/mnt/local/king/SAGE/testinggcc/lto/sage-5.0.beta9/local/lib/ -flto -o
R.bin Rmain.o -L../../lib -lR
}}}
Can we be sure that really the "correct" gcc, namely the one in
`SAGE_LOCAL/...` created by the gcc spkg is used? Namely, my system gcc
does not support LTO.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12741#comment:1>
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.