[Bug lto/61418] [4.9/4.10 Regression] HDF5 build failure with -flto: libgfortran.spec: attempt to rename spec 'lib' to already defined spec 'liborig'

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 5 09:05:00 GMT 2014


Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
             Target|                            |x86_64-linux-gnu

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
I can reproduce it with the instructions from comment#2, it works fine when
dropping the unneeded linker path.

It seems to read libgfortran.spec twice.

I can reproduce the same issue with 4.8 when adding -flto and a similar
unneeded linker path.

So 4.8 doesn't really work (with LTO).

More information about the Gcc-bugs mailing list