comp.lang.ada
 help / color / mirror / Atom feed
From: Tarjei Jensen <tarjei99@gmail.com>
Subject: Re: compiling gcc8 on aarch64 FreeBSD v 12 fails with Ada
Date: Sun, 10 Sep 2017 05:07:14 -0700 (PDT)
Date: 2017-09-10T05:07:14-07:00	[thread overview]
Message-ID: <7145b77d-4572-469a-a281-a51f52b796b1@googlegroups.com> (raw)
In-Reply-To: <8760cs9dau.fsf@jacob-sparre.dk>

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."

      reply	other threads:[~2017-09-10 12:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-08 15:33 compiling gcc8 on aarch64 FreeBSD v 12 fails with Ada Tarjei Jensen
2017-09-08 17:07 ` Tarjei Jensen
2017-09-09 14:06   ` Jacob Sparre Andersen
2017-09-10 12:07     ` Tarjei Jensen [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox