From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Emacs Ada mode with RTS Date: Wed, 17 Jun 2015 22:30:30 +0100 Organization: A noiseless patient Spider Message-ID: References: <888a3bd7-6ce8-4458-8725-8330680f48de@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="c762050aff3a30866fa7e79999b14776"; logging-data="18959"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18JIwlDHEKiH5x4yl25/zxrbkDNqgX5jBI=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:wg61Hb5Lxy3boOwlx5SQkKokMBM= sha1:5UvNlqiCuBiDSyMqddyFd5gf0iQ= Xref: news.eternal-september.org comp.lang.ada:26366 Date: 2015-06-17T22:30:30+01:00 List-Id: Patrick Noffke writes: > check_cmd=${toolchain_dir}/gprbuild -u -c -gnatc -p -P${gpr_file} > --target=arm-eabi --config=${config_file} ${full_current} I've seen this sort of thing before, though not while compiling outside the RTS itself. It may have nothing to do with your problem, but when I was getting a segfault with -gnatc I was told not to use -gnatc in the runtime[1]! So now I have it set to compile the file instead of doing a check: gprbuild -c -u -f -p -P${gpr_file} ${full_current} Following other hints like this[2] I've asked AdaCore whether they have a secret list of things that you shouldn't do in the runtime, without success. Probably sticking to Ada95 language would help. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66162#c3 [2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64866#c2