On 30/11/2018 00:53, C Western wrote:
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@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
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Can you test if patch from my bug report
<url:https://bugs.freepascal.org/view.php?id=34475> fixes your problem?
You can omit changes for x86_64 target from that patch.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal