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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.99.96.15 with SMTP id u15mr5373626pgb.138.1505045234883; Sun, 10 Sep 2017 05:07:14 -0700 (PDT) X-Received: by 10.36.33.4 with SMTP id e4mr442299ita.11.1505045234845; Sun, 10 Sep 2017 05:07:14 -0700 (PDT) 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!news.etla.org!feeder.erje.net!2.us.feeder.erje.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!127no1693130itw.0!news-out.google.com!c139ni2573itb.0!nntp.google.com!127no1693128itw.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 10 Sep 2017 05:07:14 -0700 (PDT) In-Reply-To: <8760cs9dau.fsf@jacob-sparre.dk> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=92.221.111.106; posting-account=beIwHAoAAADU40dPBV1VR5DLW0gTDYxo NNTP-Posting-Host: 92.221.111.106 References: <8760cs9dau.fsf@jacob-sparre.dk> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <7145b77d-4572-469a-a281-a51f52b796b1@googlegroups.com> Subject: Re: compiling gcc8 on aarch64 FreeBSD v 12 fails with Ada From: Tarjei Jensen Injection-Date: Sun, 10 Sep 2017 12:07:14 +0000 Content-Type: text/plain; charset="UTF-8" Xref: news.eternal-september.org comp.lang.ada:48004 Date: 2017-09-10T05:07:14-07:00 List-Id: You are correct, it didn't work. I was using gcc6-aux as a package.I've also tried to compile from ports after gavubg disabled the fixincludes. It have the same problem. On Saturday, 9 September 2017 16:06:35 UTC+2, Jacob Sparre Andersen wrote: > 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."