[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] GM2 on Solaris/Sparc: Option -0 considered harmful
From: |
Gaius Mulley |
Subject: |
Re: [Gm2] GM2 on Solaris/Sparc: Option -0 considered harmful |
Date: |
18 May 2007 11:23:49 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
John O Goyo <address@hidden> writes:
> Greetings:
>
> There is something about "-0".
>
> ./xgm2 -O -Wnil -Wcase -Wbounds -Wreturn -g -funbounded-by-reference
> -Wverbose-unbounded -Wpim -Wpedantic-param-names -Wextended-opaque
> -Wpedantic-cast -c -B./stage2/gm2
> -I../../../src/gcc-4.1.2/gcc/gm2/gm2-compiler
> -I../../../src/gcc-4.1.2/gcc/gm2/gm2-libs
> -I../../../src/gcc-4.1.2/gcc/gm2/gm2-libiberty
> ../../../src/gcc-4.1.2/gcc/gm2/gm2-compiler/NameKey.mod -o
> gm2/gm2-compiler-paranoid/NameKey.o
> Internal error: Segmentation Fault
>
> Remove "-0" and it compiles without incident. The same holds true for
> gm2/gm2-compiler/NameKey.mod,
> gm2/gm2-compiler/SymbolTable.mod,
> gm2/gm2-compiler/bnflex.mod,
> gm2/gm2-compiler/M2SubExp.mod,
> gm2/gm2-libs/FIO.mod,
> gm2/gm2-libs/Environment.mod,
> gm2/gm2-libs/DynamicStrings.mod, and others. I stopped here.
>
> Sincerely,
> john
>
>
Hi John,
thanks for the report - it looks as if the 'fix' only worked on
selected architectures - I'll remove -O from the Make-file.in.
regards,
Gaius