public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
From: gdb-buildbot@sergiodj.net
To: gdb-testers@sourceware.org
Subject: [binutils-gdb] Add install-strip to sim/
Date: Thu, 19 Dec 2019 19:42:00 -0000	[thread overview]
Message-ID: <78aa740b768e1e62f8bf9d216901245c452a31d9@gdb-build> (raw)

*** TEST RESULTS FOR COMMIT 78aa740b768e1e62f8bf9d216901245c452a31d9 ***

commit 78aa740b768e1e62f8bf9d216901245c452a31d9
Author:     Tom Tromey <tromey@adacore.com>
AuthorDate: Wed Dec 18 08:50:57 2019 -0700
Commit:     Tom Tromey <tromey@adacore.com>
CommitDate: Thu Dec 19 11:28:53 2019 -0700

    Add install-strip to sim/
    
    PR build/24572 notes that "make install-strip" fails.  For me, it
    works in every directory except "sim", so this patch adds
    install-strip targets to the Makefiles that appear there.
    
    sim/ChangeLog
    2019-12-19  Tom Tromey  <tromey@adacore.com>
    
            PR build/24572:
            * Makefile.in (install-strip): New target.
    
    sim/common/ChangeLog
    2019-12-19  Tom Tromey  <tromey@adacore.com>
    
            PR build/24572:
            * Makefile.in (install-strip): New target.
    
    sim/igen/ChangeLog
    2019-12-19  Tom Tromey  <tromey@adacore.com>
    
            PR build/24572:
            * Makefile.in (install-strip): New target.
    
    sim/ppc/ChangeLog
    2019-12-19  Tom Tromey  <tromey@adacore.com>
    
            PR build/24572:
            * Makefile.in (install-strip): New target.
    
    sim/testsuite/ChangeLog
    2019-12-19  Tom Tromey  <tromey@adacore.com>
    
            PR build/24572:
            * Makefile.in (install-strip): New target.
    
    Change-Id: I76613bc5c7e7812284f33826f8a5d914477fcdc5

diff --git a/sim/ChangeLog b/sim/ChangeLog
index 7443e8442d..72d4d4eb36 100644
--- a/sim/ChangeLog
+++ b/sim/ChangeLog
@@ -1,3 +1,8 @@
+2019-12-19  Tom Tromey  <tromey@adacore.com>
+
+	PR build/24572:
+	* Makefile.in (install-strip): New target.
+
 2019-09-23  Dimitar Dimitrov  <dimitar@dinux.eu>
 
 	* MAINTAINERS: Add myself as PRU maintainer.
diff --git a/sim/Makefile.in b/sim/Makefile.in
index 5a953fd4ad..3a85eeb581 100644
--- a/sim/Makefile.in
+++ b/sim/Makefile.in
@@ -166,6 +166,16 @@ install:
 		else true; fi; \
 	done
 
+install-strip:
+	@rootme=`pwd` ; export rootme ; \
+	for dir in . ${SUBDIRS}; do \
+		if [ "$$dir" = "." ]; then \
+			true; \
+		elif [ -d $$dir ]; then \
+			(cd $$dir; $(MAKE) $(FLAGS_TO_PASS) install-strip) || exit 1; \
+		else true; fi; \
+	done
+
 installcheck:
 	@echo No installcheck target is available yet for the GNU simulators.
 
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 12d900e8b6..6610c7ba9b 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,8 @@
+2019-12-19  Tom Tromey  <tromey@adacore.com>
+
+	PR build/24572:
+	* Makefile.in (install-strip): New target.
+
 2019-12-01  Pavel I. Kryukov  <kryukov@frtk.ru>
 
 	* sim-utils.c: Prevent buffer overflow.
diff --git a/sim/common/Makefile.in b/sim/common/Makefile.in
index c62bd26069..6d094aab36 100644
--- a/sim/common/Makefile.in
+++ b/sim/common/Makefile.in
@@ -115,6 +115,7 @@ force:
 
 # Copy the files into directories where they will be run.
 install: install-man
+install-strip: install-man
 
 install-man: installdirs
 	n=`echo run | sed '$(program_transform_name)'`; \
