#12703: GLPK fails to build with LTO (`gcc -flto ...`)
-------------------------------------------------+-------------------------
Reporter: leif | Owner: leif
Type: defect | Status:
Priority: minor | needs_review
Component: packages: standard | Milestone: sage-6.4
Keywords: link time optimization nm | Resolution:
glpsol spkg upgrade update | Merged in:
Authors: Leif Leonhardy | Reviewers: Nathann
Report Upstream: Reported upstream. Developers | Cohen
acknowledge bug. | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------------------------+-------------------------
Comment (by leif):
Ahem, from `SPKG.txt`:
{{{
To update the autotools[-generated] files, do the following:
cd src/
libtoolize --copy --force
aclocal -I m4
autoconf
autoheader
automake --add-missing --copy
(You'll of course need current versions of m4, libtool, autoconf and
automake to produce files that support/work with LTO. To check this,
it is sufficient to try `CFLAGS="-flto" ./configure && make`; you need
a recent version of GCC supporting LTO as well.)
And don't forget to afterwards remove left-over temporary files:
make distclean
rm -rf autom4te.cache config.h.in~
(I used m4 1.4.16, libtool 2.4.2, autoconf 2.68 and automake 1.11.3
to update the files for the glpk-4.47.p0 spkg.) -leif (03/2012)
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/12703#comment:42>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.