[fpc-devel] cthreads and fpc.cfg?

Michael Van Canneyt michael at freepascal.org
Wed Jul 19 10:22:48 CEST 2023

On Wed, 19 Jul 2023, Maxim Ganetsky via fpc-devel wrote:

> 19.07.2023 3:25, Maxim Ganetsky via fpc-devel пишет:
>> 19.07.2023 0:15, Martin Frb via fpc-devel пишет:
>>> On 18/07/2023 22:56, Martin via fpc-devel wrote:
>>>> Using 33dba315366ec3002e062c3aa6dcb15b88356580 (3.3.1)
>>>> My fpc.cfg looks like this / any idea?:
>>>> Threading has been used before cthreads was initialized.
>>>> Make cthreads one of the first units in your uses clause.
>>> tried 757f65d0e283c9fd33f2f99e794203590711c686
>>> still...
>> JFYI, today I have been testing a build image containing FPC 3.3.1 no 
>> older than ce37431a3f57ce11da4e8025a12a0eda3e651ff0. Just checked, 
>> config is OK there. Also compiler itself works fine.
> Hmm, I was just lucky, correct config in my case probably generated by 
> another FPC version. ;) I see the following output of FPC 3.3.1 binary 
> .sh installer:

I am investigating the problem.

The error is logical. What is not logical is that it pops up now.

By all logic, we should have seen this error pop up as early as 2016.

Why it pops up only now is a mystery that we need to solve...


More information about the fpc-devel mailing list