[fpc-devel] Undefined symbol during linking - any suggestions?

Sven Barth pascaldragon at googlemail.com
Wed Sep 8 07:39:19 CEST 2021


Am 08.09.2021 um 06:33 schrieb Gennady Agranov via fpc-devel:
> Hi,
>
> linker complains about undefined symbol  .Lj3016
>
> I checked *.s files and found that one file has no label .Lj3016 but 
> has following line:
>
>     leaq       .Lj3016(%rip),%rdx
>
> Am I correct that that this *.s file should also have a label?

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?

Regards,
Sven


More information about the fpc-devel mailing list