On Linux/ia32, this patch: http://gcc.gnu.org/ml/gcc-patches/2009-10/msg01547.html
caused: Executing on host: /export/build/gnu/gcc/build-i686-linux/gcc/xgcc -B/export/build/gnu/gcc/build-i686-linux/gcc/ -r -nostdlib -c -o c_lto_20081212-1_0.o /net/gnu-13/export/gnu/src/gcc/gcc/gcc/testsuite/gcc.dg/lto/20081212-1_0.c (timeout = 300) PASS: gcc.dg/lto/20081212-1 c_lto_20081212-1_0.o assemble, -r -nostdlib Executing on host: /export/build/gnu/gcc/build-i686-linux/gcc/xgcc -B/export/build/gnu/gcc/build-i686-linux/gcc/ c_lto_20081212-1_0.o -r -nostdlib -lm -o gcc-dg-lto-20081212-1-01 (timeout = 300) /usr/local/bin/ld: cannot find -lm^M collect2: ld returned 1 exit status^M compiler exited with status 1 output is: /usr/local/bin/ld: cannot find -lm^M collect2: ld returned 1 exit status^M FAIL: gcc.dg/lto/20081212-1 c_lto_20081212-1_0.o-c_lto_20081212-1_0.o link UNRESOLVED: gcc.dg/lto/20081212-1 c_lto_20081212-1_0.o-c_lto_20081212-1_0.o execute -r -nostdlib It may also cause PR 41913. -- Summary: LTO test failures Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hjl dot tools at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42001