octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: buildbot test failures


From: Dmitri A. Sergatskov
Subject: Re: buildbot test failures
Date: Wed, 12 Apr 2017 01:35:32 -0500

On Wed, Mar 15, 2017 at 4:06 PM, John W. Eaton <address@hidden> wrote:
​<...>​


The gcc-6-lto-debian build fails because of a mysterious problem saving and loading signed 32-bit integers to HDF5 files.
<...>

John,

I think the way buldbot slaves are configured to run lto optimization is not quite right.
One needs to set AR, NM, and RANLIB to gcc-ar, gcc-nm, and gcc-ranlib correspondingly.
The reason it is kind of works now is the lfat-lto-object preserves non-lto symbols which
nm/ar/ranlib would use. Perhaps this lead to some obscure problem like failing HDF5 test.

In any case I just build octave with

../configure CFLAGS="-flto=4" CXXFLAGS="-flto=4" FFLAGS="-flto=4" LDFLAGS="-flto=4" NM="gcc-nm" AR="gcc-ar" RANLIB="gcc-ranlib"

and it works fine and passes all the tests. (I am not sure if LDFLAGS is really needed).
So you may want to adjust flags accordingly.

Also -- clang's bug not linking graphicsmagick is gone (at least on Fedora), so the
--without-magick in clang configure could be dropped as well.


jwe



​Sincerely,

Dmitri.
--


reply via email to

[Prev in Thread] Current Thread [Next in Thread]