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

Gennady Agranov gennadyagranov at gmail.com
Wed Sep 8 06:33:41 CEST 2021


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?

Thanks,
Gena

On 9/4/2021 5:09 AM, Bart via fpc-devel wrote:
> On Sat, Sep 4, 2021 at 3:26 AM Gennady Agranov via fpc-devel
> <fpc-devel at lists.freepascal.org> wrote:
>
> IIRC then there were som bugs regarding optimization in win64.
> You can try to compile with optimizations disabled: -O- (or use the
> Lazarus dialog to do so).
>



More information about the fpc-devel mailing list