[Bug lto/43467] LTO error "bytecode stream: trying to read 0 bytes after the end of the input buffer"

ccoutant at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jun 3 18:29:00 GMT 2010



------- 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



More information about the Gcc-bugs mailing list