gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] NetBSD make gm2.paranoid fails


From: Gaius Mulley
Subject: Re: [Gm2] NetBSD make gm2.paranoid fails
Date: 19 Mar 2004 10:30:55 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

"crale" <address@hidden> writes:

> Hi,
> 
> I've built GNU Modula-2 0.41 in the tree of gcc-3.3.2. I used gcc-2.95.3 
> (NetBSD 1.6.2). Make (using gmake) was a success but gm2.paranoid fails here:
> 
> verifying the three generations of GNU Modula-2 compilers - it may take some 
> time..
> FifoQueue.mod [1][2][3]Syntax error: Bad fd number
> gmake: *** [gm2.verifyparanoid] Error 2
> 
> 
> Christoph

Hi Christoph,

many thanks for reporting this. My guess is that stage3 is failing.
It would be interesting to know whereabouts. It might be interesting
to run stage3 cc1gm2 under gdb to find out why the Bad fd number is
occuring..

To do this you can:

cd build-3.3.2/gcc
cp stage3/gm2/cc1gm2 .

then you need to add the following lines to `gcc-3.3.2/gcc/gdbinit.in'

----- cut here ----- cut here ----- cut here -----
b exit
b abort
run -Wq -Igm2/gm2-libs:gm2/gm2-compiler -g -gstabs 
gm2/gm2-compiler/FifoQueue.mod -o -
----- cut here ----- cut here ----- cut here -----

then it should be possible to run gdb from the directory
`build-3.3.2/gcc'

normally I do this using emacs as it splits the screen and matches
source file to gdb prompt. But using gdb alone would still be useful
(just not as easy to use :-)

hope this helps,

Gaius



reply via email to

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