This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 3.4 bootstrap problem with sun cc
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Cc: gcc-bugs at gcc dot gnu dot org,gcc at gcc dot gnu dot org
- Date: Tue, 14 Sep 2004 08:34:11 +0200
- Subject: Re: 3.4 bootstrap problem with sun cc
- References: <200409140242.i8E2glZn028251@caip.rutgers.edu>
Hi Kaveh,
> I'm seeing a wierd error in stage2 on sparc-sun-solaris2.9 when using
>
> cc for stage1. The error I get is:
> > /usr/ccs/bin/as: "/tmp/ccId750a.s", line 16716: error: constant value
> > must be between -4096 and 4095
> > make[2]: *** [loop.o] Error 1
>
> When I use gcc for stage1, I don't get the error. I also don't get
> the error using a different version of Sun CC on another box.
>
> The failing system runs solaris2.9 and has Sun C 5.5 2003/03/12 and
> as: Sun WorkShop 6 update 2 Compiler Common 6.2 Solaris_9_CBE 2001/04/02
See http://gcc.gnu.org/install/specific.html#sparc-sun-solaris2*
> The working system runs solaris2.7 and has WorkShop Compilers 5.0
> 98/12/15 C 5.0 and as: WorkShop Compilers 5.0 03/07/30 Compiler Common
> 5.0 Patch 107058-02
>
> Is it a bug in sun cc version 5.5?
Yes, relating to 'long long' arithmetics IIRC.
--
Eric Botcazou