public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* RFA (build): Avoid circular dependency
@ 2010-06-30  1:55 Joern Rennecke
  2010-11-04 13:12 ` Ping: " Joern Rennecke
  0 siblings, 1 reply; 24+ messages in thread
From: Joern Rennecke @ 2010-06-30  1:55 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 167 bytes --]

Because of PR44719, I grepped my build log for more odd make messages.
I've found this:
make[3]: Circular s-tm-texi <- ../../gcc/gcc/doc/tm.texi dependency dropped.



[-- Attachment #2: nocirc-diff --]
[-- Type: text/plain, Size: 2449 bytes --]

This is an unwanted consequence of having to check in the generated
$(srcdir)/doc/tm.texi.
Because of vpath, there is confusion between $(srcdir)/doc/tm.texi and tm.texi.
By giving tm.texi (the build dir one only) a different name, make can
distinguish the files.

Currently bootstrapping on i686-pc-linux-gnu.

2010-06-29  Joern Rennecke  <joern.rennecke@embecosm.com>

	* Makefile.in (tm.texi): Rename to new-tm.texi.

Index: Makefile.in
===================================================================
--- Makefile.in	(revision 161563)
+++ Makefile.in	(working copy)
@@ -3675,7 +3675,7 @@ s-constrs-h: $(MD_DEPS) build/genpreds$(
 	$(STAMP) s-constrs-h
 
 target-hooks-def.h: s-target-hooks-def-h; @true
-tm.texi: s-tm-texi; @true
+new-tm.texi: s-tm-texi; @true
 
 s-target-hooks-def-h: build/genhooks$(build_exeext)
 	$(RUN_GEN) build/genhooks$(build_exeext) > tmp-target-hooks-def.h
@@ -3689,8 +3689,8 @@ s-tm-texi: $(srcdir)/doc/tm.texi
 s-tm-texi: build/genhooks$(build_exeext) $(srcdir)/doc/tm.texi.in
 	$(RUN_GEN) build/genhooks$(build_exeext) \
 			$(srcdir)/doc/tm.texi.in > tmp-tm.texi
-	$(SHELL) $(srcdir)/../move-if-change tmp-tm.texi tm.texi
-	@if cmp -s $(srcdir)/doc/tm.texi tm.texi; then \
+	$(SHELL) $(srcdir)/../move-if-change tmp-tm.texi new-tm.texi
+	@if cmp -s $(srcdir)/doc/tm.texi new-tm.texi; then \
 	  $(STAMP) $@; \
 	elif test $(srcdir)/doc/tm.texi -nt $(srcdir)/doc/tm.texi.in \
 	  && test $(srcdir)/doc/tm.texi -nt $(srcdir)/doc/target.def; then \
@@ -3700,7 +3700,7 @@ s-tm-texi: build/genhooks$(build_exeext)
 	else \
 	  echo >&2 ; \
 	  echo Verify that you have permission to grant a GFDL license for all >&2 ; \
-	  echo new text in tm.texi, then copy it to $(srcdir)/doc/tm.texi. >&2 ; \
+	  echo new text in new-tm.texi, then copy it to $(srcdir)/doc/tm.texi. >&2 ; \
 	  false; \
 	fi
 
@@ -4153,7 +4153,7 @@ TEXI_GCC_FILES = gcc.texi gcc-common.tex
 TEXI_GCCINT_FILES = gccint.texi gcc-common.texi gcc-vers.texi		\
 	 contribute.texi makefile.texi configterms.texi options.texi	\
 	 portability.texi interface.texi passes.texi	\
-	 rtl.texi md.texi tm.texi hostconfig.texi fragments.texi	\
+	 rtl.texi md.texi new-tm.texi hostconfig.texi fragments.texi	\
 	 configfiles.texi collect2.texi headerdirs.texi funding.texi	\
 	 gnu.texi gpl_v3.texi fdl.texi contrib.texi languages.texi	\
 	 sourcebuild.texi gty.texi libgcc.texi cfg.texi tree-ssa.texi	\

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

end of thread, other threads:[~2010-11-21 23:53 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-30  1:55 RFA (build): Avoid circular dependency Joern Rennecke
2010-11-04 13:12 ` Ping: " Joern Rennecke
2010-11-04 13:55   ` Nathanael Nerode (GCC)
2010-11-05 12:09   ` Paolo Bonzini
2010-11-12 14:14     ` Ping^2: " Joern Rennecke
2010-11-12 15:02       ` Paolo Bonzini
2010-11-12 15:07         ` Paolo Bonzini
2010-11-12 15:46         ` Joern Rennecke
2010-11-12 15:50           ` Paolo Bonzini
2010-11-12 15:59             ` Paolo Bonzini
2010-11-12 16:15             ` Joern Rennecke
2010-11-12 16:31               ` Paolo Bonzini
2010-11-12 16:22             ` Joern Rennecke
2010-11-14 15:38               ` copying a timestamp (Was: Ping^2: RFA (build): Avoid circular dependency) Joern Rennecke
2010-11-14 15:42                 ` copying a timestamp Ralf Wildenhues
2010-11-14 15:51                   ` Joern Rennecke
2010-11-14 16:07                     ` Ralf Wildenhues
2010-11-14 20:28                       ` RFA: avoid circular dependency (using doc/../doc) (Was: Re: copying a timestamp) Joern Rennecke
2010-11-15 22:02                         ` Ralf Wildenhues
2010-11-14 16:14                   ` copying a timestamp Joern Rennecke
2010-11-15  6:30                 ` copying a timestamp (Was: Ping^2: RFA (build): Avoid circular dependency) Nathanael Nerode (GCC)
2010-11-15 10:46                   ` Paolo Bonzini
2010-11-21  0:21                   ` copying a timestamp Ralf Wildenhues
2010-11-22  5:49                     ` Nathanael Nerode (GCC)

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