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

2021-09-03 Thread Gennady Agranov via fpc-devel
Hi, I have rather large program that fails to link - "Undefined symbol: .Lj3016" The only difference with previous cases when link was successful is that I added "indylaz" package - not sure if there is a connection... What can I do or try to diagnose/resolve this issue? (9022) Compiling

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

2021-09-08 Thread Gennady Agranov via fpc-devel
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

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

2021-09-07 Thread Gennady Agranov via fpc-devel
code to link? Are there some linker arguments I can add that would help? Is it possible to specify some other linker? Thanks, Gennady 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 wrote: IIRC then there were som bugs regarding

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

2021-09-07 Thread Gennady Agranov via fpc-devel
-devel wrote: On Sat, Sep 4, 2021 at 3:26 AM Gennady Agranov via fpc-devel 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). ___ fpc-devel

[fpc-devel] RTTI status in 3.2.0 and 3.2.2

2021-09-17 Thread Gennady Agranov via fpc-devel
Hi, I have Delphi RTTI code that takes record's type info, finds method and calls it... The code does not seem to work in 3.2.0 (SEGV) Should it work? Should I try 3.2.2 or there are other ways to call record method in FPC? Thanks, Gennady

Re: [fpc-devel] RTTI status in 3.2.0 and 3.2.2

2021-09-22 Thread Gennady Agranov via fpc-devel
Cool! Thanks! Gennady On 9/20/2021 11:53 AM, Ryan Joseph via fpc-devel wrote: On Sep 19, 2021, at 7:01 AM, Sven Barth via fpc-devel wrote: No, this is not yet supported, but it's a work in progress, but it will arrive the earliest with 3.4 which is not yet planned. We're nearly