gm2
[Top][All Lists]
Advanced

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

Re: gm2 runs of memory


From: Gaius Mulley
Subject: Re: gm2 runs of memory
Date: Wed, 22 Nov 2023 23:44:00 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

john o goyo <jog37@riddermarkfarm.ca> writes:

> Greetings, Gaius.
>
> I am trying to build the gpmake utility from the GPM
> distribution. (Here, for example:
> https://github.com/k-john-gough/gpmclr/tree/master/GPMCLR/source/gpmake)
>
> Gm2 runs out of memory with one particular module, namely TermSymbolsIO:
>
> [~/prj/gpmake]=> gm2 -c -fiso  -I../libgm2gpm -I. TermSymbolsIO.mod
>
> cc1gm2: out of memory allocating 2097152 bytes after a total of
> 33873920 bytes
>
> Any hints on investigating this further?
>
> Sincerely,
> john

Hi John,

which architecture are on?  Or rather is valgrind available on the
host?  It might be worth trying:

$ gm2 -c -fiso  -I../libgm2gpm -I. TermSymbolsIO.mod -wrapper gdb,--args

(gdb) run
(gdb) break exit
(gdb) run
(gdb) where

or

$ gm2 -c -fiso  -I../libgm2gpm -I. TermSymbolsIO.mod -wrapper valgrind

There are extra hints on how to run valgrind with --leak-check=full
 https://gcc.gnu.org/wiki/DebuggingGCC

hope this helps

regards,
Gaius



reply via email to

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