public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] PR target/55144: bfin: fix opening glibc-c.o: No such file or directory
@ 2015-04-08 18:37 Bernhard Reutner-Fischer
  2015-04-22  8:26 ` Bernhard Reutner-Fischer
  0 siblings, 1 reply; 2+ messages in thread
From: Bernhard Reutner-Fischer @ 2015-04-08 18:37 UTC (permalink / raw)
  To: gcc-patches; +Cc: Bernhard Reutner-Fischer, Bernd Schmidt, Jie Zhang

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(-)

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] PR target/55144: bfin: fix opening glibc-c.o: No such file or directory
  2015-04-08 18:37 [PATCH] PR target/55144: bfin: fix opening glibc-c.o: No such file or directory Bernhard Reutner-Fischer
@ 2015-04-22  8:26 ` Bernhard Reutner-Fischer
  0 siblings, 0 replies; 2+ messages in thread
From: Bernhard Reutner-Fischer @ 2015-04-22  8:26 UTC (permalink / raw)
  To: GCC Patches; +Cc: Bernhard Reutner-Fischer, Bernd Schmidt, Jie Zhang

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
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-22  8:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-08 18:37 [PATCH] PR target/55144: bfin: fix opening glibc-c.o: No such file or directory Bernhard Reutner-Fischer
2015-04-22  8:26 ` Bernhard Reutner-Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).