From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from aserp2130.oracle.com (aserp2130.oracle.com [141.146.126.79]) by sourceware.org (Postfix) with ESMTPS id 156B7388E83E for ; Tue, 5 Jan 2021 15:25:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 156B7388E83E Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 105F8s9r054639; Tue, 5 Jan 2021 15:25:25 GMT Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by aserp2130.oracle.com with ESMTP id 35tebasbtr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 05 Jan 2021 15:25:25 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 105FBLo4021361; Tue, 5 Jan 2021 15:25:24 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3030.oracle.com with ESMTP id 35vct5yu0s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 05 Jan 2021 15:25:24 +0000 Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 105FPNSI003312; Tue, 5 Jan 2021 15:25:23 GMT Received: from loom.srvr.nix (/81.187.191.129) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 05 Jan 2021 07:25:23 -0800 From: Nick Alcock To: gdb-patches@sourceware.org, gcc-patches@gcc.gnu.org, binutils@sourceware.org Cc: amodra@gmail.com, Nick Alcock Subject: [PATCH toplevel] libctf: new testsuite Date: Tue, 5 Jan 2021 15:25:10 +0000 Message-Id: <20210105152510.60769-1-nick.alcock@oracle.com> X-Mailer: git-send-email 2.29.2.250.g8336e49d6f.dirty MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9854 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 malwarescore=0 phishscore=0 bulkscore=0 mlxlogscore=999 suspectscore=0 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101050097 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9854 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 phishscore=0 priorityscore=1501 spamscore=0 mlxscore=0 clxscore=1011 bulkscore=0 lowpriorityscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101050097 X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2021 15:25:28 -0000 This enables 'make libctf-check', used by a new libctf testsuite in binutils. 2021-01-05 Nick Alcock * Makefile.def (libctf): No longer no_check. Checking depends on all-ld. * Makefile.in: Regenerated. --- Makefile.def | 4 +- Makefile.in | 13 + This is a stripped-down top-level-only subset of commit c59e30ed1727135f8efb79890f2c458f73709757 in binutils-gdb.git. (Because it is identical to what has already landed in binutils, it should apply without trouble in syncs back to there.) I don't have permission to push this: Alan has offered to do so. (I hope I'm doing this right...) diff --git a/Makefile.def b/Makefile.def index 089e70ae3ed..cc429aa8628 100644 --- a/Makefile.def +++ b/Makefile.def @@ -131,8 +131,7 @@ host_modules= { module= lto-plugin; bootstrap=true; extra_make_flags='@extra_linker_plugin_flags@'; }; host_modules= { module= libcc1; extra_configure_flags=--enable-shared; }; host_modules= { module= gotools; }; -host_modules= { module= libctf; no_check=true; - bootstrap=true; }; +host_modules= { module= libctf; bootstrap=true; }; target_modules = { module= libstdc++-v3; bootstrap=true; @@ -547,6 +546,7 @@ dependencies = { module=configure-libctf; on=all-bfd; }; dependencies = { module=configure-libctf; on=all-intl; }; dependencies = { module=configure-libctf; on=all-zlib; }; dependencies = { module=configure-libctf; on=all-libiconv; }; +dependencies = { module=check-libctf; on=all-ld; }; // The Makefiles in gdb and gdbserver pull in a file that configure // generates in the gnulib directory, so distclean gnulib only after diff --git a/Makefile.in b/Makefile.in index fe34132f9e5..4fe7321786e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -34761,6 +34761,12 @@ maybe-check-libctf: maybe-check-libctf: check-libctf check-libctf: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \ + (cd $(HOST_SUBDIR)/libctf && \ + $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check) @endif libctf @@ -52366,6 +52372,13 @@ configure-stage3-libctf: maybe-all-stage3-libiconv configure-stage4-libctf: maybe-all-stage4-libiconv configure-stageprofile-libctf: maybe-all-stageprofile-libiconv configure-stagefeedback-libctf: maybe-all-stagefeedback-libiconv +check-libctf: maybe-all-ld +check-stage1-libctf: maybe-all-stage1-ld +check-stage2-libctf: maybe-all-stage2-ld +check-stage3-libctf: maybe-all-stage3-ld +check-stage4-libctf: maybe-all-stage4-ld +check-stageprofile-libctf: maybe-all-stageprofile-ld +check-stagefeedback-libctf: maybe-all-stagefeedback-ld distclean-gnulib: maybe-distclean-gdb distclean-gnulib: maybe-distclean-gdbserver all-bison: maybe-all-build-texinfo -- 2.29.2.250.g8336e49d6f.dirty