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-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!reader02.eternal-september.org!aioe.org!RKN7TKnHC01q0gdg6EhkbQ.user.46.165.242.75.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Gnu Emacs Ada mode 7.1.6 released. Date: Thu, 05 Aug 2021 14:42:31 +0100 Organization: Aioe.org NNTP Server Message-ID: References: <86tukal9h6.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: gioia.aioe.org; logging-data="27447"; posting-host="RKN7TKnHC01q0gdg6EhkbQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) X-Notice: Filtered by postfilter v. 0.9.2 Cancel-Lock: sha1:o2Kob4H7UWvRlagnPGOIu7rVW04= Xref: reader02.eternal-september.org comp.lang.ada:62485 List-Id: Simon Wright writes: > Fernando Oleo Blanco 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.