From: Paolo Bonzini <paolo.bonzini@lu.unisi.ch>
To: Paolo Bonzini <paolo.bonzini@lu.unisi.ch>,
gcc-patches@gcc.gnu.org, Mark Mitchell <mark@codesourcery.com>,
Arnaud Charlet <charlet@adacore.com>
Subject: Re: libgcc move to the top level
Date: Fri, 29 Dec 2006 16:31:00 -0000 [thread overview]
Message-ID: <459541D9.2010604@lu.unisi.ch> (raw)
In-Reply-To: <20061229161307.GA13106@nevyn.them.org>
[-- Attachment #1: Type: text/plain, Size: 555 bytes --]
> I agree that disabling gcc-only bootstrap beforehand is a good idea; I
> don't think it makes a lot of difference if we wait a week, though,
> since if anyone's using --disable-bootstrap and make bootstrap to test
> then it will break when we disable it, not when we merge. Shall I post
> a patch to delete the top level Makefile's bootstrap targets for
> --disable-bootstrap?
I can take care of that, and check it in to gcc and src (see attached
patch). The garbage collection of gcc/Makefile.in will wait after the
toplevel libgcc merge.
Paolo
[-- Attachment #2: no-gcc-bootstrap.patch --]
[-- Type: text/plain, Size: 3654 bytes --]
2006-12-29 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (GCC_STRAP_TARGET, all-prebootstrap): Remove.
* Makefile.in: Regenerate.
Index: Makefile.tpl
===================================================================
--- Makefile.tpl (revision 120147)
+++ Makefile.tpl (working copy)
@@ -1115,60 +1115,6 @@ ENDIF raw_cxx +]
# ----------
@if gcc-no-bootstrap
-# GCC has some more recursive targets, which trigger the old
-# (but still current, until the toplevel bootstrap project
-# is finished) compiler bootstrapping rules.
-
-GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
-.PHONY: $(GCC_STRAP_TARGETS)
-$(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
- @r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(HOST_EXPORTS) \
- echo "Bootstrapping the compiler"; \
- $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
- cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
- @r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- case "$@" in \
- *bootstrap4-lean ) \
- msg="Comparing stage3 and stage4 of the compiler"; \
- compare=compare3-lean ;; \
- *bootstrap4 ) \
- msg="Comparing stage3 and stage4 of the compiler"; \
- compare=compare3 ;; \
- *-lean ) \
- msg="Comparing stage2 and stage3 of the compiler"; \
- compare=compare-lean ;; \
- * ) \
- msg="Comparing stage2 and stage3 of the compiler"; \
- compare=compare ;; \
- esac; \
- $(HOST_EXPORTS) \
- echo "$$msg"; \
- cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
- @r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
- echo "Building runtime libraries"; \
- $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
-
-profiledbootstrap: all-prebootstrap configure-gcc
- @r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(HOST_EXPORTS) \
- $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
- echo "Bootstrapping training compiler"; \
- cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
- @r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(HOST_EXPORTS) \
- echo "Building feedback based compiler"; \
- cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
- @r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
- echo "Building runtime libraries"; \
- $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
-
.PHONY: cross
cross: all-build all-gas all-ld
@r=`${PWD_COMMAND}`; export r; \
@@ -1554,7 +1500,6 @@ configure-target-[+module+]: maybe-all-t
+][+ FOR bootstrap_stage +]
[+ (make-dep (dep-stage) "") +][+
ENDFOR bootstrap_stage +]
-all-prebootstrap: [+ (dep-target "" "on" (exist? "hard")) +]
[+ == "bootstrap"
+][+ FOR bootstrap_stage +]
[+ (make-dep (dep-stage) (dep-stage)) +][+
@@ -1562,17 +1507,6 @@ all-prebootstrap: [+ (dep-target "" "on"
[+ ESAC +][+
ENDFOR dependencies +]
-# Non-toplevel bootstrap rules must depend on several packages, to be built
-# before gcc. Another wart that will go away, hopefully soon.
-@if gcc-no-bootstrap
-[+ FOR host_modules +][+
- IF (and (not (= (get "module") "gcc"))
- (hash-ref boot-modules (get "module"))) +]
-all-prebootstrap: maybe-all-[+module+][+
- ENDIF +][+
-ENDFOR host_modules +]
-@endif gcc-no-bootstrap
-
CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
GDB_TK = @GDB_TK@
INSTALL_GDB_TK = @INSTALL_GDB_TK@
next prev parent reply other threads:[~2006-12-29 16:31 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-17 3:15 Daniel Jacobowitz
2006-12-17 3:48 ` Daniel Jacobowitz
2006-12-19 16:09 ` Paolo Bonzini
2006-12-19 19:18 ` Daniel Jacobowitz
2006-12-19 20:06 ` Paolo Bonzini
2006-12-19 20:26 ` Daniel Jacobowitz
2006-12-20 7:56 ` Paolo Bonzini
2006-12-29 2:09 ` Daniel Jacobowitz
2006-12-29 10:55 ` Paolo Bonzini
2006-12-20 0:23 ` Mike Stump
2006-12-20 0:35 ` Daniel Jacobowitz
2006-12-29 11:27 ` Paolo Bonzini
2006-12-29 14:50 ` Daniel Jacobowitz
2006-12-29 15:29 ` Paolo Bonzini
2006-12-29 16:13 ` Daniel Jacobowitz
2006-12-29 16:31 ` Paolo Bonzini [this message]
2006-12-29 16:36 ` Daniel Jacobowitz
2006-12-29 16:42 ` Paolo Bonzini
2006-12-29 18:01 ` Daniel Jacobowitz
2006-12-30 8:20 ` Paolo Bonzini
2006-12-30 20:19 ` Daniel Jacobowitz
2006-12-31 18:43 ` Paolo Bonzini
2006-12-31 19:56 ` Daniel Jacobowitz
2007-01-01 18:10 ` Paolo Bonzini
2007-01-01 21:14 ` Mike Stump
2007-01-08 18:17 ` Steve Ellcey
2007-01-08 18:47 ` Daniel Jacobowitz
2007-01-08 22:32 ` Steve Ellcey
2007-01-08 22:51 ` Daniel Jacobowitz
2007-01-04 12:32 ` Andreas Schwab
2007-01-04 14:05 ` Daniel Jacobowitz
2007-01-04 14:57 ` Marcin Dalecki
2007-01-04 15:02 ` Daniel Jacobowitz
2007-01-04 15:09 ` Paolo Bonzini
2007-01-04 15:32 ` Marcin Dalecki
2007-01-04 15:39 ` Paolo Bonzini
2007-01-04 18:05 ` Marcin Dalecki
2007-01-04 16:13 ` Marcin Dalecki
2007-01-04 16:34 ` Daniel Jacobowitz
2007-01-04 17:13 ` Marcin Dalecki
2007-01-04 16:52 ` Daniel Jacobowitz
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=459541D9.2010604@lu.unisi.ch \
--to=paolo.bonzini@lu.unisi.ch \
--cc=charlet@adacore.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=mark@codesourcery.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).