diff --git a/sim/igen/ChangeLog b/sim/igen/ChangeLog
index 932633edaa..beda37b56e 100644
--- a/sim/igen/ChangeLog
+++ b/sim/igen/ChangeLog
@@ -1,3 +1,8 @@
+2019-12-19  Tom Tromey  <tromey@adacore.com>
+
+	PR build/24572:
+	* Makefile.in (install-strip): New target.
+
 2016-01-10  Mike Frysinger  <vapier@gentoo.org>
 
 	* configure: Regenerate.
diff --git a/sim/igen/Makefile.in b/sim/igen/Makefile.in
index f3a797729e..f287242e3e 100644
--- a/sim/igen/Makefile.in
+++ b/sim/igen/Makefile.in
@@ -183,4 +183,5 @@ config.status: configure
 	$(SHELL) ./config.status --recheck
 
 install:
+install-strip:
 #
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
index 665c7606d9..4d6fb6dac4 100644
--- a/sim/ppc/ChangeLog
+++ b/sim/ppc/ChangeLog
@@ -1,3 +1,8 @@
+2019-12-19  Tom Tromey  <tromey@adacore.com>
+
+	PR build/24572:
+	* Makefile.in (install-strip): New target.
+
 2019-01-26  Tom Tromey  <tom@tromey.com>
 
 	* Makefile.in (version.c): Use sim's create-version.sh.
diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in
index fb5a6bd21e..8ad76c6ed3 100644
--- a/sim/ppc/Makefile.in
+++ b/sim/ppc/Makefile.in
@@ -884,5 +884,10 @@ install: installdirs
 	n=`echo run | sed '$(program_transform_name)'`; \
 	$(INSTALL_PROGRAM) run$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT)
 
+install-strip: installdirs
+	n=`echo run | sed '$(program_transform_name)'`; \
+	$(INSTALL_PROGRAM) run$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT)
+	$(STRIP) $(DESTDIR)$(bindir)/$$n$(EXEEXT)
+
 installdirs:
 	$(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(bindir)
diff --git a/sim/testsuite/ChangeLog b/sim/testsuite/ChangeLog
index 89bd065751..3be4a00c5c 100644
--- a/sim/testsuite/ChangeLog
+++ b/sim/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2019-12-19  Tom Tromey  <tromey@adacore.com>
+
+	PR build/24572:
+	* Makefile.in (install-strip): New target.
+
 2019-09-23  Dimitar Dimitrov  <dimitar@dinux.eu>
 
 	* configure: Regenerate.
diff --git a/sim/testsuite/Makefile.in b/sim/testsuite/Makefile.in
index a9b50ede98..e127ae271a 100644
--- a/sim/testsuite/Makefile.in
+++ b/sim/testsuite/Makefile.in
@@ -81,6 +81,7 @@ install-info:
 dvi:
 
 install:
+install-strip:
 
 uninstall: force
 


             reply	other threads:[~2019-12-19 19:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-19 19:42 gdb-buildbot [this message]
2019-12-19 19:39 ` Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, branch master gdb-buildbot
2019-12-19 20:22 ` Failures on Ubuntu-Aarch64-native-gdbserver-m64, " gdb-buildbot
2019-12-20 20:36 ` Failures on Fedora-i686, " gdb-buildbot
2019-12-20 20:49 ` Failures on Fedora-x86_64-cc-with-index, " gdb-buildbot
2019-12-20 21:02 ` Failures on Fedora-x86_64-m32, " gdb-buildbot
2019-12-20 21:03 ` Failures on Fedora-x86_64-m64, " gdb-buildbot
2019-12-20 21:11 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " gdb-buildbot
2019-12-20 21:37 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " gdb-buildbot
2019-12-20 21:41 ` Failures on Fedora-x86_64-native-gdbserver-m32, " gdb-buildbot
2019-12-20 22:13 ` Failures on Fedora-x86_64-native-gdbserver-m64, " gdb-buildbot

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=78aa740b768e1e62f8bf9d216901245c452a31d9@gdb-build \
    --to=gdb-buildbot@sergiodj.net \
    --cc=gdb-testers@sourceware.org \
    /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).