gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] error report


From: Gaius Mulley
Subject: Re: [Gm2] error report
Date: 25 Jun 2003 11:23:51 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Christoph Schlegel <address@hidden> writes:

> Hello,
> 
> I send this in because I'm told to do it. But I have to say I'm not really 
> sure that I've done
> everything right and correct. Especially applying the gm2-out-of-the-box 
> script -
> 
> I downloaded gcc-3.2.3 core and current gm2 cvs sources.
> 
> Regards,
> Christoph
> 
> 
> ./xgm2 -Wbounds -Wreturn -gstabs -g -c -B./stage1/gm2 -I./gm2/gm2-compiler 
> -I./gm2/gm2-libs -I./gm2/gm2-libiberty gm2/gm2-compiler/SymbolTable.mod -o 
> gm2/gm2-compiler/SymbolTable.o
>  <var_decl 0x401d7460 _T2313
>     type <pointer_type 0x4019c1c0 ADDRESS
>         type <void_type 0x401487e0 VOID
>           align 8 symtab 23 alias set -1
>           pointer_to_this <pointer_type 0x40148850>>
>       unsigned used SI
>       size <integer_cst 0x40142bc0 constant 32>
>       unit size <integer_cst 0x40142c20 constant 4>
>       align 32 symtab 24 alias set -1
>       pointer_to_this <pointer_type 0x403a8070> reference_to_this 
> <reference_type 0x40379d20>>
>     unsigned used public SI file gm2/gm2-compiler/SymbolTable.mod line 1564 
> size <integer_cst 0x40142bc0 32> unit size <integer_cst 0x40142c20 4>
>     align 32 context <function_decl 0x40385770 SymbolTable_PutSubrange>
>     (mem/f:SI (plus:SI (reg/f:SI 6 ebp)
>         (const_int -188 [0xffffff44])) [0 _T2313+0 S4 A32]) chain <var_decl 
> 0x401d74d0 _T2315>>
> gm2/gm2-compiler/SymbolTable.mod: In function 'GetConstLitType':
> gm2/gm2-compiler/SymbolTable.mod:3000: [gm2/gccgm2.c:7358]:condition 
> 'is_type(type)' failed
> Please report this crash to the GNU Modula-2 mailing list <address@hidden>
> make[2]: *** [gm2/gm2-compiler/SymbolTable.o] Error 1
> make[2]: Leaving directory '/opt/gcc-3.2.3/gcc'
> cp: cannot stat 'stage2/gm2/cc1gm2': Not a directory
> make[1]: *** [cc1gm2] Error 1
> make[1]: Leaving directory '/opt/gcc-3.2.3/gcc'
> make: *** [all-gcc] Error 2
>    

Hi Christoph,

thanks for the error report and sorry I didn't respond earlier.
The gm2 lists treats all emails from non subscribed posters as
spam and I didn't check the spam folder as regularly as I should!

The error is due to not patching gcc/ggc-page.c
it requires a patch which forces ggc_collect to return
immediately.


void
ggc_collect ()
{
  return;   /* add this line to gcc-3.2/gcc/ggc-page.c */


this will fix the above error..

Gaius
-- 
Gaius Mulley       University of Glamorgan     address@hidden



reply via email to

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