comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Gnu Emacs Ada mode 7.1.6 released.
Date: Thu, 05 Aug 2021 14:42:31 +0100	[thread overview]
Message-ID: <lyh7g4f1o8.fsf@pushface.org> (raw)
In-Reply-To: ly8s1g1d5r.fsf@pushface.org

Simon Wright <simon@pushface.org> writes:

> Fernando Oleo Blanco <irvise_ml@irvise.xyz> writes:
>
>> I can confirm that it works with GNAT community 2021. It is the first
>> time I got it working.
>
> In my case it didn't: resurrection of old problems,
>
> sal-gen_unbounded_definite_stacks.adb:209:07: error: access
> discriminant in return object would be a dangling reference
> sal-gen_unbounded_definite_stacks.adb:216:07: error: access
> discriminant in return object would be a dangling reference
> wisitoken-syntax_trees.ads:620:04: warning: in instantiation at
> sal-gen_unbounded_definite_vectors.adb:65 [-gnatwv]
> wisitoken-syntax_trees.ads:620:04: warning: aggregate not fully
> initialized [-gnatwv]
> etc etc
>
> This is because ada-mode-7.1.6 only "requires" wisi-3.1.3, which was
> already installed, rather than the latest 3.1.5 ... install 3.1.5,
> *delete 3.1.3*

I got a successful build with macOS GNAT CE 2021. However, using it
failed with

Execution of /Users/simon/.emacs.d/elpa/ada-mode-7.1.6/gpr_query terminated by unhandled exception
raised PROGRAM_ERROR : gnatcoll-sql_impl.adb:198 accessibility check failed
Load address: 0x1066e1000
Call stack traceback locations:
0x106932523 0x10693255f 0x10699b420 0x10699b5e9 0x10699b143 0x106988f88 0x1067830d4 0x1066f0fb1 0x106feb430

which is an unfortunate bleeding-edge interaction between the compiler
and gnatcoll-db:v21.0.0 (there are mutterings in the source at this line
about "GNAT bug OB03-009").

Building with FSF GCC 11.1.0 is looking good.

Which version of gnatcoll-db did you use, Fernando? The ada-mode README
isn't very prescriptive.

  parent reply	other threads:[~2021-08-05 13:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-31 16:43 Gnu Emacs Ada mode 7.1.6 released Stephen Leake
2021-08-05  8:16 ` Fernando Oleo Blanco
2021-08-05  8:58   ` Simon Wright
2021-08-05 10:59     ` Fernando Oleo Blanco
2021-08-07 10:35       ` Simon Wright
2021-08-07 16:47         ` Paul Onions
2021-08-07 17:46           ` Paul Onions
2021-08-12 17:36             ` Stephen Leake
2021-08-05 13:42     ` Simon Wright [this message]
2021-08-05 13:51       ` Fernando Oleo Blanco
2021-08-06 22:00         ` Manuel Gomez
2021-08-09 21:18       ` Stephen Leake
2021-08-09 21:09     ` Stephen Leake
2021-08-09 10:54   ` Stephen Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox