From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-c1p-023463.sys.comcast.net (resqmta-c1p-023463.sys.comcast.net [IPv6:2001:558:fd00:56::4]) by sourceware.org (Postfix) with ESMTPS id 87963385B53B for ; Sat, 26 Nov 2022 16:28:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 87963385B53B 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-c1p-022584.sys.comcast.net ([96.102.18.233]) by resqmta-c1p-023463.sys.comcast.net with ESMTP id ywPbo99jWwRd9yy2EopQRv; Sat, 26 Nov 2022 16:28:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1669480090; bh=9xCDwBK1w7wlVlshH36TayZEobgar4W0RwQPig03K4Y=; h=Received:Received:Content-Type:Mime-Version:Subject:From:Date: Message-Id:To:Xfinity-Spam-Result; b=P5KNKXosM0lbKrN9hhibDnxGA/Ze051GLy4e9NmWuXwHRCtv0CpRxPLOaWmGidCU3 Vpg0OmrYlmE+nNhCTagsxFS4jsItYrX3qm59J2Uf1kP6vK6P7xj5sewARdLqj350uk 1hf6pKTpO1t/IfQBTrhhFtMx9R988ONImll0Ia/mVHcwCiDP8TyK4nbOZZuM9+t+0j 5ZEEk56dxtpmf2oB3LPlU9ScdtEMBRz24AELXz7ixmCz1avGFnFCV4lD7Gfur6o9sa DesfRyvJzYb6UBYwP539EAK2QGTpAYn/3YXsMAQWl9WqvHKbSgD/D1TEux07wTrOOD xdER+j7FFaqlg== Received: from smtpclient.apple ([73.60.223.101]) by resomta-c1p-022584.sys.comcast.net with ESMTPSA id yy1toFhMb2Hevyy1tobrDa; Sat, 26 Nov 2022 16:27:49 +0000 X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgedvgedrieejgdelvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucevohhmtggrshhtqdftvghsihdpqfgfvfdppffquffrtefokffrnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpegtggfuhfgjffevgffkfhfvofesthhqmhdthhdtjeenucfhrhhomheprfgruhhlucfmohhnihhnghcuoehprghulhhkohhnihhnghestghomhgtrghsthdrnhgvtheqnecuggftrfgrthhtvghrnhepleetjeefvefguddtgeeghfefkeeuuedtfeeugeeufeekjefgudeljefhheeuteefnecuffhomhgrihhnpehgnhhurdhorhhgnecukfhppeejfedriedtrddvvdefrddutddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghlohepshhmthhptghlihgvnhhtrdgrphhplhgvpdhinhgvthepjeefrdeitddrvddvfedruddtuddpmhgrihhlfhhrohhmpehprghulhhkohhnihhnghestghomhgtrghsthdrnhgvthdpnhgspghrtghpthhtohepvddprhgtphhtthhopehiughsrghnughovgesghhoohhglhgvmhgrihhlrdgtohhmpdhrtghpthhtohepghgttgesghgttgdrghhnuhdrohhrgh 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: <61273BB4-B75C-4026-9A43-337FD6361CF4@googlemail.com> Date: Sat, 26 Nov 2022 11:27:48 -0500 Cc: GCC Development Content-Transfer-Encoding: quoted-printable Message-Id: <5396230C-83FC-495D-A221-2489C4E74CF5@comcast.net> References: <2840BB68-0E3A-4848-AA39-32E9B822A4F0@comcast.net> <1350173E-C2FA-48AB-BC59-BD516FBF15B9@googlemail.com> <338FD630-E757-4595-8282-652A12044393@comcast.net> <61273BB4-B75C-4026-9A43-337FD6361CF4@googlemail.com> To: Iain Sandoe 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 10:58 AM, Iain Sandoe = wrote: >=20 > Hi Paul, >=20 > I am part way through the exercise on both macOS 11 (X86) and 12 = (Arm64). >=20 > ** However, I am using gcc-7.5 as the bootstrap compiler, not gcc-5.1. I'm not using 5.1 -- I only quoted that version number because the = install documentation mentions it. The actual bootstrap compiler is = 8.4.1: pkoning:gcc-darwin-x86 pkoning$ /usr/local/gnat/bin/gcc --version gcc (GCC) 8.4.1 20200430 (for GNAT Community 2020 20200818) > You might find problems unless you actually start a Rosetta 2 shell - = so=20 > =E2=80=9C arch -x86_64 bash =E2=80=9C=20 > and then go from there (this seems to ensure that sub-processes are = started as x86_64) >=20 > (with this, bootstrap succeeded for both x86_64 Rosetta 2 and rebased = Arm64 branch native - r13-4309-g309e2d95e3b9) >=20 > I will push the rebased arm64 branch when testing is done. >=20 >> So I'm guessing I'll have to do this in two parts, first build a = newer but not-latest Gnat from a release that doesn't include the = problematic constructs, then follow that by using the intermediate to = build the current sources. >>=20 >> I wonder if this incompatibility was intentional. If not it would be = good for the Ada maintainers to fix these and ensure that the current = code can still be built with the most recent public release of Gnat. = Conversely, if it is intentional, the documentation should be updated to = explain how to build the current code. >=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. I will do that, if the "shell in Rosetta" thing doesn't cure the = problem. paul