[fpc-devel] fpc 3.2.3 freezing entire OS / Linux
Martin Frb
lazarus at mfriebe.de
Sat Aug 17 17:25:27 CEST 2024
Ok, right now, not sure where to start.
I have a modified Lazarus source, that I am trying to build.
Only, when FPC tries to compile it, it never returns. And freezes my
Fedora (in a Virtualbox).
It will eventually (after an hour or longer) be killed by the OS. Which
at least at one time reported that the compiler used up almost all memory.
(there was no report of a stack overflow, and that wouldn't take that
long. Given the time it takes, I thing it fragments memory while being
in an endless loop)
Since it freezes the OS too, I have hardly anyway of debugging it.
(maybe if I can see where it gets mem from the OS / but I haven't
currently gotten fpc set up for being debugged...)
If I observed it correctly, one of the following options has an impact
(because I think - but need to doublecheck later) that without them, the
build worked)
-gv -gw3 -CR-r-i-o-t- -Sa- -Si- -Se15 -ve -vw -vn
-vi -O-1 -CX
And unfortunately that is all I have so far.
It seems that all files get compiled, so it might be something at the end...
Which may also mean, it could be some other app called by fpc
(my fpcres may be outdated / since I at some point copied it into
/usr/local/bin)
Also, I have previously compiled with the exact same settings. SO all
that changed are a few Lazarus sources, and one res file.
I did change a resource. The res file was rebuild on Windows, and on
Linux only the res file is used (all png images).
But a standalone project can use the new res file (at least just the
one, not tried combining it with others that the IDE may have).
More information about the fpc-devel
mailing list