#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):

 FWIW, with vanilla GLPK 4.55, `CFLAGS=-flto` works for me with GCC 4.7.4,
 but fails with GCC 4.9.1 (both with binutils 2.22).

 There've been major changes to LTO over time IIRC, so while the "new"
 errors are annoying, they're probably not too surprising.

 But it's a minor issue anyway, and apparently meanwhile modifying `CFLAGS`
 is sufficient to get around the failure, as opposed to modifying the
 sources which previously was necessary.

 [[BR]]

 Will your "spkg" be based on my previous one?  (Unfortunately my home
 directory is no longer accessible via HTTP, so you'd have to use `scp`
 instead, say.)

--
Ticket URL: <http://trac.sagemath.org/ticket/12703#comment:54>
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.

Reply via email to