http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56142
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-01-29 23:04:53 UTC --- >checking for suffix of object files... configure: error: in > `/usr/local/src/gcc/objdir/x86_64-unknown-linux-gnu/libgcc': > configure: error: cannot compute suffix of object files: cannot compile This issue is not caused by the perl warning message. Please look into config.log in /usr/local/src/gcc/objdir/x86_64-unknown-linux-gnu/libgcc to see what the failure is. Most likely you don't have LD_LIBRARY_PATH set correctly.