#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):
Replying to [comment:31 jpflori]:
> What version of autotools did you use to reconfigure the build system?
Sorry for the delay...
I ''think'' I meanwhile do not even have the machine I tested this on.
But the versions I used should be reproducible from the autotools-
generated files [in my spkg]... ;-)
> Even with quite recent ones, I still get a failing behavior...
> That is a test with nm fails iduring configure, but the build goes on
and fails during the final linking.
That pretty much sounds like the original failure.
FWIW, I don't think I ever used `-flto` as part of `CC`, "just" in
`CFLAGS` and `LDFLAGS`.
Does your linker (and compiler) at all support LTO? (GCC version?
binutils version?)
[[BR]]
I'll see whether I find the time to look into this again the next days;
certainly not today, and presumably not tomorrow.
--
Ticket URL: <http://trac.sagemath.org/ticket/12703#comment:39>
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.