BIRD 2.0.5 build failures on RHEL/CentOS 6 and 7
Ondrej Zajicek
santiago at crfreenet.org
Tue Aug 6 14:58:36 CEST 2019
On Tue, Aug 06, 2019 at 12:37:49AM +0200, Robert Scheck wrote:
> Hello Ondrej,
>
> On Mon, 05 Aug 2019, Ondrej Zajicek wrote:
> > I think we started to require newer bison (although it should be checked
> > by configure and complained there). We aim to be compatible with 5 year
> > old systems, but RHEL/CentOS 6 is too old even for that.
>
> while this is a good pointer indeed, it's unfortunately wrong. Using bison
> 3.0.4 (same version like RHEL/CentOS 7 uses) still leads to the same error.
>
> But following your pointer in general, I figured out that GCC 4.4.x causes
> the error, while GCC 4.8.x works. Looks like BIRD depends on a feature from
> GCC 4.5 (or newer, I didn't track this down further). Thanks though!
Yes, that is true. We probably should add some checks for that.
> > Not sure about that, it works on CentOS 7 in our Gitlab test build.
> >
> > It seems like our configure script improperly adds -flto even if CFLAGS /
> > LDFLAGS are expliclty set, and it is incompatible with your flags.
>
> Sounds like a bug in the configure script then, may you have a look to it,
> please?
Fixed, see attached patch.
--
Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-cflags.patch
Type: text/x-diff
Size: 2201 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20190806/489e0a4e/attachment.bin>
More information about the Bird-users
mailing list