[fpc-pascal] Building trunk

C Western l at c-m-w.me.uk
Thu Nov 29 23:53:37 CET 2018


On 26/11/2018 22:46, - - wrote:
> An additional note - it may well be a ld version issue. On Ubuntu the ld version is 2.30, but on Fedora ld reports 2.31.1-13.fc29. (Maybe I should have held off upgrading to Fedora 29...)
>
> Colin
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Looking at this a little more I think the headers are simply not 
available to the program. Simply commenting out the INITTLS call allows 
the compiler to be built successfully. I note that multi-threaded 
programs don't call it (at least those using cthreads) and if the 
program isn't multi-threaded the call to INITTLS is most likely not 
needed so I suspect this would fix most use cases. My main non-gui 
program (multi-threaded) runs fine. However on Fedora 29 32 bit builds 
on 64 bit systems are broken for lazarus because the 32 bit -devel 
packages are broken:

https://bugzilla.redhat.com/show_bug.cgi?id=1651231

https://bugzilla.redhat.com/show_bug.cgi?id=1645328

so maybe I should just conclude that 32 bit apps are broken on Fedora.

Colin




More information about the fpc-pascal mailing list