[Bug fortran/87341] gfortran can not link executables: _edata: invalid version 21 (max 4)

mi+gcc at aldan dot algebra.com gcc-bugzilla@gcc.gnu.org
Tue Sep 18 02:18:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87341

--- Comment #4 from mi+gcc at aldan dot algebra.com ---
(In reply to Andrew Pinski from comment #3)
> This is a binutils bug, in gold.
> --enable-gold
> 
> Please report this to binutils instead.

Is there a work-around, perhaps? Some additional command-line option I could
give to gfortran now to avoid rebuilding/reinstalling the entire gcc with
--disable-gold? (I already tried -fuse-ld=bfd to no avail.)

Also, this may indeed be a binutils bug, but all I did was run configure with
the advertised options -- and got an unusable Fortran compiler for my
troubles...

If --enable-languages=fortran is incompatible with --enable-gold, configure
should've errored (or warned) right there, should it not have?

If this is a known problem, then either this bug should be used to track it --
or the resolution should be DUPLICATE, with reference to the earlier bug
describing the same...

Thank you for the prompt response.


More information about the Gcc-bugs mailing list