<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 02 Oct 2010, at 16:43, Graeme Geldenhuys wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">On 02/10/2010, Juha Manninen (gmail) <<a href="mailto:juha.manninen62@gmail.com">juha.manninen62@gmail.com</a>> wrote:<br><blockquote type="cite">Anyway, I made a clean build wirh -gl and still had the problem. I will do<br></blockquote><blockquote type="cite">some more experiments...<br></blockquote><br>Debug and Line Info information is missing in FPC under 64-bit Linux,<br>even with -gl parameter enabled.</span></blockquote><div><br></div><div>That's incorrect.</div><div><br></div><div><div>$ cat tt3.pp</div><div>{$r+}</div><div>procedure test;</div><div>var</div><div> b: byte;</div><div>begin</div><div> b:=255;</div><div> b:=b+1;</div><div>end;</div><div><br></div><div>begin</div><div> test;</div><div>end.</div><div><br></div><div>$ ppcx28 -gl tt3</div><div>Target OS: Linux for x86-64</div><div>Compiling tt3.pp</div><div>Linking tt3</div><div>12 lines compiled, 2.9 sec </div><div><br></div><div>$ ./tt3</div><div>Runtime error 201 at $00000000004001C3</div><div> $00000000004001C3 line 7 of tt3.pp</div><div> $00000000004001D6 line 11 of tt3.pp</div><div> $0000000000400180</div><div><br></div></div></div><div>One thing to keep in mind: FPC's way of handling DWARF debug information (which is used by default on Linux/x86_64) is incompatible with smart linking. FPC 2.5.1 and 2.4.2 automatically disable smart linking when using DWARF debug info (and prints a warning about this), but FPC 2.4.0 may not yet do that.</div><div><br></div><div><br></div><div>Jonas</div></body></html>