When building the compiler without bootstrapping, ie. with make all-gcc, the file libgcc_s_nof.so.1 is always rebuilt and a bogus libgcc_s_nof.so.1. (with a trailing dot) is created. During this rebuild basename is called without argument because $(STAGE_PREFIX) is empty.
-- Summary: "basename: too few arguments" when building without bootstrap Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: other AssignedTo: hjl at lucon dot org ReportedBy: schwab at suse dot de CC: gcc-bugs at gcc dot gnu dot org GCC target triplet: powerpc-*-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18508