Opened 8 years ago

Last modified 4 years ago

#12703 closed defect

GLPK fails to build with LTO (`gcc -flto ...`) — at Initial Version

Reported by: leif Owned by: leif
Priority: minor Milestone: sage-6.4
Component: packages: standard Keywords: link time optimization nm glpsol spkg upgrade update
Cc: ncohen, SimonKing, tscrim Merged in:
Authors: Reviewers:
Report Upstream: Reported upstream. Developers acknowledge bug. Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

Even the latest upstream version (4.47) fails to build when link-time optimization (LTO, gcc -flto ...) is enabled.

While configure shows an error message, it continues normally and doesn't exit with an error. Only later during the build, a shell syntax error caused by libtool makes the build finally fail. The solution is to re-autotoolize the package with more recent autotools.

I have an spkg with updated autogenerated files which also upgrades GLPK within Sage to the latest stable version, 4.47.

Change History (0)

Note: See TracTickets for help on using tickets.