From: Jacob Sparre Andersen <jacob@jacob-sparre.dk>
Subject: Re: compiling gcc8 on aarch64 FreeBSD v 12 fails with Ada
Date: Sat, 09 Sep 2017 16:06:33 +0200
Date: 2017-09-09T16:06:33+02:00 [thread overview]
Message-ID: <8760cs9dau.fsf@jacob-sparre.dk> (raw)
In-Reply-To: b894a75f-1635-439d-a3d8-3fd2c43f9cf8@googlegroups.com
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."
next prev parent reply other threads:[~2017-09-09 14:06 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 [this message]
2017-09-10 12:07 ` Tarjei Jensen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox