------- Comment #4 from ccoutant at gcc dot gnu dot org 2010-06-03 18:29 ------- > Cary - why does lto-plugin get invoked when gold has errors?
Gold doesn't stop on these kinds of errors -- it proceeds to the end of the link to try to diagnose as many errors as possible. I'm not sure why a multiple-definition error would cause this problem in lto1, though. Nothing should be preventing the plugin from generating valid IR files, unless the presence of the duplicate definition is causing a different problem inside either the plugin itself or lto1. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43467