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=-1.9 required=3.0 tests=BAYES_00,FREEMAIL_FROM, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:ac8:405b:0:b0:3bd:142a:cb21 with SMTP id j27-20020ac8405b000000b003bd142acb21mr1004066qtl.0.1677059381215; Wed, 22 Feb 2023 01:49:41 -0800 (PST) X-Received: by 2002:a05:6808:152a:b0:383:cdd2:c066 with SMTP id u42-20020a056808152a00b00383cdd2c066mr96571oiw.95.1677059380923; Wed, 22 Feb 2023 01:49: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:49: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:49:41 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 3772 Xref: reader01.eternal-september.org comp.lang.ada:64956 List-Id: On Wednesday, February 22, 2023 at 2:37:27 AM UTC-7, Jeffrey R.Carter wrote= : > On 2023-02-22 09:50, Jerry wrote:=20 > >=20 > > Since my most recent post, and before I read this note from Niklas, I= =20 > > * Removed the circular dependency between packages common and signal_pr= ocessing and consequently was able to remove the "limited with" clause. > > * The "limited with" has been in the code for a few years; the problem = that I am reporting has begun only about 2-3 days ago. At that point, I was= adding a function to common.adb and common.ads; upon recompiling, the bug = appeared. When I restored those files from backup, the problem remained. To= be clear, the "limited with" has been present for a long time with success= ful compilation until 2-3 days ago.=20 >=20 > > * As far as I know, which is pretty far, the source code hasn't changed= . As we all know, those are famous last words. :-| But the compiler isn't p= oint to my code. > The first two statements seem to contradict the third. I will presume tha= t you=20 > have returned the code to the state that previously built successfully, a= nd are=20 > still getting the problem.=20 That is correct. Only after experiencing the problem with what I believe is= the original code did I remove the limited with, and the problem remains w= ithout the limited with. >=20 > Something must have changed (unless GNAT 12 has a time bomb). How long ha= ve you=20 > been using the version of the compiler that gives you the error?=20 Please see my previous post which I was writing at the time of your post. I= think it answers your question. >=20 > I would suggest deleting all compiler artifacts: .ali, .o[bj], executable= , and=20 > trying again.=20 I did that. Multiple times. No help. >=20 > You could also try using gnatmake without a project file rather than gprb= uild or=20 > gnatmake with a project file to see if that has any effect.=20 I thought about that but I'm not sure how to do it. I guess the easiest way= would be to make a new directory and put copies of the needed files in it = so I don't have to make a bunch of weird switches. >=20 > GNAT 12 has significant known errors that prevent it from compiling legal= code.=20 Wow. Good to know. > I'm sticking with V11[.3] until they're resolved. You might need to do th= e same.=20 Not sure what the Mac/ARM situation is with V11. Jerry