gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gm2] Re: Solaris GM2 problem


From: Gaius Mulley
Subject: [Gm2] Re: Solaris GM2 problem
Date: 24 Dec 2004 08:13:54 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

john o goyo <address@hidden> writes:

> Greetings:
> 
> The CVS source dated 2004-12-22 made without incident
> on Solaris 9 (SPARC-based, IP32L64) but make gm2.paranoid
> had the following problem (apparently compiling FifoQueue.mod).
> 
> gm2/boot-bin/mklink -s -exit -main gccgm2front
> ../../gcc-3.3.2-gm2/gcc/gm2/init/gm2-gccinit
> mv mod_init.c gm2/gm2-compiler-paranoid
> gcc -c -g gm2/gm2-compiler-paranoid/mod_init.c -o
> gm2/gm2-compiler-paranoid/mod_init.o
> ./xgm2 -Wnil -Wcase -Wbounds -Wreturn -g -gdwarf-2
> -funbounded-by-reference -Wverbose-unbounded -Wpim
> -Wpedantic-param-names -c -B./stage2/gm2
> -I../../gcc-3.3.2-gm2/gcc/gm2/gm2-compiler
> -I../../gcc-3.3.2-gm2/gcc/gm2/gm2-libs
> -I../../gcc-3.3.2-gm2/gcc/gm2/gm2-libiberty
> ../../gcc-3.3.2-gm2/gcc/gm2/gm2-compiler/FifoQueue.mod -o
> gm2/gm2-compiler-paranoid/FifoQueue.o
> ../../gcc-3.3.2-gm2/gcc/gm2/gm2-compiler/FifoQueue.mod:43:coersion
> expecting a type
> ../../gcc-3.3.2-gm2/gcc/gm2/gm2-compiler/FifoQueue.mod:43:only one
> parameter expected in a TYPE coersion
> ../../gcc-3.3.2-gm2/gcc/gm2/gm2-compiler/FifoQueue.mod:45:too many
> errors in pass 3
> make: *** [gm2/gm2-compiler-paranoid/FifoQueue.o] Error 1
> 
> 
> This really confuses me as the offending code is the folowing:
> 
> 41: PROCEDURE GetFromFifoQueue (VAR c: CARDINAL) ;
> 42: BEGIN
> 43:    INC(Out) ;
> 44:    c := GetItemFromList(Queue, Out)
> 45: END GetFromFifoQueue ;
> 
> The variable "Out" is defined as follows:
> 
> 24:    Out  : CARDINAL ;

Hi John,

thanks for the error report. My guess is that it could be a code
generator bug in the previous stage. FifoQueue is one of the first
compiler modules to be built. Out of interest could you try building
other modules such as:

cd <build-dir>/gcc
make gm2/gm2-compiler-paranoid/SymbolTable.o
make gm2/gm2-compiler-paranoid/SymbolKey.o
make gm2/gm2-compiler-paranoid/Lists.o
make gm2/gm2-compiler-libs/ASCII.o
make gm2/gm2-compiler-libs/FIO.o

ASCII should be the easiest to compile, in the past I've also seen the
others fail in similar circumstances. Also do you know if the
regression tests fail - in particular the "run" tests?

Thanks Gaius



reply via email to

[Prev in Thread] Current Thread [Next in Thread]