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

2021-09-08 Thread denisgolovan 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"? No. I mean it should work when -g and stuff like that is _omitted_. Thus compiler does not produce debug info. > it is probably

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-08 Thread denisgolovan via fpc-devel
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@lists.freepascal.org

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

2021-09-07 Thread Sven Barth via fpc-devel
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

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

2021-09-07 Thread 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? Thanks, Gena On 9/4/2021 5:09 AM, Bart via

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

2021-09-07 Thread Gennady Agranov via fpc-devel
Thanks! It did not help - both 3.0.2 and 3.2.2 when compile my code fail at the link phase Target platform is Win64 Error: Undefined symbol: .Lj<4 digit number> As I understand .Lj<4 digit number> is a label - not some external identifier I guess I probably have too much code to link?

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

2021-09-04 Thread Bart via fpc-devel
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). -- Bart ___ fpc-devel

[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