[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45399] build failure with multiple flex sourc
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #45399] build failure with multiple flex source files using gcc Link Time Optimization (LTO) |
Date: |
Wed, 29 Jun 2016 19:24:26 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0 |
Update of bug #45399 (project octave):
Status: Patch Submitted => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #3:
I actually do not see a build failure on the default branch with GCC 5.4 and
-flto. I do however see the "one definition rule" warning messages, which are
what Robert's patch address.
I still see some link-time warnings from liboctave, someone could look at
silencing those if they are interested. But I'm not going to leave this report
open for that.
For future reference, I am able to build with the following variables
CFLAGS="-g -O2 -flto"
CXXFLAGS="-g -O2 -flto"
FFLAGS="-g -O2 -flto"
LDFLAGS="-flto"
AR=gcc-ar
NM=gcc-nm
RANLIB=gcc-ranlib
I slightly modified the patch and commit message and applied it on the default
branch to silence the warning messages, thank you Robert for your
contribution.
http://hg.savannah.gnu.org/hgweb/octave/rev/66f3c4e81721
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45399>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/