From patchwork Wed Jul 20 14:04:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Szabolcs Nagy X-Patchwork-Id: 650692 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rvdvW3vfvz9t1J for ; Thu, 21 Jul 2016 00:04:37 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=KudWPASZ; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:cc:subject:content-type; q=dns; s=default; b=NOsYuXDPEcDUWGHvmP/P1TZagyRrON5ydCd4eer1nVt Bfjbcae3ISuUkwEAno5IBSTQsVsUDjF62PK8Uu5QvfRiXVerEiZDMklOrxBnGayX R+jBUz6z6L1+hCextt7ADxMLuJS9EwvOi6THiT6EInXu96+znA7oCVo/hX8bTdzc = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:cc:subject:content-type; s=default; bh=IZY5hDHaN6a2kEn43h9GnIylt1o=; b=KudWPASZCnhJuLVrC JIKye6dLQCFXjWzC+QPzFmXv32EVpY1UL/jAgP2a89ZeIxEh5kOmUVuoLcOA1bOj DiGo907CDP5+p60uvrammPvOkLu2YiReZDyRe4Hr77O2zfuLHkH4tRFExtQohvCD UktvXmL5n2X1CrKZ5shxUUXZis= Received: (qmail 48179 invoked by alias); 20 Jul 2016 14:04:28 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 48162 invoked by uid 89); 20 Jul 2016 14:04:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL, BAYES_00, SPF_PASS autolearn=ham version=3.3.2 spammy=U*$, H*r:sk:EUR01-V, 4286, H*r:sk:mail-ve X-HELO: eu-smtp-delivery-143.mimecast.com Received: from eu-smtp-delivery-143.mimecast.com (HELO eu-smtp-delivery-143.mimecast.com) (146.101.78.143) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 20 Jul 2016 14:04:17 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01lp0241.outbound.protection.outlook.com [213.199.154.241]) (Using TLS) by eu-smtp-1.mimecast.com with ESMTP id uk-mta-27-4EzfpjqKM7eggtWpniKcWA-1; Wed, 20 Jul 2016 15:04:12 +0100 Received: from [10.2.206.73] (217.140.96.140) by VI1PR08MB1101.eurprd08.prod.outlook.com (10.166.45.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.544.10; Wed, 20 Jul 2016 14:04:09 +0000 Message-ID: <578F84D7.90002@arm.com> Date: Wed, 20 Jul 2016 15:04:07 +0100 From: Szabolcs Nagy User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" CC: , Szabolcs Nagy Subject: [PATCH] target lib tests with build sysroot PR testsuite/71931 X-ClientProxiedBy: HE1PR08CA0026.eurprd08.prod.outlook.com (10.161.112.36) To VI1PR08MB1101.eurprd08.prod.outlook.com (10.166.45.20) X-MS-Office365-Filtering-Correlation-Id: 5b62c148-db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vz4kxMXIXQOxC5MkL1SNtz8aML5x4OF7L9EgHsqZgCCDEQjtJJs9n4ReGFqkqYUuVfDQtGhAyDxUUfsKyjL52uFmIfGBEQPpWlEk+gX3sEkJUKuhHvWMfsAqYC4DHKp59fQiLMvMnkn/ByQ==; 20:pYsaccZ0I8JRtY9aeS5vtZ47Fyn1Ky4sZmRzgvezH3lkCkrUlDiPu2s+NqOZx1JYnGEJ5NN9T7sMEJwcg09CyJt14MXOYgJ8u3ZWHNk8POubcud1TdNruulWDz8GJxYvlQzOdabZX8z2gLb1QCatwBLT4teZ6cTWaOkRjzJZHdo=; 4:kmAJ3pCx0VQhj/hzpQs+mGX109SNgZrR4Sz3n1hod/PQaPL0VJazTzglN4uqw2TDVi74XO17XpZ5Z/0cME6tQ4KMHYCT9k5e+gQL1n5v4mamCGOKm2N06h3ExFNkb7YSSw+1m6JfEhQJJhB96UKnACZkXgRMHDaKtywy7Df2MbkGZinl4pbzLIvnz4mUpEO6gRThXdd/PIOKlO6Jy6QfR37VIUgvz1IEk4FoBsqD95eVyLd/QyngS0ebPfdRjJtB+wavBSvGXOrffqqAq1yYrjESBNOzGFLCEZTJZ5MdY0HzFJ0AbjSVNJI1gCP5qtCJOSPsHSInTD+BvN02jlXkoADAAHdl8MWYLrB7LYNnxzm2NHRpH9NcvI3DZpdS9qJAFlaYeISBy4L8+7PZA73bn8wdSTIUMXLlZgZI1tlqLBMkzhjyzANYmg5asToLY6xGwAu90x3lcz3aTMFTKmvsWQ== NoDisclaimer: True X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(102415321)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:VI1PR08MB1101; BCL:0; PCL:0; RULEID:; SRVR:VI1PR08MB1101; X-Forefront-PRVS: 000947967F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6049001)(7916002)(377424004)(189002)(199003)(305945005)(512874002)(42186005)(7846002)(7736002)(2501003)(36756003)(5890100001)(77096005)(83506001)(110136002)(189998001)(19580405001)(19580395003)(97736004)(92566002)(65806001)(65956001)(66066001)(229853001)(2351001)(106356001)(4610100001)(4001350100001)(84326002)(54356999)(65816999)(105586002)(2476003)(270700001)(50986999)(2906002)(101416001)(568964002)(86362001)(81156014)(8676002)(64126003)(81166006)(33656002)(6116002)(3846002)(586003)(4326007)(68736007)(21490400002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB1101; H:[10.2.206.73]; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR08MB1101; 23:70XsuC3sTQGJMN9wvEzHNmx2sfLBPByuxaCnwt3Zl?= =?us-ascii?Q?28mCPj4XIo8em0GluxCj9i/CmhLKFBFcNfSXpB4cmcXCUdyMsKTpQLnEjegj?= =?us-ascii?Q?+5Af9hx8u0BgpA07qP6YWpvSvu1E0p/4/3Bv0B3rVydkvAhLttGmiQMAIoHr?= =?us-ascii?Q?cOXU9mHMj7Tg2ZWuq1twbnIlK4fUSOdcIn28gCrO+l2KtvToAz20Nn11GDFv?= =?us-ascii?Q?RICBkSbfwpywA9VZJhNpjlqU5oJb7XQXtEmQlXCf+xt7axJgkv5sQiT3sMq+?= =?us-ascii?Q?YFavL0lHaH/g2rbYkAa+G7nFJBt6TLYNVhyoBB/sE6vXLpLbZQvD9PGEvls+?= =?us-ascii?Q?NdBjDnt34wHPLG07N10G+uvXwUxCJrJJUg8FO3GR1DtZLfQthbHIQzqo8Ow6?= =?us-ascii?Q?av8YMe5mr1jbzkuqIyr5xPb9/TCLWSbuMcPuBZ+FBfKcakvIdI1UBAN6F994?= =?us-ascii?Q?OpkSNpeMKJ13IDxnbm5Ce6s0nakXdATnHe2rvwesOZMvUbWAxjzgMOU3uACK?= =?us-ascii?Q?mhzo/VZ/R7xJKgkUeq6s+y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change-CrossTenant-OriginalArrivalTime: 20 Jul 2016 14:04:09.8945 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB1101 X-MC-Unique: 4EzfpjqKM7eggtWpniKcWA-1 X-IsSubscribed: yes Fix target library tests when gcc is built using --with-build-sysroot. The dejagnu find_gcc function cannot handle if CC needs extra flags like --sysroot. So for testing target libraries use the same CC that was used for building the target libs. This change assumes the test is ran from make. Another approach would be to pass down the sysroot flags separately and add set TEST_ALWAYS_FLAGS "$(SYSROOT_CFLAGS_FOR_TARGET)" to site.exp like the gcc site.exp does, but that's more changes. libatomic/ 2016-07-20 Szabolcs Nagy PR testsuite/71931 * testuite/lib/libatomic.exp (libatomic_init): Use CC. * testuite/Makefile.am: Export CC. * testuite/Makefile.in: Regenerated. libgomp/ 2016-07-20 Szabolcs Nagy PR testsuite/71931 * testuite/lib/libgomp.exp (libgomp_init): Use CC. * testuite/Makefile.am: Export CC. * testuite/Makefile.in: Regenerated. libitm/ 2016-07-20 Szabolcs Nagy PR testsuite/71931 * testuite/lib/libitm.exp (libitm_init): Use CC. * testuite/Makefile.am: Export CC. * testuite/Makefile.in: Regenerated. libvtv/ 2016-07-20 Szabolcs Nagy PR testsuite/71931 * testuite/lib/libvtv.exp (libvtv_init): Use CC. * testuite/Makefile.am: Export CC. * testuite/Makefile.in: Regenerated. diff --git a/libatomic/testsuite/Makefile.am b/libatomic/testsuite/Makefile.am index 561b7e2..d9af02a 100644 --- a/libatomic/testsuite/Makefile.am +++ b/libatomic/testsuite/Makefile.am @@ -11,3 +11,5 @@ EXPECT = $(shell if test -f $(top_builddir)/../expect/expect; then \ _RUNTEST = $(shell if test -f $(top_srcdir)/../dejagnu/runtest; then \ echo $(top_srcdir)/../dejagnu/runtest; else echo runtest; fi) RUNTEST = "$(_RUNTEST) $(AM_RUNTESTFLAGS)" + +export CC diff --git a/libatomic/testsuite/Makefile.in b/libatomic/testsuite/Makefile.in index 34f83e0..8392e01 100644 --- a/libatomic/testsuite/Makefile.in +++ b/libatomic/testsuite/Makefile.in @@ -428,6 +428,8 @@ uninstall-am: uninstall uninstall-am +export CC + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/libatomic/testsuite/lib/libatomic.exp b/libatomic/testsuite/lib/libatomic.exp index cafab54..6ba67e8 100644 --- a/libatomic/testsuite/lib/libatomic.exp +++ b/libatomic/testsuite/lib/libatomic.exp @@ -90,7 +90,7 @@ proc libatomic_init { args } { if [info exists TOOL_EXECUTABLE] { set GCC_UNDER_TEST $TOOL_EXECUTABLE } else { - set GCC_UNDER_TEST "[find_gcc]" + set GCC_UNDER_TEST "[getenv CC]" } } diff --git a/libgomp/testsuite/Makefile.am b/libgomp/testsuite/Makefile.am index 66a9d94..821ab31 100644 --- a/libgomp/testsuite/Makefile.am +++ b/libgomp/testsuite/Makefile.am @@ -25,3 +25,5 @@ libgomp-test-support.exp: libgomp-test-support.pt.exp Makefile mv $@.tmp $@ all-local: libgomp-test-support.exp + +export CC diff --git a/libgomp/testsuite/Makefile.in b/libgomp/testsuite/Makefile.in index 4dbb406..7bd8b86 100644 --- a/libgomp/testsuite/Makefile.in +++ b/libgomp/testsuite/Makefile.in @@ -475,6 +475,8 @@ libgomp-test-support.exp: libgomp-test-support.pt.exp Makefile all-local: libgomp-test-support.exp +export CC + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/libgomp/testsuite/lib/libgomp.exp b/libgomp/testsuite/lib/libgomp.exp index 1cb4991..0333363 100644 --- a/libgomp/testsuite/lib/libgomp.exp +++ b/libgomp/testsuite/lib/libgomp.exp @@ -108,7 +108,7 @@ proc libgomp_init { args } { if [info exists TOOL_EXECUTABLE] { set GCC_UNDER_TEST $TOOL_EXECUTABLE } else { - set GCC_UNDER_TEST "[find_gcc]" + set GCC_UNDER_TEST "[getenv CC]" } } diff --git a/libitm/testsuite/Makefile.am b/libitm/testsuite/Makefile.am index 561b7e2..d9af02a 100644 --- a/libitm/testsuite/Makefile.am +++ b/libitm/testsuite/Makefile.am @@ -11,3 +11,5 @@ EXPECT = $(shell if test -f $(top_builddir)/../expect/expect; then \ _RUNTEST = $(shell if test -f $(top_srcdir)/../dejagnu/runtest; then \ echo $(top_srcdir)/../dejagnu/runtest; else echo runtest; fi) RUNTEST = "$(_RUNTEST) $(AM_RUNTESTFLAGS)" + +export CC diff --git a/libitm/testsuite/Makefile.in b/libitm/testsuite/Makefile.in index 4d79781..49a333a 100644 --- a/libitm/testsuite/Makefile.in +++ b/libitm/testsuite/Makefile.in @@ -438,6 +438,8 @@ uninstall-am: uninstall uninstall-am +export CC + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/libitm/testsuite/lib/libitm.exp b/libitm/testsuite/lib/libitm.exp index 0416296..8679e92 100644 --- a/libitm/testsuite/lib/libitm.exp +++ b/libitm/testsuite/lib/libitm.exp @@ -90,7 +90,7 @@ proc libitm_init { args } { if [info exists TOOL_EXECUTABLE] { set GCC_UNDER_TEST $TOOL_EXECUTABLE } else { - set GCC_UNDER_TEST "[find_gcc]" + set GCC_UNDER_TEST "[getenv CC]" } } diff --git a/libvtv/testsuite/Makefile.am b/libvtv/testsuite/Makefile.am index 561b7e2..d9af02a 100644 --- a/libvtv/testsuite/Makefile.am +++ b/libvtv/testsuite/Makefile.am @@ -11,3 +11,5 @@ EXPECT = $(shell if test -f $(top_builddir)/../expect/expect; then \ _RUNTEST = $(shell if test -f $(top_srcdir)/../dejagnu/runtest; then \ echo $(top_srcdir)/../dejagnu/runtest; else echo runtest; fi) RUNTEST = "$(_RUNTEST) $(AM_RUNTESTFLAGS)" + +export CC diff --git a/libvtv/testsuite/Makefile.in b/libvtv/testsuite/Makefile.in index e19e13e..813bad0 100644 --- a/libvtv/testsuite/Makefile.in +++ b/libvtv/testsuite/Makefile.in @@ -433,6 +433,8 @@ uninstall-am: uninstall uninstall-am +export CC + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/libvtv/testsuite/lib/libvtv.exp b/libvtv/testsuite/lib/libvtv.exp index edf5fdd..9bef7a3 100644 --- a/libvtv/testsuite/lib/libvtv.exp +++ b/libvtv/testsuite/lib/libvtv.exp @@ -90,7 +90,7 @@ proc libvtv_init { args } { if [info exists TOOL_EXECUTABLE] { set GCC_UNDER_TEST $TOOL_EXECUTABLE } else { - set GCC_UNDER_TEST "[find_gcc]" + set GCC_UNDER_TEST "[getenv CC]" } }