When multilibs are being used, but MULTILIB_OSDIRNAMES is not set (for example with --target=powerpc-linux) the generated libgcc.mk contains rules that don't create its target. In the case of powerpc-linux this is the rule for nof/libgcc_s_nof.so which actually creates libgcc_s_nof.so (without the directory prefix). The result is that the file is always rebuilt.
-- Summary: mklibgcc.in mishandles MULTILIB_OSDIRNAMES Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: schwab at suse dot de CC: gcc-bugs at gcc dot gnu dot org,jakub at gcc dot gnu dot org GCC target triplet: powerpc-*-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18524