From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp001-out.apm-internet.net (smtp001-out.apm-internet.net [85.119.248.222]) by sourceware.org (Postfix) with ESMTPS id 35B9E3858C52 for ; Sun, 27 Nov 2022 11:54:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 35B9E3858C52 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=sandoe.co.uk Authentication-Results: sourceware.org; spf=none smtp.mailfrom=sandoe.co.uk Received: (qmail 27134 invoked from network); 27 Nov 2022 11:54:41 -0000 X-APM-Out-ID: 16695500812713 X-APM-Authkey: 257869/1(257869/1) 4 Received: from unknown (HELO smtpclient.apple) (81.138.1.83) by smtp001.apm-internet.net with SMTP; 27 Nov 2022 11:54:41 -0000 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: Iain Sandoe In-Reply-To: <55D87357-3B2B-431E-BA34-0C7E997F906E@comcast.net> Date: Sun, 27 Nov 2022 11:54:41 +0000 Cc: GCC Development , Arnaud Charlet , FX Content-Transfer-Encoding: quoted-printable Message-Id: References: <5396230C-83FC-495D-A221-2489C4E74CF5@comcast.net> <3D25589F-2417-49B2-BB1A-7F0E6017880F@adacore.com> <55D87357-3B2B-431E-BA34-0C7E997F906E@comcast.net> To: Paul Koning X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00,KAM_COUK,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,KAM_SHORT,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Paul, > On 26 Nov 2022, at 18:06, Paul Koning via Gcc wrote: >=20 >> On Nov 26, 2022, at 11:42 AM, Arnaud Charlet via Gcc = wrote: >>=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. For the record, I have now pushed an updated development branch (based = off upstream r13-4309-g309e2d95e3b9) which builds c-family, fortran and = Ada on - x86_64 [Darwin20] (with cross and native cross to aarch64), using XC = CLT 12.5 - x86_64 Rosetta 2 [Darwin21] bootstrap and cross, using XC CLT 14.1RC = + macOSX12 sdk. - aarch64 [Darwin21] native (assuming you have an existing aarch64 = darwin GCC bootstrap), using XC CLT 14.1RC + macOSX12 sdk.*** .. I=E2=80=99ve fixed up the DFP and testcases (although clang does not = support _DecimalXX on aarch64 Darwin, so maybe it=E2=80=99s of limited = use) .. but at least that source of testsuite noise is eliminated. cheers Iain *** note that we have some issues with the macOS13 SDK still to be = resolved so make sure you use the 12 version on macOS 12 (at least).