gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] Crash importing standalone module


From: Gaius Mulley
Subject: Re: [Gm2] Crash importing standalone module
Date: 25 Mar 2004 22:32:59 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Waldek Hebisch <address@hidden> writes:

> When I compile the following modules:
> 
> file A.def:
> MODULE A;
> 
>    PROCEDURE PA;
> 
> END A.
> 
> file B.def:
> DEFINITION MODULE B;
> 
> END B.
> 
> file B.mod:
> IMPLEMENTATION MODULE B;
> 
> FROM A  IMPORT PA;
> 
> END B.
> 
> I get:
> 
> src3$  ../../gm2-lin/gcc/xgm2 -B../../gm2-lin/gcc/ -v -I. 
> -I../../gcc-3.3.2/gcc/gm2/gm2-libs -c B.mod
> Reading specs from ../../gm2-lin/gcc/specs
> Configured with: ../gcc-3.3.2/configure --enable-languages=c,gm2
> Thread model: posix
> gcc version 3.3.2
>  ../../gm2-lin/gcc/cc1gm2 -quiet -dumpbase B.mod -auxbase B 
> -Wtarget-ar=/usr/bin/ar -version -I. 
> -I../../gcc-3.3.2/gcc/gm2/gm2-libs:/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/gm2/pim:/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/gm2/iso
>  B.mod -o /tmp/cc39C5YL.s
> GNU Modula-2 version 3.3.2 (i686-pc-linux-gnu)
>         compiled by GNU C version 3.4.0 20040303 (prerelease).
> GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=129182
> gm2  [0.42b (address@hidden)] [Thu Mar 25 15:39:58 2004]
> B.mod:0: internal compiler error: Segmentation fault
> Please report this crash to the GNU Modula-2 mailing list <address@hidden>
> 
> 
> The problem vanishes if A is properly writen (as DEFINITION MODULE).

Hi Waldek,

thanks for reporting this bug, hopefully I'll get a fix out when
I check in the opteron port..

Gaius



reply via email to

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