From patchwork Tue May 14 21:46:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Maciej W. Rozycki" X-Patchwork-Id: 1099754 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-500699-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=wdc.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="qKpM9d+r"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=wdc.com header.i=@wdc.com header.b="LIp/lYty"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=sharedspace.onmicrosoft.com header.i=@sharedspace.onmicrosoft.com header.b="al0bnpir"; dkim-atps=neutral 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 453WVG51Hbz9sNQ for ; Wed, 15 May 2019 07:46:44 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:content-type:content-id :content-transfer-encoding:mime-version; q=dns; s=default; b=c52 RBzc74i9rAnXq/P7IZjmpph2DCrJenIxmIMVWUl7nclVQvF+FGcoTU+p9D/OYPbh yM5IlA4yl4PaY0sW/1LzeamihIr447lcRMErlYiCCeU/dTnLUp+s8qKFk9IPoBg6 GgkEX3mBLEQOoX90OahJ5EoxF4YhPu1db+lT6KcE= 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:from :to:cc:subject:date:message-id:content-type:content-id :content-transfer-encoding:mime-version; s=default; bh=fkZTzqufU 7tfsEJ9Gu9b64Gb/+U=; b=qKpM9d+rUKTKJDo4+Jrm1/fPvvQO3guTXVFizu6Ej C8nr5eKQ3mPkQdNXUs/x+UZV7d67Ba+VWkzPu255MbG/xacnGwl7YiTMel4Ahwa0 ZRYc7alqhqwxT4k66NLs5iZju5g0Oiogcw/W3TO1JasztrG16Q8hcUxMWyISnA8W E8= Received: (qmail 68603 invoked by alias); 14 May 2019 21:46:36 -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 68595 invoked by uid 89); 14 May 2019 21:46:36 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-4.8 required=5.0 tests=AWL, BAYES_00 autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1607, sk:riscv64, H*Ad:D*fr X-HELO: esa6.hgst.iphmx.com Received: from esa6.hgst.iphmx.com (HELO esa6.hgst.iphmx.com) (216.71.154.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 14 May 2019 21:46:35 +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=1557870395; x=1589406395; h=from:to:cc:subject:date:message-id:content-id: content-transfer-encoding:mime-version; bh=fVXxEmr5yFsW+OAIKmpzhlaMwvYp1mAnkrFGzOlYcjE=; b=LIp/lYty7QbT71FBYElnZE7kY7fKmyzOfF1nH0XXpoDRzluFosuD02GT Y+rBfMmfH9WGdO93M/pEOYisV4nb/mBIunseBZo9kVXGwClAdAhWMzpgN UHVMqYTyJmUITKaX+xi7x5wm8Xdd7kI7O2EyCBsixRYkivk94ExBboGBq pAjadqwM5yFcJeOOwjpnowLYWz5Dk77lauZWjXuz+ymGB/E3RKwVXsbH3 pRIL6JDU5eaAAEq919QF0ngNbf7eDotSpDtdfQrvSH0uWNpoMkIbBUVZQ 7JlA3eZrgSDw+4ouH4wU94aHNOQqfjzTi8dor9Nzrc9s8kaJTsPQZDeH0 w==; Received: from mail-co1nam05lp2051.outbound.protection.outlook.com (HELO NAM05-CO1-obe.outbound.protection.outlook.com) ([104.47.48.51]) by ob1.hgst.iphmx.com with ESMTP; 15 May 2019 05:46:33 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-wdc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=93w1zwcUsDD2EUTpfZFD+OCX583xGwljt7dyRlPFCJo=; b=al0bnpirOhqw0VUZQH9dDrPK0yviWqg95S7U4ZdCbOPLzPGBKxHUsXskJW9oDUs+bqTBPNP5jbnKD6ntu7hxuNvJbuPdV6rvL1PUMqI1nBg4o8O41fvfAam8s/lGc8dfOiUJwcBNSJWkPEu3BaQDuG61lzlPOTWXlpG6SdRnmNQ= Received: from BYAPR04MB6262.namprd04.prod.outlook.com (20.178.235.160) by BYAPR04MB6214.namprd04.prod.outlook.com (20.178.233.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1878.25; Tue, 14 May 2019 21:46:31 +0000 Received: from BYAPR04MB6262.namprd04.prod.outlook.com ([fe80::31ee:c691:33ca:b46b]) by BYAPR04MB6262.namprd04.prod.outlook.com ([fe80::31ee:c691:33ca:b46b%3]) with mapi id 15.20.1878.024; Tue, 14 May 2019 21:46:31 +0000 From: "Maciej W. Rozycki" To: "gcc-patches@gcc.gnu.org" , "dejagnu@gnu.org" CC: Arnaud Charlet , Eric Botcazou , Pierre-Marie de Rodat Subject: [PATCH 0/3] GNAT test suite fixes for build sysroot Date: Tue, 14 May 2019 21:46:31 +0000 Message-ID: authentication-results: spf=none (sender IP is ) smtp.mailfrom=macro@wdc.com; wdcipoutbound: EOP-TRUE x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 Content-ID: <0F3B205936946747B4B43175DDC46222@namprd04.prod.outlook.com> MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED Hi, In the course of setting up GCC regression testing for the RISC-V target I have discovered that the GNAT test suite does not correctly respond to the test environment settings passed from the test harness in my setup and consequently no test case works correctly. In my particular setup `--with-build-sysroot=' has been used to configure GCC and also additional linker flags are defined in the target board so that adjusted paths are used for the dynamic loader and shared libraries to be found in the build sysroot at the test suite run time. That plays well with most of the test suites included with GCC, but not the GNAT one. I have tracked down the cause to three issues spread across `gnatmake', the GNAT test driver and the DejaGNU target driver. These issues are independent from each other, however all have to be addressed for the test suite to run, so I have decided to group them into a series despite that each of them can be applied separately, and the DejaGNU one goes to a separate project even. With them all in place I get these results with the `riscv64-linux-gnu' target: === gnat Summary === # of expected passes 2926 # of unexpected failures 5 # of expected failures 23 # of unsupported tests 26 which I think are pretty good, especially compared to the original results without these changes: === gnat Summary === # of expected passes 1580 # of unexpected failures 133 # of unexpected successes 23 # of unresolved testcases 875 # of unsupported tests 26 See individual change descriptions for details. Maciej