Go patch committed: Multiplex goroutines onto OS threads

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Tue Dec 13 11:22:00 GMT 2011


Ian Lance Taylor <iant@google.com> writes:

> Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
>
>> Ian Lance Taylor <iant@google.com> writes:
>>
>>> Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu.  Tested
>>> both with and without -fsplit-stack support.  Committed to mainline.
>>
>> Once Go bootstrap works again on Solaris, I notice that there are many
>> 64-bit testsuite failures, which have been introduced between 20111125
>> (r181724) and 20111130 (r181837), so this patch is the obvious culprit.
>
> I just committed another libgo update, which will no doubt lead to
> further problems.

I'll check that once another bootstrap off the same source tree has
finished.

> In order to debug these problems I think I will need access to an x86
> Solaris system.  Otherwise I don't know what is happening.  Do you know

I can most likely get you access to my test systems (both Solaris/x86
and SPARC).  I'll get back to you in private mail when I've checked on
our institute's procedure.

> of any differences between Solaris and GNU/Linux when it comes to the
> getcontext, setcontext, and makecontext functions?

I've just found something in Solaris 11 makecontext(3C) (NOTES section),
but that doesn't explain why 32-bit Solaris/x86 works, while 64-bit
doesn't:

	http://docs.oracle.com/cd/E23824_01/html/821-1465/makecontext-3c.html

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University



More information about the Gcc-patches mailing list