From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by sourceware.org (Postfix) with ESMTPS id 2DCCE385B53B for ; Sat, 26 Nov 2022 16:52:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2DCCE385B53B Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=googlemail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=googlemail.com Received: by mail-wm1-x329.google.com with SMTP id v7so5602496wmn.0 for ; Sat, 26 Nov 2022 08:52:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=P7rh3JB98FyVFnyGmlLeFlDHF9vkrPE5iXiWD3skmIs=; b=qs1NPw5egH1QvnOHADE/N4dF+fnUmYqmr2HMC04j1Mp8Affc1ZDjl+tVOlPdWGOHXp ng2rOMCM39EmbgALrJI1PotFX/wM6y7JZcsrfd0l68Zni75XGzZyeRhNdtrkC6RNtyjV iHpadt1VAFNuBbABSjAn+cbW63L8a8KBrXn7ZpvJQmANvN8nMZ9Ty1QNPg9g8M/QDaPA xrcnkmn3o4bKWIPxiqr2CCSXCMVcZuorFVIxJCPjC1LMMtFLM+zVntQpT6sBZtnqcLsI reFsFZi9FTeWoFf2zfI7sgUWpZKvj+sy75gKaeHmYnoCTW9i4BUm10+NLOgxnxqxgW6w 1DMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=P7rh3JB98FyVFnyGmlLeFlDHF9vkrPE5iXiWD3skmIs=; b=MEF5eDj1EmsebiNrtyyvqS9cTlys/AzSD4l5q3k9zhZeoNzWWBh6dGih00fQrcmBN2 63gnLEzdoy5Ho1uo+RjDhN1S0ihsgXr3Qr81hdnw1Kbi2XeslrOqS7UAWXr+zgPBXWoc ppqq7HyJAEVhnn1dzM/sSma2knrKSup2Eun96dBX0AoXQFKULLhI3XW29pEarUb0deoP PELVSftQbzilzbK4coSHkvID02moV5Nx4/TLNLs9VwiFq68cXLzuJCwjtce7U7aHCQcw TX+BPsJGaEtnG2R74Qz3O8xQeJVHP8QTMCUYcQ4Bl1UruoDi07J+NO2xyPKCyADRJkDV sFdQ== X-Gm-Message-State: ANoB5plKTn9azK36WiJdiMd+5U7WRGjLEq0AD0bSyIb+mclO3wWoXCHI 43cZhPQzmlY5ZqE4MyzIyfc= X-Google-Smtp-Source: AA0mqf53RQ2jk83xBVJ/RcHRLWC2+QyH+3LS4Qp5kKA9bC7X/FipwjvpspfY+rLcE+jj6ToXdDAbcA== X-Received: by 2002:a05:600c:5409:b0:3d0:5028:e963 with SMTP id he9-20020a05600c540900b003d05028e963mr2635872wmb.51.1669481557950; Sat, 26 Nov 2022 08:52:37 -0800 (PST) Received: from smtpclient.apple (host81-138-1-83.in-addr.btopenworld.com. [81.138.1.83]) by smtp.googlemail.com with ESMTPSA id bt7-20020a056000080700b00236705daefesm6530557wrb.39.2022.11.26.08.52.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 Nov 2022 08:52:37 -0800 (PST) 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: <3D25589F-2417-49B2-BB1A-7F0E6017880F@adacore.com> Date: Sat, 26 Nov 2022 16:52:36 +0000 Cc: GCC Development Content-Transfer-Encoding: quoted-printable Message-Id: References: <5396230C-83FC-495D-A221-2489C4E74CF5@comcast.net> <3D25589F-2417-49B2-BB1A-7F0E6017880F@adacore.com> To: Paul Koning X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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 26 Nov 2022, at 16:42, Arnaud Charlet 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. One additional question/point - which branch are you trying to build the = cross from? I am sure it will not work from upstream master. Unfortunately, owing to lack of free time=E2=80=A6 aarch64-darwin is not = yet completely ready to upstream, so folks are using the development = branch here: https://github.com/iains/gcc-darwin-arm64 (which I will = update later, based on the master version mentioned earlier; if testing = goes OK). Iain.