<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Hi,</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Sorry for delay - my first email was
rejected because i have attached "undefined_symbol.s" uncompressed</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">I am attaching zip archive with 2 files
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">undefined_symbol.pas</div>
<div class="moz-cite-prefix">undefined_symbol.s <br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><b>(fpc -Mdelphi -al -Cn
undefined_symbol.pas)</b></div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">There is line</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"> leaq .Lj3222(%rip),%rdx</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">but I do not see the label definition
:(</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Thanks,</div>
<div class="moz-cite-prefix">Gena<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 9/8/2021 1:39 AM, Sven Barth via
fpc-devel wrote:<br>
</div>
<blockquote type="cite"
cite="mid:6b4c8909-d899-2f9e-6cc9-a6fe7c90f8c9@googlemail.com">Am
08.09.2021 um 06:33 schrieb Gennady Agranov via fpc-devel: <br>
<blockquote type="cite">Hi, <br>
<br>
linker complains about undefined symbol .Lj3016 <br>
<br>
I checked *.s files and found that one file has no label .Lj3016
but has following line: <br>
<br>
leaq .Lj3016(%rip),%rdx <br>
<br>
Am I correct that that this *.s file should also have a label? <br>
</blockquote>
<br>
Yes. Can you show more of what the surrounding code is doing (you
should compile with -al so that the code lines are contained there
as well if you haven't done so already) and what optimization
options are you using for compilation? <br>
<br>
Regards, <br>
Sven <br>
_______________________________________________ <br>
fpc-devel maillist - <a class="moz-txt-link-abbreviated"
href="mailto:fpc-devel@lists.freepascal.org"
moz-do-not-send="true">fpc-devel@lists.freepascal.org</a> <br>
<a class="moz-txt-link-freetext"
href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel"
moz-do-not-send="true">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a>
<br>
</blockquote>
<p><br>
</p>
</body>
</html>