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

Gennady Agranov gennadyagranov at gmail.com
Wed Sep 8 22:35:09 CEST 2021


On 9/8/2021 2:25 PM, denisgolovan via fpc-devel wrote:

 >>> Compiler builds release binaries fine.

What do you mean - it should work on "trunk"?

it is probably "generics" related, and i tried both official releases - 
3.2.0 and 3.2.2 - the same sad result

I suspect inlining did it as my code does not raise exception - but 
obviously i can be mistaken

.Lj3219:
     leaq RESSTR_$GENERICS.STRINGS_$$_SDICTIONARYKEYDOESNOTEXIST+8(%rip),%r8
     movq    $1,%rdx
     leaq    VMT_$CLASSES_$$_ELISTERROR(%rip),%rcx
*   call SYSUTILS$_$EXCEPTION_$__$$_CREATERES$PANSISTRING$$EXCEPTION*
     movq    %rax,%rcx
     leaq    .Lj3222(%rip),%rdx

How can one tell compiler to allow "inline" modifier, but ignore it?

Thanks,
Gena

> I believe it's the same issue I have in https://gitlab.com/freepascal.org/fpc/source/-/issues/39140
>
> Compiler builds release binaries fine.
>
> -- Regards,
> Denis Golovan
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20210908/d50f947b/attachment.htm>


More information about the fpc-devel mailing list