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!feeder.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!newsfeed.xs3.de!io.xs3.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.109.59.22.86.mobile.3.dk!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: compiling gcc8 on aarch64 FreeBSD v 12 fails with Ada Date: Sat, 09 Sep 2017 16:06:33 +0200 Organization: JSA Research & Innovation Message-ID: <8760cs9dau.fsf@jacob-sparre.dk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: franka.jacob-sparre.dk; posting-host="109.59.22.86.mobile.3.dk:109.59.22.86"; logging-data="5677"; mail-complaints-to="news@jacob-sparre.dk" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:alOry4CadRHNGqvtAbqQwO0ykC8= Xref: news.eternal-september.org comp.lang.ada:47994 Date: 2017-09-09T16:06:33+02:00 List-Id: Tarjei Jensen wrote: > I compiled the example in > https://gcc.gnu.org/onlinedocs/gnat_ugn/Running-a-Simple-Ada-Program.html > using the procedure and I got the following response : > > # gcc -c hello.adb > # gnatbind hello > # gnatlink hello Interesting. The "proper" way to do it is: # gnatmake -fstack-check -gnata -gnato -gnat2012 hello.adb I doubt that it solves your problem though. > # ./hello > > raised STORAGE_ERROR : stack overflow or erroneous memory access > # > # cat hello.adb > with Ada.Text_IO; use Ada.Text_IO; > procedure Hello is > begin > Put_Line ("Hello WORLD!"); > end Hello; > # This looks like you have a problem with the build or installation of your run-time. Greetings, Jacob -- "I've got _plenty_ of common sense!" "I just choose to ignore it."