Since glibc-c.c has been added, a number of targets are configured to link with glibc-c.o, yet t-glibc is not in tmake_file - presumably because there was no need before to use ${tmake_file} - possibly even a reason not to use it - in the tmake_file setting for the affected targets in config.gcc.
This fixes this problem (still fails building libgcc) for bfin-uclibc: --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -966,7 +966,7 @@ bfin*-uclinux*) ;; bfin*-linux-uclibc*) tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h gnu-user.h linux.h glibc-stdint.h bfin/linux.h ./linux-sysroot-suffix.h" - tmake_file="bfin/t-bfin-linux t-slibgcc" + tmake_file="${tmake_file} bfin/t-bfin-linux t-slibgcc" use_collect2=no ;; bfin*-rtems*)
Author: aldot Date: Wed Apr 22 08:25:40 2015 New Revision: 222313 URL: https://gcc.gnu.org/viewcvs?rev=222313&root=gcc&view=rev Log: PR target/55144 building all-gcc for bfin-linux-uclibc resulted in build/genchecksum cp/cp-lang.o c-family/stub-objc.o ... glibc-c.o \ libbackend.a .. > cc1plus-checksum.c.tmp opening glibc-c.o: No such file or directory make[2]: *** [cc1-checksum.c] Error 1 Modified: trunk/gcc/ChangeLog trunk/gcc/config.gcc
Fixed on the trunk.
previous commit should address this