PR target/55144: bfin: fix opening glibc-c.o: No such file or directory
diff mbox

Message ID 1428518228-29728-1-git-send-email-rep.dot.nop@gmail.com
State New
Headers show

Commit Message

Bernhard Reutner-Fischer April 8, 2015, 6:37 p.m. UTC
building all-gcc for bfin-linux-uclibc results 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

Fix this by prepending tmake_file which nowadays consists of t-slibgcc
t-linux t-glibc. Remove the already listed tmake_file entries.

Fixes all-gcc config-list.mk build for bfin-linux-uclibc.
Ok for trunk?

gcc/ChangeLog

	PR target/55144
	* config.gcc (bfin*-linux-uclibc*): Prepend tmake_file and
	remove already contained t-files.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Cc: Bernd Schmidt <bernds@codesourcery.com>
Cc: Jie Zhang <jzhang918@gmail.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
---
 gcc/config.gcc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bernhard Reutner-Fischer April 22, 2015, 8:26 a.m. UTC | #1
On 8 April 2015 at 20:37, Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com> wrote:
> building all-gcc for bfin-linux-uclibc results 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
>
> Fix this by prepending tmake_file which nowadays consists of t-slibgcc
> t-linux t-glibc. Remove the already listed tmake_file entries.
>
> Fixes all-gcc config-list.mk build for bfin-linux-uclibc.
> Ok for trunk?

This was OKed by Jeff and committed to trunk as r222313.
thanks,
>
> gcc/ChangeLog
>
>         PR target/55144
>         * config.gcc (bfin*-linux-uclibc*): Prepend tmake_file and
>         remove already contained t-files.
>
> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
> Cc: Bernd Schmidt <bernds@codesourcery.com>
> Cc: Jie Zhang <jzhang918@gmail.com>
> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
> ---
>  gcc/config.gcc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/config.gcc b/gcc/config.gcc
> index cb08a5c..ddbd57b 100644
> --- a/gcc/config.gcc
> +++ b/gcc/config.gcc
> @@ -1118,7 +1118,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 t-linux"
> +       tmake_file="${tmake_file} bfin/t-bfin-linux"
>         use_collect2=no
>         ;;
>  bfin*-rtems*)
> --
> 2.1.4
>

Patch
diff mbox

diff --git a/gcc/config.gcc b/gcc/config.gcc
index cb08a5c..ddbd57b 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1118,7 +1118,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 t-linux"
+	tmake_file="${tmake_file} bfin/t-bfin-linux"
 	use_collect2=no
 	;;
 bfin*-rtems*)