gm2
[Top][All Lists]
Advanced

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

[Gm2] Crash importing standalone module


From: Waldek Hebisch
Subject: [Gm2] Crash importing standalone module
Date: Thu, 25 Mar 2004 23:09:36 +0100 (CET)

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).

-- 
                              Waldek Hebisch
address@hidden 



reply via email to

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