Re: Gnat STORAGE_ERROR



Duncan Sands wrote:
however in linux there seems to be some other limit imposed by ld (not just to Ada programs) that I've been unable to break (nor to get some other person to acknowledge that the problem really exists, but some obscure post in some unknown forum).


What does
	ulimit -s
return?

unlimited

I didn't get any linking error, it was simply that the stack size didn't seem to be honored and peaked at about 2MB. Eventually I removed my needs for so a big stack and didn't explore the matter further. It could be too a thing of old linux versions, or something I did wrong.
.




Relevant Pages

  • Re: Gnat STORAGE_ERROR
    ... Duncan Sands wrote: ... just to Ada programs) that I've been unable to break. ... I didn't get any linking error, it was simply that the stack size didn't ... needs for so a big stack and didn't explore the matter further. ...
    (comp.lang.ada)
  • Re: Gnat STORAGE_ERROR
    ... Duncan Sands wrote: s-parame.adb): ... GNU/Linux has the following disadvantages compared to other native thread libraries: The size of the task's stack is limited to 2 megabytes. ...
    (comp.lang.ada)