comp.lang.ada
 help / color / mirror / Atom feed
From: "Alex R. Mosteo" <devnull@mailinator.com>
Subject: Re: gnat 3.15p/Windows and tasking bug
Date: Mon, 24 Jul 2006 16:12:54 +0200
Date: 2006-07-24T16:12:54+02:00	[thread overview]
Message-ID: <4ik2m3F45ofgU1@individual.net> (raw)
In-Reply-To: ea2gl4$r6n$1@online.de

michael bode wrote:

> I (and Google) remember a discussion about a bug in gnat 3.15p for
> Windows regarding tasking and delay statements that delay much longer
> than they should sometimes. What I don't remember and also did not
> find through Google was a precise description and if there was a
> workaround or some success using gcc-gnat 3.4.x (3.4.5 is the current
> MinGW version I think).
> 
> To be precise I found references to TWO such bugs one of them was
> limited to rather old mainboards or chipsets. I'm searching for
> information on the other bug.

I keep a copy of my old patch for gnat 3.15p/win. You could try comparing
these files to the original ones to find the diffs, and also compare them
to the mingw ones. I think that 3.15p was still 2.x based, so maybe they're
too different.

Anyhow, the files are here:

https://svn.mosteo.com/public/adagio/gnatpatch/

I strongly suspect the only one with modifications is s-tasren.adb, the
others are simply there because they had to be recompiled because of
dependencies. However this is just a fuzzy recall.

What I can say is that when recompiling these files and linking them with my
program, the bug went away. I received two different patches, but can not
remember their origins. I kept the most recent one, the older one caused
some other bug.

To compile, gnatmake -u -a *.ad? and then include the objects for linking.
The other way is to recompile the entire gnat runtime with the patched
sources. I preferred the first way so I was sure that any stock unmodified
3.15p installation would serve.

Hope this helps.



  reply	other threads:[~2006-07-24 14:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-24 13:06 gnat 3.15p/Windows and tasking bug michael bode
2006-07-24 14:12 ` Alex R. Mosteo [this message]
2006-07-24 18:54   ` Michael Bode
2006-07-25  7:33     ` Alex R. Mosteo
replies disabled

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