[fpc-devel] FPC shared lib called from C shared lib called from C main program crashes

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Sep 18 10:24:12 CEST 2009


On 18 Sep 2009, at 10:14, Lukas Zeller wrote:

> Thanks for testing that and the explanation of Apple linker issues.  
> Makes sense now - it's no problem for us to build on 10.5 for now  
> until a future version of FPC can work around the problem or the  
> Apple linker gets fixed. It looks like the former is the case :-)

I also have good hopes that the linker bug will be fixed by Apple in  
the next version of the Xcode tools. It's unfortunate that it costs  
$500/year to get access to beta versions of major new OS releases,  
because otherwise I could properly test earlier on and then the bugs  
could be fixed before the OS is released to the public (when 10.5 was  
initially released, there were also several problems). Beta versions  
of minor Xcode updates are fortunately available to everyone nowadays.

> The only thing not explained yet are the crashes we had on 10.5  
> (built there, run there) with the real program, which *looked* like  
> it was the same problem (crash without the Write(), no crash with  
> Write() in place). But given the facts that the sample program is  
> working correctly on 10.5 it might have been something else. I'll  
> have that checked again to make sure, and will report if I can  
> reproduce it on 10.5 somehow.

Thanks.

> Thanks again for your help!

You're welcome. I've also updated the message on the website about the  
problems with 10.6. I had forgotten to change it once the real cause  
of the problems was discovered.


Jonas



More information about the fpc-devel mailing list