[fpc-devel] cthreads and fpc.cfg?

Maxim Ganetsky ganmax at narod.ru
Wed Jul 19 02:35:06 CEST 2023


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:

Writing sample configuration file to /etc/fpc.cfg
#6 28.14 Runtime error 211 at $00000000004C0B8D
#6 28.14   $00000000004C0B8D
#6 28.14
#6 28.14 Threading has been used before cthreads was initialized.
#6 28.14 Make cthreads one of the first units in your uses clause.
#6 28.14 Writing sample configuration file to 
/usr/lib/fpc/3.3.1/ide/text/fp.cfg
#6 28.14 Runtime error 211 at $00000000004C0B8D
#6 28.14   $00000000004C0B8D
#6 28.14
#6 28.14 Threading has been used before cthreads was initialized.
#6 28.14 Make cthreads one of the first units in your uses clause.
#6 28.14 Writing sample configuration file to 
/usr/lib/fpc/3.3.1/ide/text/fp.ini
#6 28.14 Runtime error 211 at $00000000004C0B8D
#6 28.14   $00000000004C0B8D
#6 28.14
#6 28.14 Threading has been used before cthreads was initialized.
#6 28.14 Make cthreads one of the first units in your uses clause.
#6 28.15 Writing sample configuration file to /etc/fppkg.cfg
#6 28.15 Runtime error 211 at $00000000004C0B8D
#6 28.15   $00000000004C0B8D
#6 28.15
#6 28.15 Threading has been used before cthreads was initialized.
#6 28.15 Make cthreads one of the first units in your uses clause.
#6 28.15 Writing sample configuration file to /etc/fppkg/default
#6 28.15 Runtime error 211 at $00000000004C0B8D
#6 28.15   $00000000004C0B8D
#6 28.15
#6 28.15 Threading has been used before cthreads was initialized.
#6 28.15 Make cthreads one of the first units in your uses clause.
#6 28.15
#6 28.15 End of installation.

-- 
Best regards,
  Maxim Ganetsky                  mailto:ganmax at narod.ru



More information about the fpc-devel mailing list