From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-a1p-077435.sys.comcast.net (resqmta-a1p-077435.sys.comcast.net [IPv6:2001:558:fd01:2bb4::3]) by sourceware.org (Postfix) with ESMTPS id 3D4463858C52 for ; Sat, 26 Nov 2022 18:06:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3D4463858C52 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=comcast.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=comcast.net Received: from resomta-a1p-077251.sys.comcast.net ([96.103.145.233]) by resqmta-a1p-077435.sys.comcast.net with ESMTP id yvn6otJ0ss0nKyzZKoBnds; Sat, 26 Nov 2022 18:06:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1669485986; bh=VnwmPliDl9hesczqFRe73/6TRAq/0PYMMYumYc/O5YE=; h=Received:Received:Content-Type:Mime-Version:Subject:From:Date: Message-Id:To:Xfinity-Spam-Result; b=AzSz7ZrHI2O6uenwhxgy+U7Y1MX0Ib12LbVgANul/fojPBtNxNisEYV5tvJs3zfNR FP27/z8hH0P3fNsQarzeOwe7lX4IfyQQgbMTUI9o4gvn1V+lrXH3vaOFQkoV5J/meC 7hQt823n53DoGIj6P2vQkcTCShDrtYmQXEtAUT89FPsRLxpjroh8WNHDhMokM8jk0D Qs7znD9H6aeCfoCr4XA8Xg9p6o+/yrfIkxrtaD8WqJCs4vsT/kaxlXdQS+zSgtcVlE GvVlL8olOFovE/sWJKWeCnazXYKv4F9ERjgRQEBd6z0ZmHfCOYlNnMHNGwXX18fklm Z4sk03DLfkAZg== Received: from smtpclient.apple ([73.60.223.101]) by resomta-a1p-077251.sys.comcast.net with ESMTPSA id yzYxoJoPCFsVDyzYyoftsw; Sat, 26 Nov 2022 18:06:04 +0000 X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgedvgedrieejgdduudduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuvehomhgtrghsthdqtfgvshhipdfqfgfvpdfpqffurfetoffkrfenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurheptggguffhjgffvefgkfhfvffosehtqhhmtdhhtdejnecuhfhrohhmpefrrghulhcumfhonhhinhhguceophgruhhlkhhonhhinhhgsegtohhmtggrshhtrdhnvghtqeenucggtffrrghtthgvrhhnpeelteejfeevgfdutdeggefhfeekueeutdefueegueefkeejgfduleejhfehueetfeenucffohhmrghinhepghhnuhdrohhrghenucfkphepjeefrdeitddrvddvfedruddtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopehsmhhtphgtlhhivghnthdrrghpphhlvgdpihhnvghtpeejfedriedtrddvvdefrddutddupdhmrghilhhfrhhomhepphgruhhlkhhonhhinhhgsegtohhmtggrshhtrdhnvghtpdhnsggprhgtphhtthhopeefpdhrtghpthhtoheptghhrghrlhgvthesrggurggtohhrvgdrtghomhdprhgtphhtthhopehiughsrghnughovgesghhoohhglhgvmhgrihhlrdgtohhmpdhrtghpthhtohepghgttgesghgttgdrghhnuhdrohhrgh X-Xfinity-VMeta: sc=-100.00;st=legit Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: Can't build Ada From: Paul Koning In-Reply-To: <3D25589F-2417-49B2-BB1A-7F0E6017880F@adacore.com> Date: Sat, 26 Nov 2022 13:06:03 -0500 Cc: Iain Sandoe , GCC Development Content-Transfer-Encoding: quoted-printable Message-Id: <55D87357-3B2B-431E-BA34-0C7E997F906E@comcast.net> References: <5396230C-83FC-495D-A221-2489C4E74CF5@comcast.net> <3D25589F-2417-49B2-BB1A-7F0E6017880F@adacore.com> To: Arnaud Charlet X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_SHORT,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: > On Nov 26, 2022, at 11:42 AM, Arnaud Charlet via Gcc = wrote: >=20 >=20 >>> The current statement = (https://gcc.gnu.org/install/prerequisites.html) is: >>>=20 >>> GNAT >>> In order to build GNAT, the Ada compiler, you need a working GNAT = compiler (GCC version 5.1 or later). >>>=20 >>> so, if 5.1 is not working, then perhaps a PR is in order. >>=20 >> I will do that, if the "shell in Rosetta" thing doesn't cure the = problem. >=20 > You won=E2=80=99t need to, the version of gnat you are using is recent = enough, you need to follow Ian=E2=80=99s instructions to the letter. The = Ada 2022 code is a red herring and is only problematic when you build a = cross with a non matching native, not when building a native compiler. >=20 > Arno All I can tell you is that I'm pretty sure I'm doing what Iain said, = using his branch (up to date), and using the compilers from the Adacore = open source release (20200818) which is GCC 8.4.1. And once again I got = that same complaint about Ada2020 constructs: /usr/local/gnat/bin/gcc -c -g -O2 -gnatpg -gnata -W -Wall -nostdinc = -I- -I. -Iada/generated -Iada -I../../../gcc-darwin/gcc/ada = -Iada/libgnat -I../../../gcc-darwin/gcc/ada/libgnat -Iada/gcc-interface = -I../../../gcc-darwin/gcc/ada/gcc-interface = ../../../gcc-darwin/gcc/ada/contracts.adb -o ada/contracts.o s-imagei.ads:95:11: declare_expression is an Ada 2020 feature s-valueu.ads:152:09: declare_expression is an Ada 2020 feature s-valueu.ads:160:09: declare_expression is an Ada 2020 feature s-valueu.ads:184:06: "Subprogram_Variant" is not a valid aspect = identifier s-valuei.ads:80:11: declare_expression is an Ada 2020 feature s-valuei.ads:95:08: declare_expression is an Ada 2020 feature s-valuei.ads:141:06: "Subprogram_Variant" is not a valid aspect = identifier s-widthu.ads:84:09: declare_expression is an Ada 2020 feature s-widthu.ads:93:11: run-time library configuration error s-widthu.ads:93:11: file s-imgint.ads had parser errors s-widthu.ads:93:11: entity "System.Img_Int.Image_Integer" not available compilation abandoned make[2]: *** [ada/contracts.o] Error 1 paul