From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16867 invoked by alias); 21 Jan 2020 02:32:52 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 16855 invoked by uid 89); 21 Jan 2020 02:32:50 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 spammy=H*MI:sk:2020010, strive, picks X-HELO: esa5.hgst.iphmx.com Received: from esa5.hgst.iphmx.com (HELO esa5.hgst.iphmx.com) (216.71.153.144) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 21 Jan 2020 02:32:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1579573970; x=1611109970; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=EUYMnitG2ADRshu1XtGHxKXoVomtHaRK4vSyKEv0DfI=; b=BLhAUoxNUcf3XD8H0JS80EmMUo8v9ci2G3QK3YR1yaf63wUuRrtZv3NH 2fpmIf5MfxDv5Nv38MrgTGTpWTukK/SQPOlcVpcA57pCcrznxgMlGoCVu 2OTNVDKihGwO47sWSXcz0ILd1PjWSUPOSnkKNcleWPmL8HKd2ez2yf7QC L3yPM32MsRksHmRyOjMcxzpJbAPeziPm5n46jJC0/tnWCrD9SJrPtxbDZ ayULP28SO0hkvNx+NyeLWHpneFNQ8gEjfxkHzZCa9h5tqFUqiSyVY89mZ +3h0FQn3mGqwBpnoOBs97r9oFcIwzPw9l3Vf8ryss9y4ipBzE8XumGUrE w==; IronPort-SDR: AdOk54HAM+K2VpA7B0uYJ8+RH3aqD5uycRAlV5oAHf8nmch3oD/HJ+Ok6m/SK/bphuYWVDHld0 Dkw6wZjhqyuv6iBz4wLKahrx9yxe8uY21sMgkBRMrbMyJNaivyIUuumAJLyhxT7cAz4ZGXLhFa Nq3voMumcvM06DAzXyb7xcTGGPcnuD0rtxjW2iOLADTIYgtWQw2NlG/69LB8aUIf70PvObuT/u 8pn0iEmwX1YiGO5y2JF52E3N4dc25JGMWmH0lEktsxnTj9zwQOzW8yfqfSyY2k2yJAqtFCarjS dso= Received: from h199-255-45-14.hgst.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 21 Jan 2020 10:32:49 +0800 IronPort-SDR: aRxQLov/LeWY2k2tWsHQ17wWtxsPEjfhJI2dL9VK1PPghpcYmdWfEurT1KV84ic4Bd4Yifl+0Q +7cDTu20/na6PqFY4jelXLATQffs9Wx0TKhvZO56AV41IQGUBy2nQA3Y6hVDqEhlfitYxnyLnL so/hg2/61sYyVZBQcddovbK0ei0/5EZU7tR2eucQ2SiLQL4rdrTnhUU3Lhkb6k8hXY4146zUkz xGdpnXkdNU8j67KkNfZxDTlGTCmHE5falLLT9UWKXO+82cgo089O1GNaZ+Nc7EeZNOPIKuRwvh +OtElrbgCWXM2+6DGHEkx5eA Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jan 2020 18:26:15 -0800 IronPort-SDR: vDOvpIsK/Guj11udxboJj9kYXNyrAq8wYiNSRebiSg+LiSAh8b17j0M6cxSqymuiGwzuV9KAru cF08a9fTs+Rz+sVyYTR2CnaM+cxoyO/JmBy9E52g1pDx6m9HHvP1+O70qQi0u7IuBtyhi3kVrP liAF2t+q3Ylr2j0qnJ8fPn+j0yGhmheNsYHUOTSfGfZQcgedxhT0AumCYnKVCepa4Dgm6Azi2L oyzaTDkz/bcwoZ8d4ucMOzGon+f7CFrv2LRPMSbLiWGuTStClamiBxwVYnW2OFRuc0hciWTe5I vog= WDCIronportException: Internal Received: from unknown (HELO redsun52) ([10.149.66.28]) by uls-op-cesaip01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jan 2020 18:32:46 -0800 Date: Tue, 21 Jan 2020 03:21:00 -0000 From: "Maciej W. Rozycki" To: cltang@codesourcery.com cc: Julian Brown , Mike Stump , gcc-patches@gcc.gnu.org, Thomas Schwinge Subject: Re: [PING^4][PATCH 0/4] Fix library testsuite compilation for build sysroot In-Reply-To: Message-ID: References: <6594B30D-743B-4B4C-81CE-11DD3EE87C8C@comcast.net> <20200103113421.51b55ff5@squid.athome> User-Agent: Alpine 2.21 (LFD 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-SW-Source: 2020-01/txt/msg01287.txt.bz2 On Tue, 14 Jan 2020, Chung-Lin Tang wrote: > Can you test if the attached patch works for you? The patch exports the build sysroot > setting from the toplevel to target library subdirs, and adds the --sysroot= option > when doing build-tree testing (I assume that blddir != "" test is sufficient from the > surrounding comments) Thank you for your proposal; however I'm a little concerned as to continuing using the current compiler detect logic for testing uninstalled GCC as it may incorrectly pick a compiler already present on the system rather than the newly built one. I think the way it's done in gcc/ by using the configured $CC, etc. is the correct one and we should strive to replicate it across top-level libraries as well. I'll give your proposal a shot and I'm lucky enough to have a build configuration where I can have no compiler preinstalled, so at least I can check if testing with your change applied correctly picks the newly built uninstalled compiler in that case. Maciej