From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.0 required=3.0 tests=BAYES_20,FREEMAIL_FROM, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:ad4:57c4:0:b0:570:f1a0:996f with SMTP id y4-20020ad457c4000000b00570f1a0996fmr944079qvx.2.1677058780597; Wed, 22 Feb 2023 01:39:40 -0800 (PST) X-Received: by 2002:a05:6870:2e0d:b0:16d:8e4a:fe38 with SMTP id oi13-20020a0568702e0d00b0016d8e4afe38mr1013948oab.291.1677058780271; Wed, 22 Feb 2023 01:39:40 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 22 Feb 2023 01:39:40 -0800 (PST) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=184.98.162.11; posting-account=x5rpZwoAAABMN2XPwcebPWPkebpwQNJG NNTP-Posting-Host: 184.98.162.11 References: <365f84cf-29ae-4857-8dfe-e3bfa2191f9dn@googlegroups.com> <022bbc8b-8764-4562-900a-7143fabd394cn@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Weird error emanating from GNAT binder: duplicat "gnatS" From: Jerry Injection-Date: Wed, 22 Feb 2023 09:39:40 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2576 Xref: reader01.eternal-september.org comp.lang.ada:64955 List-Id: On Wednesday, February 22, 2023 at 1:50:23 AM UTC-7, Jerry wrote: > On Tuesday, February 21, 2023 at 10:53:33 PM UTC-7, Niklas Holsti wrote:= =20 I just remembered something that I forgot to mention. In December 2022 I go= t a new MacBook Pro with an Apple M1 Pro CPU. Consequently, I installed Sim= on's ARM compiler from https://github.com/simonjwright/distributing-gcc/rel= eases/tag/gcc-12.2.0-aarch64. When I restored common.adb and common.ads fro= m backup, as I mentioned above after the problem appeared, I noticed that t= hey were last edited in September 2022. Surely these files were recompiled = with the new compiler in December 2022, right? Is it possible that I have b= een running old binaries for common.ads/b under the translator Rosetta 2 wi= thout realizing it? That the new compiler decided that these files didn't n= eed to be recompiled because it saw the old x86-64 binaries ? Or that these= files were compiled for the first time with the new compiler only 2-3 days= ago, revealing a compiler bug? To be clear, I have been running successful= ly, since December 2022, other main programs that link to common and its d= ependencies=E2=80=94I had no need to edit common until 2-3 days ago.