Thread from Lazarus list...
Perhaps some kind FPC dev could look at bug 2252 if this is an FPC trunk bug connected with generating stabs debug info instead of a Lazreport/Lazarus bug7
Thanks,
Reinier
Maxim Ganetsky wrote 13 lines
<snip>

Mailing lists / fpc-pascal / 2012-08
9 messages · 3 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Thread from Lazarus list...
Perhaps some kind FPC dev could look at bug 2252 if this is an FPC trunk bug connected with generating stabs debug info instead of a Lazreport/Lazarus bug7
Thanks,
Reinier
<snip>
I would suggest to start by not compiling the compiler or RTL with stack checking enabled.
Jonas
I would suggest to start by not compiling the compiler or RTL with stack checking enabled.
Is stack checking on by default? I encounter the same problem as Reinier and I build the compiler with OPT="-g -gl", nothing more.
Ludo
No, it's not.
I encounter the same problem as Reinier and I build the compiler with OPT="-g -gl", nothing more.
Then it's probably something else.
Jonas
Was just building again to confirm. Same as Ludo, OPT="-g -gl"... FPC x86 r22066, Win Vista x64 (also had problems with FPC x64) Lazarus trunk (but the lazreport problem has been going on for a while now)
Then it's probably something else.
Yes.
No, it's not. Then it's probably something else. Jonas
Problem is caused by the changes in rev 21972. Code iterates now indefinitely TDebugInfoStabs.field_write_defs, TDebugInfo.appenddef, TDebugInfoStabs.beforeappenddef,...
Ludo
Jonas,
Perhaps you might want to assign this bug to yourself given you're the author of 21972?
http://bugs.freepascal.org/view.php?id=22527
Thanks,
Reinier
Reinier Olislagers wrotePerhaps you might want to assign this bug to yourself given you're the author of 21972? http://bugs.freepascal.org/view.php?id=22527
I can't, because I don't have admin access to Lazarus issues. Furthermore, I'd really appreciate a way to reproduce it without depending on Lazarus (or at least instructions on how to reproduce it from the command line, because always debug using plain gdb).
Jonas
I understand. As mentioned in the issue, I think Somebody should reassign the issue to fpc at least anyway (which I can't do either).
No idea if this bug occurs in other code as well.
The way I found out is by running fpcup:
https://bitbucket.org/reiniero/fpcup/downloads/fpcup.exe
fpcup --fpcurl=http://svn.freepascal.org/svn/fpc/trunk --fpcopt="-gw -gl" --lazopt="-gw -gl"
Which you can run out of the box if you have svn.exe in your path (and nothing you want to keep in your c:\development\lazarus, c:\development\fpc, c:\development\fpcbootstrap and c:\development\extras directories)
After having run this once, you can dramatically shorten testing by: fpcup --fpcurl=http://svn.freepascal.org/svn/fpc/trunk --fpcopt="-gw -gl" --lazopt="-gw -gl" --only=useride
I can also look into writing up some instructions on runnning the svn update, make etc commands that fpcup sends out manually.
Thanks,
Reinier