* TASKING_ERROR or STORAGE_ERROR ?
@ 2001-09-18 12:47 Nicolas HUYNH
0 siblings, 0 replies; only message in thread
From: Nicolas HUYNH @ 2001-09-18 12:47 UTC (permalink / raw)
Hi,
I've got problems with Ada tasks at elaboration time, using
Gnat and Linux.
The pattern is the following for several packages P :
package P is
(...)
task type TT is (...)
T : TT;
(...)
end P;
package body P is
(...)
task body TT is
begin
(...)
end TT;
(...)
end P;
On Solaris and Tru64-Unix, I used to set the Storage_Size attribute
of each task. No problem.
However, on Linux, my program raises an exception TASKING_ERROR
when elaborating the package P. In many cases, I solved the problem
by decreasing the Storage_Size of the task, thus it appears that this
was a problem due to storage during the elaboration of the task itself.
But there is one case when this does not work.
Changing the body of the task by a much more simple one also suppresses
the TASKING_ERROR, but of course I would like to keep the body of
the task unchanged.
Is there any way to investigate any more ?
Any help would be appreciated !
Nicolas
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-09-18 12:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-18 12:47 TASKING_ERROR or STORAGE_ERROR ? Nicolas HUYNH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox