Re: [fpc-devel] TDef flags

2021-07-04 Thread denisgolovan via fpc-devel
Well. Maybe it's not that complex after all? I mean, Linux target (not cross-compiling) builds fine. It's Linux->Win64 build fails with those errors. That regards https://bugs.freepascal.org/view.php?id=39140 , of course. -- Regards, Denis Golovan ___

Re: [fpc-devel] TDef flags

2021-07-04 Thread J. Gareth Moreton via fpc-devel
Well, I've been trying to work it out, but this bug I'll have to delegate to someone else to fix until I get a better idea of how it all fits together. Gareth aka. Kit On 04/07/2021 12:06, Sven Barth via fpc-devel wrote: Am 04.07.2021 um 12:59 schrieb J. Gareth Moreton: Okay, okay. Not too h

Re: [fpc-devel] TDef flags

2021-07-04 Thread Sven Barth via fpc-devel
Am 04.07.2021 um 12:59 schrieb J. Gareth Moreton: Okay, okay. Not too harsh, please. Better to stop the intention of modifying defs before you can get a taste for them. :P I feel I don't yet know enough about defs and generics to properly fix this bug, only that the defs used aren't getting

Re: [fpc-devel] TDef flags

2021-07-04 Thread J. Gareth Moreton via fpc-devel
Okay, okay. Not too harsh, please. I feel I don't yet know enough about defs and generics to properly fix this bug, only that the defs used aren't getting written out as debug information because of the df_generic flag being present. In the attached .s file, you can search for the reference t

Re: [fpc-devel] TDef flags

2021-07-04 Thread Sven Barth via fpc-devel
Am 03.07.2021 um 15:01 schrieb J. Gareth Moreton via fpc-devel: Hi everyone, I'm trying to fix i38827, and am trying a few things.  One thing I've noticed is that some specializations have both the df_generic and df_specialization flags set, and the def missing from the debug information that

Re: [fpc-devel] TDef flags

2021-07-04 Thread denisgolovan via fpc-devel
https://bugs.freepascal.org/view.php?id=39140Sorry, I forgot to send my bug13:33, 4 июля 2021 г., "denisgolovan via fpc-devel" :Sure. See attachment the bug I've created12:55, 4 июля 2021 г., "J. Gareth Moreton" :I just double-checked and my patch does fix the code exampl

Re: [fpc-devel] TDef flags

2021-07-04 Thread denisgolovan via fpc-devel
Sure. See attachment the bug I've created12:55, 4 июля 2021 г., "J. Gareth Moreton" :I just double-checked and my patch does fix the code example, at least for me, but there might be more at play.  Do you have a Windows code example that still fails that you're testing it against?Gareth aka. KitOn

Re: [fpc-devel] TDef flags

2021-07-04 Thread J. Gareth Moreton via fpc-devel
I just double-checked and my patch does fix the code example, at least for me, but there might be more at play.  Do you have a Windows code example that still fails that you're testing it against? Gareth aka. Kit On 04/07/2021 10:19, denisgolovan wrote: I've posted a patch in the previous bug

Re: [fpc-devel] TDef flags

2021-07-04 Thread denisgolovan via fpc-devel
> I've posted a patch in the previous bug report, but I'll be the first to > admit that it's a little hacky. Given the linker errors in #39140 are > similar to those in #38827, does it fix those too? Nope, unfortunately it does not. -- Regards, Denis Golovan __

Re: [fpc-devel] TDef flags

2021-07-04 Thread J. Gareth Moreton via fpc-devel
I've posted a patch in the previous bug report, but I'll be the first to admit that it's a little hacky.  Given the linker errors in #39140 are similar to those in #38827, does it fix those too? Gareth aka. Kit On 04/07/2021 10:07, denisgolovan wrote: Thanks, Gareth. I've created another iss

Re: [fpc-devel] TDef flags

2021-07-04 Thread denisgolovan via fpc-devel
Thanks, Gareth. I've created another issue, possibly related - https://bugs.freepascal.org/view.php?id=39140 Sven, could you take a look? -- Regards, Denis Golovan ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/