This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH][OBVIOUS] Fix profiledbootstrap.
- From: Martin Liška <mliska at suse dot cz>
- To: Markus Trippelsdorf <markus at trippelsdorf dot de>
- Cc: Jan Hubicka <hubicka at ucw dot cz>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Richard Biener <richard dot guenther at gmail dot com>
- Date: Fri, 27 Oct 2017 15:07:11 +0200
- Subject: [PATCH][OBVIOUS] Fix profiledbootstrap.
- Authentication-results: sourceware.org; auth=none
- References: <f61115af-55e1-8d59-545f-295f7e5b53cb@suse.cz> <20170529050407.GA15061@x4> <9203f3a8-3aa4-292b-1f2d-6749d3e6d0f7@suse.cz> <20170619103713.GB72026@kam.mff.cuni.cz> <a1959943-f196-da67-e391-3901ffe68d28@suse.cz> <20171025121926.GA238@x4>
Hello.
So eventually it looks needed fix is much simpler, one just need to rename a folder.
Patch can bootstrap on ppc64le-redhat-linux and survives regression tests.
I'm going to install it.
Martin
>From 028b5cc3865bdc77c185172de84627e140030303 Mon Sep 17 00:00:00 2001
From: marxin <mliska@suse.cz>
Date: Fri, 27 Oct 2017 12:21:02 +0200
Subject: [PATCH] Fix profiledbootstrap.
ChangeLog:
2017-10-27 Martin Liska <mliska@suse.cz>
* Makefile.tpl: Use proper name of folder as it was renamed
during transition to 4 stages.
* Makefile.in: Regenerate.
---
Makefile.in | 4 ++--
Makefile.tpl | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index 78db0982ba2..13d23915349 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -57174,8 +57174,8 @@ stageprofile-end::
stagefeedback-start::
@r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- for i in prev-*; do \
- j=`echo $$i | sed s/^prev-//`; \
+ for i in stageprofile-*; do \
+ j=`echo $$i | sed s/^stageprofile-//`; \
cd $$r/$$i && \
{ find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL); } && \
{ find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL); }; \
diff --git a/Makefile.tpl b/Makefile.tpl
index 5fcd7e358d9..1f23b79b4b2 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -1718,8 +1718,8 @@ stageprofile-end::
stagefeedback-start::
@r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- for i in prev-*; do \
- j=`echo $$i | sed s/^prev-//`; \
+ for i in stageprofile-*; do \
+ j=`echo $$i | sed s/^stageprofile-//`; \
cd $$r/$$i && \
{ find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL); } && \
{ find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL); }; \
--
2.14.2