This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Improved support for native as on solaris/x86


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]