public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
To: gcc-patches@gcc.gnu.org
Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>,
	Bernd Schmidt <bernds@codesourcery.com>,
	Jie Zhang <jzhang918@gmail.com>
Subject: [PATCH] PR target/55144: bfin: fix opening glibc-c.o: No such file or directory
Date: Wed, 08 Apr 2015 18:37:00 -0000	[thread overview]
Message-ID: <1428518228-29728-1-git-send-email-rep.dot.nop@gmail.com> (raw)

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

             reply	other threads:[~2015-04-08 18:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-08 18:37 Bernhard Reutner-Fischer [this message]
2015-04-22  8:26 ` Bernhard Reutner-Fischer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1428518228-29728-1-git-send-email-rep.dot.nop@gmail.com \
    --to=rep.dot.nop@gmail.com \
    --cc=bernds@codesourcery.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jzhang918@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).