comp.lang.ada
 help / color / mirror / Atom feed
From: stvcook53@gmail.com
Subject: Re: Gnat Version 4.5.4 v protected objects v tasking
Date: Wed, 24 Apr 2013 06:21:37 -0700 (PDT)
Date: 2013-04-24T06:21:37-07:00	[thread overview]
Message-ID: <01ac99b6-291a-4f6d-aafd-830f22d0fac2@googlegroups.com> (raw)
In-Reply-To: <ly61zcucpr.fsf@pushface.org>

On Tuesday, April 23, 2013 5:03:12 PM UTC-5, Simon Wright wrote:
> 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".


Thanks Simon.  My coworker will be happy that you work with Mac.  We'll check it out.

Steve



  reply	other threads:[~2013-04-24 13:21 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
2013-04-24 13:21   ` stvcook53 [this message]
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