This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Improved support for native as on solaris/x86
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 21 Jul 2006 14:17:45 +0200
- Subject: Re: [PATCH] Improved support for native as on solaris/x86
- References: <Pine.LNX.4.44.0607201051360.5451-100000@www.eyesopen.com>
Roger Sayle <roger@eyesopen.com> writes:
> The following patch fixes a problem using the native SUN assembler on
> solaris/x86. It turns out that the command line options used to inform
> the assembler whether to generate 32-bit vs. 64-bit binaries are
> incompatible between GNU bintutil's gas and /usr/ccs/bin/as. The
> first uses --32 and --64 which are unrecognized by the latter, which
> instead uses -xarch=generic and -xarch=generic64. This is a regression
> from gcc-3.4, which bootstraps by default using the native as, but this
> now fails on mainline. This patch allows a default bootstrap with
> the native as to proceed further.
I already started some work towards using Sun as for Solaris/amd64 back
when the initial port was done on the csl-sol210-branch:
http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00908.html
Unfortunately, I didn't get very far and it seems that we need buy-in from
the Sun as maintainers to get this done for real.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University