public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Iain Sandoe <iain@sandoe.co.uk>
To: Paul Koning <paulkoning@comcast.net>
Cc: GCC Development <gcc@gcc.gnu.org>,
	Arnaud Charlet <charlet@adacore.com>, FX <fxcoudert@gmail.com>
Subject: Re: Can't build Ada
Date: Sun, 27 Nov 2022 11:54:41 +0000	[thread overview]
Message-ID: <D3EE203F-6F47-4331-B7E4-D45784F3B516@sandoe.co.uk> (raw)
In-Reply-To: <55D87357-3B2B-431E-BA34-0C7E997F906E@comcast.net>

Hi Paul,

> On 26 Nov 2022, at 18:06, Paul Koning via Gcc <gcc@gcc.gnu.org> wrote:
> 
>> On Nov 26, 2022, at 11:42 AM, Arnaud Charlet via Gcc <gcc@gcc.gnu.org> wrote:
>> 
>>>> The current statement  (https://gcc.gnu.org/install/prerequisites.html) is:
>>>> 
>>>> GNAT
>>>> In order to build GNAT, the Ada compiler, you need a working GNAT compiler (GCC version 5.1 or later).
>>>> 
>>>> 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.
>> 
>> You won’t need to, the version of gnat you are using is recent enough, you need to follow Ian’s 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’ve fixed up the DFP and testcases (although clang does not support _DecimalXX on aarch64 Darwin, so maybe it’s 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).


  parent reply	other threads:[~2022-11-27 11:54 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-25 19:57 Paul Koning
2022-11-25 20:03 ` Andrew Pinski
2022-11-25 20:08   ` Paul Koning
2022-11-25 20:13     ` Andrew Pinski
2022-11-25 20:46       ` Iain Sandoe
2022-11-26 15:48         ` Paul Koning
2022-11-26 15:58           ` Iain Sandoe
2022-11-26 16:27             ` Paul Koning
2022-11-26 16:42               ` Arnaud Charlet
2022-11-26 16:52                 ` Iain Sandoe
2022-11-26 18:02                   ` Paul Koning
2022-11-26 18:06                 ` Paul Koning
2022-11-26 18:15                   ` Iain Sandoe
2022-11-27 11:54                   ` Iain Sandoe [this message]
2022-11-25 20:17     ` Iain Sandoe
2022-11-25 20:26     ` NightStrike
2022-11-25 20:45     ` Alexandre Oliva

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D3EE203F-6F47-4331-B7E4-D45784F3B516@sandoe.co.uk \
    --to=iain@sandoe.co.uk \
    --cc=charlet@adacore.com \
    --cc=fxcoudert@gmail.com \
    --cc=gcc@gcc.gnu.org \
    --cc=paulkoning@comcast.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).