From patchwork Mon Nov 7 14:24:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tamar Christina X-Patchwork-Id: 691931 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 3tCF8K4QNkz9t1P for ; Tue, 8 Nov 2016 01:25:04 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="JQSY3B1r"; 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:from :to:cc:subject:date:message-id:content-type:mime-version; q=dns; s=default; b=Hl036G/SWVe0dDB9+K+rkQL+YuqtMw89TRN1VX4wC7xLkTX4mz PWyNREJeavVSQSspi/M0HafNFY4Z7UNHzD92F6A0Xk1ViY0QuBm1wZtFypWjpkg3 KPkhYoC1g3Oa6LWRjI1Pf3vwLYVBtAcPoBZ/SJ4UYPlpfuBKUS+fwyKfw= 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:mime-version; s= default; bh=JBwPvhytSiBfTgD0chz/6SrnmZc=; b=JQSY3B1r7wtPlfKJmv1I t6xg6Uzsmnzasm3l6oTELdhz1fo+zQhc5f9ss0zdVAZxEjcKenHKTy+DqseRO3YU ChCQKvUCryOd2tVFapf8YhlFZcSneofxJrv+cVnctQgnHs2lusoSfy51VpxbZT3T CW0dAVgWdxy+rahH2R8EUFI= Received: (qmail 27690 invoked by alias); 7 Nov 2016 14:24:56 -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 27641 invoked by uid 89); 7 Nov 2016 14:24:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 spammy=HTo:U*charlet, undeclared, completing, HTo:D*fi X-HELO: EUR01-HE1-obe.outbound.protection.outlook.com Received: from mail-he1eur01on0080.outbound.protection.outlook.com (HELO EUR01-HE1-obe.outbound.protection.outlook.com) (104.47.0.80) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 07 Nov 2016 14:24:44 +0000 Received: from VI1PR0801MB2031.eurprd08.prod.outlook.com (10.173.74.140) by VI1PR0801MB2029.eurprd08.prod.outlook.com (10.173.74.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.693.12; Mon, 7 Nov 2016 14:24:41 +0000 Received: from VI1PR0801MB2031.eurprd08.prod.outlook.com ([10.173.74.140]) by VI1PR0801MB2031.eurprd08.prod.outlook.com ([10.173.74.140]) with mapi id 15.01.0707.006; Mon, 7 Nov 2016 14:24:40 +0000 From: Tamar Christina To: GCC Patches , "10walls@gmail.com" <10walls@gmail.com>, "andris.pavenis@iki.fi" , "charlet@adacore.com" CC: nd Subject: [GCC][PATCH] Fix ada compile error on Windows x86_64 (committed as r241907 under the obvious rule) Date: Mon, 7 Nov 2016 14:24:40 +0000 Message-ID: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Tamar.Christina@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-office365-filtering-correlation-id: ef2965e0-7aa9-48c8-8689-08d40719cfd6 x-microsoft-exchange-diagnostics: 1; VI1PR0801MB2029; 7:7bIIY4ys89RFyT2e7TVYBB1ma08UD7wk4Eryf2JCSs2gRqtEO9VYGLAlZI5Ngut70rgUH5dNUNcXq6s+3BfzKY+3mPjKJi7si8ESL9c2vx6W5clxR6NIioIZesnCSbP7TRhX86XQyz7wnak1kxPmX8hVvrzQ1Ofz1DLgZ6+NZs7+pLDBCZUY+ktBrDGKqsJDQMerk5nprqrj+gQrutJKHhckNctrWS4MVSddJvIIqVrWG0cACE2V6rwPsMw+FV4ttQJWVA8tx8loA1bu/0CkHiPu7MKxmbmyM1lcV1yyVdiu6OVsyMyauLiAMoP+EDbtk6B+06sMOZNWEH7wyjgxJHBZ4fLrNEXTvYCC16qL40s= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0801MB2029; 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)(6040176)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:VI1PR0801MB2029; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0801MB2029; x-forefront-prvs: 0119DC3B5E x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(53754006)(377424004)(189002)(199003)(305945005)(87936001)(8936002)(106356001)(92566002)(9686002)(5660300001)(7736002)(7846002)(2501003)(4326007)(5001770100001)(68736007)(77096005)(7696004)(86362001)(122556002)(99936001)(54356999)(8676002)(101416001)(3280700002)(586003)(50986999)(74316002)(2900100001)(33656002)(2906002)(97736004)(2201001)(106116001)(5002640100001)(66066001)(10400500002)(76576001)(19580395003)(189998001)(229853001)(19580405001)(3846002)(105586002)(81166006)(6116002)(102836003)(81156014)(3660700001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0801MB2029; H:VI1PR0801MB2031.eurprd08.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Nov 2016 14:24:40.6680 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB2029 X-IsSubscribed: yes Hi all, The changes in r240999 re-arranged includes and left out signal.h for Windows x86 builds. This breaks the build and prevents GCC builds from completing with messages such as: adaint.c:3317:19: error: 'SIGINT' undeclared (first use in this function); did you mean 'SAIT'? else if (sig == SIGINT) ^~~~~~ Bootstrapped successfully on x86_64-w64-mingw32. Committed as r241907. Thanks, Tamar gcc/ 2016-11-07 Tamar Christina * gcc/ada/adaint.c: Added signal.h for Windows. diff --git a/gcc/ada/adaint.c b/gcc/ada/adaint.c index 353914708adbdf301f9d59aaa55debfed469f901..819ea47e449725b08c1a531b340ddc6a74b0e5db 100644 --- a/gcc/ada/adaint.c +++ b/gcc/ada/adaint.c @@ -190,6 +190,7 @@ UINT CurrentCCSEncoding; #include #include #include +#include #undef DIR_SEPARATOR #define DIR_SEPARATOR '\\'