This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: c/8022: gcc 3.2 Solaris 64 bit shared libraries
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: hyc at symas dot com, jsurveyor at macquarie dot net dot au, gcc-patches at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
- Date: 03 Apr 2003 18:10:14 +0200
- Subject: Re: c/8022: gcc 3.2 Solaris 64 bit shared libraries
- References: <m3smszrifu.fsf@workshop.nickc.cambridge.redhat.com>
Nick Clifton <nickc at redhat dot com> writes:
> I am applying this patch, approved by Jakub in a private email, to fix
> the problem. With the patch applied, the specs file looks like this:
>
> *asm_cpu:
> %{mcpu=ultrasparc:%{!m64:-xarch=v8plusa}%{m64:-xarch=v9a -TSO}}
> %{mcpu=v9:%{!m64:-xarch=v8plus}%{m64:-xarch=v9 -TSO}}
> %{!mcpu=ultrasparc:%{!mcpu=v9:%{mcpu*:%{!m64:-xarch=v8}%{m64:-xarch=v9
> -TSO}}}} %{!mcpu*:%(asm_cpu_default)}
>
> *asm_cpu_default:
> %{m64:-xarch=v9 -TSO} %{!m64:}
This cannot be right: only gas understands the -TSO flag (is this true for
all versions currently claimed to be supported on Solaris 2?), the native
as certainly does not. I suppose this belongs to sol2-gas-bi.h.
Rainer