http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49992
--- Comment #9 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-08-08 18:31:02 UTC --- > It doesn't seem to me to have much to do with lto - it seems a build issue. > I.E. one should not be including two different implementations of the > diagnostics on the same link line. I agree!-) BTW your patch in comment #6 does not solve the problem with the configure in comment #4 (with --enable-checking=release).