[kib@freebsd.org: [src] cvs commit: src/sys/amd64/linux32 linux32_sysvec.c]

Jung-uk Kim jkim at FreeBSD.org
Fri Nov 3 21:51:49 UTC 2006


On Wednesday 01 November 2006 04:13 am, Divacky Roman wrote:
> the state of amd64-TLS is this:
>
> its basically implemented but there's a bug that lets only first
> program run with TLS, all subsequent attempts to use TLS segfaults.
> I discussed this with davidxu@ and he told me saw something similar
> which was caused by reloading of %gs $somewhere. I digged through
> the sources and in linux32_locore.s we reload it.. I am no expert
> with this so I'd like to ask you for help and possible testing.
>
> can you test p4 branch (which includes amd64-tls) with the %gs/%fs
> reloading commented out in linux32_locore.s?

It did not fix the problem. :-(

> and if that doesnt work look at the issue (I guess you are fluen
> with amd64 internals).

Unfortunately I don't have time ATM.  I will try later when I find 
some time.

Thanks,

Jung-uk Kim


More information about the freebsd-emulation mailing list