Re: [libgo] Detect Solaris 8/9 SPARC makecontext

2012-02-15 Thread Ian Lance Taylor
Rainer Orth writes: > 2012-02-13 Rainer Orth > > * configure.ac (libgo_cv_lib_makecontext_stack_top): Set on > sparc*-*-solaris2.[89]*. > (MAKECONTEXT_STACK_TOP): Define if appropriate. > (libgo_cv_lib_setcontext_clobbers_tls): Use it. > * configure: Regenerate. >

[libgo] Detect Solaris 8/9 SPARC makecontext

2012-02-15 Thread Rainer Orth
The libgo setcontext TLS configure test was failing on Solaris 8 and 9/SPARC, breaking bootstrap due to the unhandled case in runtime/proc.c. This turned out to be a known issue, documented in the makecontext(3C) manpage: NOTES The semantics of the uc_stack member of the ucontext_t