This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-4.3.3 bootstrap fails on old Sun Sparc
- From: Joe Buck <Joe dot Buck at synopsys dot COM>
- To: Dennis Clarke <dclarke at blastwave dot org>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Tue, 27 Jan 2009 17:14:46 -0800
- Subject: Re: gcc-4.3.3 bootstrap fails on old Sun Sparc
- References: <34594.10.0.66.17.1233103989.squirrel@interact.purplecow.org>
On Tue, Jan 27, 2009 at 04:53:09PM -0800, Dennis Clarke wrote:
>
> This is on an old Sun Sparc machine running Solaris 8.
>
> I had CFLAGS set thus :
>
> $ echo $CFLAGS
> -mcpu=v7 -m32 -mno-app-regs -pthreads
That's your problem. Try again without this setting.
> Shortly into what looks like phase 2 I see the process fails thus :
> ...
> xgcc: may not use both -m32 and -m64
It blew up when trying to build 64-bit code, when you'd set CFLAGS
to -m32.