gnu.gcc.help
[Top] [All Lists]

Re: Is this code in gcc 4.3.1 valid C or is Sun compiler wrong ??

Subject: Re: Is this code in gcc 4.3.1 valid C or is Sun compiler wrong ??
From: David Eisner <deisner@xxxxxxxxx>
Date: Mon, 28 Jul 2008 14:32:46 -0700 (PDT)
Newsgroups: gnu.gcc.help

On Jul 23, 11:22 am, Riot Nrrrd™ <Fri...@xxxxxxxxxx> wrote:
> I am trying to build 4.3.1 on Solaris 9 SPARC and am running into this
> exact same problem (using Sun Studio 12 to do the initial bootstrap
> phase).
>
> One thing I hadn't seen mentioned in this thread is the "-xc99"
> switch to Sun Studio 12's "cc", but trying this (CC="cc -xc99" before
> "configure") still fails, in one of two ways:


By the way, I'm in the same boat, running into the problems described
here.  For the time being I'm going to try to build gcc-4.2.4 instead.

One thing that might be helpful is for the gcc folk to provide a
regularly updated web page with reports on what platforms recent
releases of GCC have been built, using what compiler/linker/binutils
etc.  You might even provide helpful notes, something like:

    GCC 4.3.1    Solaris 9    SPARC 64, x86, ...    Sun Studio
Compiler 11/12 + Solaris ld
    NOTE: Build fails due to no-arg MACRO in gcc/c-common.c, see Bug
ID #xxxxxx,  patch ...

Perhaps this could be part of the Wiki, and/or integrated or augmented
with data from the compile farm?

-David

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Is this code in gcc 4.3.1 valid C or is Sun compiler wrong ??, David Eisner <=