http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60567

--- Comment #7 from Tobias Burnus <burnus at gcc dot gnu.org> ---
The gcc/configure check has the following comment:
    # Require GNU ld or gold 2.21+ for plugin support by default.
    # Allow -fuse-linker-plugin to enable plugin support in GNU gold 2.20.

In the driver the difference comes via HAVE_LTO_PLUGIN - and only when set, the
.res files are produced. On the CentOS6 machine, Binutils is too old, hence
also -fuse-linker-plugin is not supported.

Regarding this PR: I think either LTO should be disabled with an error message
or lto1 be modified to not ICE when the .res data is not available.

Reply via email to