[build] Support libgo on Solaris 2

Ian Lance Taylor iant@google.com
Tue Jan 11 23:57:00 GMT 2011


> From: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
> Date: Mon, 10 Jan 2011 16:23:05 +0100

> I don't even know if gold works on Solaris 2/x86.  We had some try at
> Solaris 2/SPARC some time ago, but didn't get anywhere.

I would not expect it to be too hard to get gold working on Solaris,
given that it does support SPARC and x86 GNU/Linux.  But it's not like
I've tried.


> Do you have a pointer to the split stack specs?  The Solaris linker
> maintainers may be amenable to implementing it, given a sufficient case.

http://gcc.gnu.org/wiki/SplitStacks

Note that most of the work for SPARC would be in gcc.  For x86 making
gcc work on Solaris should be straightforward, if Solaris can reserve a
slot in the TLS descriptor.  The changes in the linker are important but
probably not too major, if developers are willing.

Ian



More information about the Gcc-patches mailing list