I guess this is some configure flag missing, does anybody have a clue?
Yes, you must build with --enable-gold --enable-plugins :-)
Is that for gcc or for binutils (neither documents this in ./configure
--help) ?
I used it for both, but only get this to work with binutils CVS, is that
correct ?
Now, however, I get the following error:
gfortran -flto -use-linker-plugin main.f90 test1.f90 test2.f90
collect2: ld terminated with signal 6 [Aborted]
ld: /data03/vondele/gcc_lto/gcc/lto-plugin/lto-plugin.c:142:
parse_table_entry: Assertion `t <= 4' failed.
with
==> main.f90 <==
CALL S1
CALL S2
END
==> test1.f90 <==
SUBROUTINE S1
END SUBROUTINE
==> test2.f90 <==
SUBROUTINE S2
END SUBROUTINE S2
and similar for C based sources.
Thanks,
Joost