#1 2023-04-22 10:15:52

danielkuettner
Member
From: Germany
Registered: 2014-08-06
Posts: 357

Variant issues under freebsd13 with fpc 3.2.2

Hi Arnaud,

I could successfully compile our project, but there are runtime av's relating to variants.
Are there patches needed to run under this constellation or should it just work?

Here are a result from mORMot2tests:

#16 4E59E2A5-E8C1-46AB-90E5-F426EC9DBB1E<>4e59e2a5-e8c1-46ab-90e5-f426ec9dbb1e uuid  !  - Dmi smbios: 1 / 44 FAILED  527us
0000000000000000  ! fail  #16 4E59E2A5-E8C1-46AB-90E5-F426EC9DBB1E<>4e59e2a5-e8c1-46ab-90e5-f426ec9dbb1e uuid
000000000018FA8D  ! EXC   ESynVariant {Message:"TDocVariant.DispInvoke: invalid (1) call"} [Main] at 684f2d

Daniel

Last edited by danielkuettner (2023-04-22 15:12:46)

Offline

#2 2023-04-23 12:34:37

danielkuettner
Member
From: Germany
Registered: 2014-08-06
Posts: 357

Re: Variant issues under freebsd13 with fpc 3.2.2

Following late binding calls doesn't work:

v._(0)

where v is an _ARR

This post seems related to the issue I have:
https://synopse.info/forum/viewtopic.php?pid=34034

And I know I can work around with using TDocVariant instead of
last binding.

But not using late binding is a regression.

Last edited by danielkuettner (2023-04-23 13:34:45)

Offline

#3 2023-04-23 16:01:05

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: Variant issues under freebsd13 with fpc 3.2.2

This is a known FPC 3.2.2 bug.
See https://synopse.info/forum/viewtopic.php?id=5894

You should use either FPC 3.2.0 or a stable version of the FPC trunk.

Online

#4 2023-04-23 17:20:43

danielkuettner
Member
From: Germany
Registered: 2014-08-06
Posts: 357

Re: Variant issues under freebsd13 with fpc 3.2.2

Thanks for your hint (after reading I remember).
After patching ncal.pas it just works with 3.2.2 under freebsd!

Offline

Board footer

Powered by FluxBB