------- Comment #6 from jakub at gcc dot gnu dot org 2010-09-17 13:57 ------- With -r -nostdlib when -lm is mentioned on the command line, it is looking for libm.a. Guess you have it installed on one box and not on the other one. That said, the tests really shouldn't have -lm on their link line.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45702