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: Problem with emacs ada-mode-7.1.4 Date: Sun, 18 Jul 2021 17:24:07 +0100 Organization: Aioe.org NNTP Server Message-ID: References: <4e943274-59ad-497d-9ef1-5f5d096aea56n@googlegroups.com> <6b724d0f-3184-47f0-8266-c805406cf4b7n@googlegroups.com> <76673bec-53cc-4789-8f01-4a1d0d04e077n@googlegroups.com> <71c3d589-fd6f-4b5e-a9f3-394109b1fa05n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: gioia.aioe.org; logging-data="1860"; 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) Cancel-Lock: sha1:CHr0IuTnUfKupLtLihJhgOOHN0c= X-Notice: Filtered by postfilter v. 0.9.2 Xref: reader02.eternal-september.org comp.lang.ada:62407 List-Id: Paul Onions writes: > I have one question: was my original problem a bug in the ada-mode > code or is it a bug in the latest GNAT compiler? (GCC 11.1.0) Just had a poke around. GNAT CE 2019, using the matching gnatcoll-db and gnatcoll-bindings from the CE download site, worked OK. CE 2020, with its matching bindings, required the WORKAROUND changes to build. CE 2021, with its matching bindings, failed in *exactly the same way* as FSF GCC 11.1.0!! There was an interesting thread about this at [1]; I'm not sure from that whether the ada-mode code is OK or not, but it seems that even if it is we'll have to wait for a later compiler release. The lesson I'd draw is that building your own container collection is risky. At least if you start from Ada.Containers you have a reasonably firm basis. With regard to "matching bindings" above, these can be found at the CE download site[2]. Find the compiler release you want the bindings for (we Mac users are better off going for the x86 GNU Linux (64 bits) version) and click on the Sources link. For CE 2021, you'll find -core and -bindings but not -db; I see that I used the v21.0.0 tag from AdaCore's github repo when I built the binary CE 2021 distribution you'll find at [3]. [1] https://groups.google.com/g/comp.lang.ada/c/7dw7Oqi8lIk/m/t6UJkTIHDQAJ [2] https://www.adacore.com/download/more [3] https://github.com/simonjwright/distributing-gcc/releases/tag/gnat-ce-2021