This is the mail archive of the gcc@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: building gcc 4.0.0 on Solaris


Hi,

OK, I guess the latest compilers from Sun ship with a better "as".
Unfortunately I'm stuck with Sun Studio One 7 for now. Maybe it should
be documented that a recent version of "as" is needed by gcc.


A version not affected by the bug.  4.0.0 bootstraps on Solaris 2.5.1 with
as: WorkShop Compilers 4.2 dev 13 May 1996

It looks like we need to document that as: Sun WorkShop 6 99/08/18 is problematic.

FYI our assembler was unpatched. It appears there is a patch 114802 at least for Solaris 8 / SPARC:
http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-114802-02-1


This patch fixes the following issues:
4945786 fbe generates incorrect address for modulus operation
1209320 fbe needs a way to declare symbols local by default
4296366 /usr/ccs/bin/as overwrites files instead of replacing them
4351979 108908-01 causes the error of /usr/ccs/bin/as. (value does not fit in 32 bits)


I don't understand whether any of these issue descriptions apply to the error I was seeing.

Anyway, I've applied the patch:
$ as -V
as: Sun WorkShop 6 2003/12/18 Compiler Common 6.0 Patch 114802-02
but didn't have time to try and build gcc with it yet.

--
Dimitri Papadopoulos


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