From: Simon Wright <simon@pushface.org>
Subject: Re: Gnat Version 4.5.4 v protected objects v tasking
Date: Tue, 23 Apr 2013 23:03:12 +0100
Date: 2013-04-23T23:03:12+01:00 [thread overview]
Message-ID: <ly61zcucpr.fsf@pushface.org> (raw)
In-Reply-To: 9a00b621-0b00-4ef3-8600-ebcb9dd159c6@googlegroups.com
stvcook53@gmail.com writes:
> Symptoms out of 4.5.4 relate to the tasking portion of the Ada
> run-time system, and relate to protected objects when located outside
> the main program. Symptoms manifest as a silent hang when a program
> is run that includes the tasking portion of the runtime system. The
> gdb debugger exhibits a SIGSEGV while in the run-time package
> System.Secondary_Stack. Symptom occurs at the end of elaboration
> before control enters main program. Please comment on sample code or
> planned, related Gnat updates.
No problems here on Mac OS X - x86_64 - with GNAT GPL 2011/2 or with FSF
4.8.0.
I don't see anything wrong with your code.
The symptoms sound as though the tasking part of the RTS isn't getting
initialised (or not properly, anyway).
I had related symptoms when I had a library that involved tasking and a
main program that didn't; you don't have a separate library, but could
you perhaps try linking with the static RTS vs linking with the dynamic
RTS? If you're using gnatmake, add "-bargs -static" or "-bargs -shared",
or if you're running gnatbind by hand it's "gnatbind -static" or
"gnatbind -shared".
next prev parent reply other threads:[~2013-04-23 22:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-23 20:30 Gnat Version 4.5.4 v protected objects v tasking stvcook53
2013-04-23 22:03 ` Simon Wright [this message]
2013-04-24 13:21 ` stvcook53
2013-04-29 13:15 ` stvcook53
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox