http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49786
--- Comment #15 from Ian Lance Taylor <ian at airs dot com> 2011-07-21 19:56:28 UTC --- Martin: I was able to reproduce it by configuring using --with-ld to point to a newly built version of gold configured with --enable-plugins. Markus: That patch will fix the problem but will do the wrong thing in many cases, because the division will truncate. My exact gcc configure line: --enable-clocale=gnu' '--with-system-zlib' '--enable-shared' '--with-demangler-in-ld' '--enable-cloog-backend=isl' '--with-ppl=/home/iant/gnu/ppl-0.11-install' '--with-cloog=/home/iant/gnu/cloog-0.16.2-install' '--with-build-config=bootstrap-lto' '--with-fpmath=sse' '--with-ld=/usr/local/google/iant/gold/gold-objdir/gold/ld-new' '--enable-languages=c,c++,fortran,java,lto,objc The ld-new mentioned in the --with-ld option was mainline binutils configured with: --enable-gold --enable-plugins The ppl and cloog mentioned in the gcc configure line were downloaded from ftp://gcc.gnu.org/pub/gcc/infrastructure.