AMD64 version of GNAT Ada compiler broken due to libthr

John Marino freebsdml at marino.st
Fri Dec 31 13:37:33 UTC 2010


Yeah, that's kind of what I was getting at.  Would this patch get into 
FreeBSD 8.2, and would that mean that GNAT would start working properly 
starting with FreeBSD 8.2 if that happened?

I guess that also means the other BSD's have been allowing executable 
stacks all along.

Thanks!


Kostik Belousov wrote:
> This means that the Ada complier or tasking library uses on-stack
> trampolines for something. Since FreeBSD threads on amd64 get
> non-executable stacks, the tasking fails.
> 
> The proper solution is to provide a support for conditional
> non-executable stacks, as described in
> http://lists.freebsd.org/pipermail/freebsd-arch/2010-November/010826.html
> The latest WIP patch is
> http://people.freebsd.org/~kib/misc/nxstacks.3.patch
> I hope to get something in the tree not too long.
> 


More information about the freebsd-threads mailing list