------- Comment #1 from pinskia at gcc dot gnu dot org 2009-11-11 05:39 ------- A simple test like: gcc -r t.o t1.o -nostdlib -lm -v -B /home/pinskia/src/gcc/local/gcc/objdir/gcc Works so I don't know what is going wrong with your build.
The only thing I can think of is that your ld is build incorrectly and does not include /lib /usr/lib by default. You are the only one who has this failure from what I can tell from the testresults too. See http://gcc.gnu.org/ml/gcc-testresults/2009-11/msg00875.html for an example where it works (and yes that includes lto testing too because of the C++ failures). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42001