This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: sparc64 support for Solaris
- To: frichard at bbn dot com
- Subject: Re: sparc64 support for Solaris
- From: Joe Buck <jbuck at synopsys dot com>
- Date: Fri, 17 Oct 97 19:06:04 PDT
- Cc: egcs at cygnus dot com
> I was wondering how I can enable 64 bit support and v9 instruction
> scheduling for an Ultra 1 Model 170 running Solaris2.5. This is
> apparently not possible when the target is "sparc-sun-solaris2.5.1".
If you turned it on, your process would bomb at the first context switch.
Solaris 2.5.x does not save the 64-bit register state, so basically some
registers will come back randomized (from other processes?).
Solaris 2.6 is supposed to fix this. Also, HAL/OS, HAL's patched
version of Solaris 2.4, fixes it. So please don't turn it on on 2.5.1
(unless you are cross-compiling). Very bad things will happen.