#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 SimonKing):
Replying to [comment:5 leif]:
> To me this all smells more like a problem with the GCC setup (i.e., the
Sage GCC spkg)
Then it would probably be fair to say that it is a problem with how I
modified the GCC spkg, so that it supports graphite and lto in the first
place. The diff with respect to the spkg from #12369 is
{{{
#!diff
diff --git a/spkg-install b/spkg-install
--- a/spkg-install
+++ b/spkg-install
@@ -82,6 +82,8 @@
../src/configure \
--prefix="$SAGE_LOCAL" \
--with-local-prefix="$SAGE_LOCAL" \
+ --with-cloog="$SAGE_LOCAL" --with-ppl="$SAGE_LOCAL" \
+ --enable-lto \
--with-gmp="$SAGE_LOCAL" --with-mpfr="$SAGE_LOCAL" --with-
mpc="$SAGE_LOCAL" \
--with-system-zlib \
--disable-multilib \
}}}
And of course I also added a libelf spkg (not published yet, but it is
just upstream sources) and a cloog-ppl spkg (#12666).
Just for the record: Singular does build with the gcc from the modified
spkg, as soon as one drops -flto, while -floop* is fine.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12738#comment:6>
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.