On 10/05/2014 15:07, Rob Arthan wrote:
The line that sets EXTRALDFLAGS for Mac OS X in polyc.in is missing a double quote character and this causes polyc to raise a syntax error.
I've fixed that in SVN trunk and the fixes-5.2.2 branch. I wonder whether it is worth exporting that and updating the tar.gz file on SourceForge.
When I fixed polyc, it gave the warning that was discussed in an earlier thread about version 5.5.1 (http://lists.inf.ed.ac.uk/pipermail/polyml/2013-September/001353.html):
ld: warning: could not create compact unwind for _ffi_call_unix64: does not use RBP or RSP based frame
This doesn?t seem to have any adverse effects.
I did look into this and committed a "fix": adding -no-compact-unwind. Unfortunately this broke C++ exception handling in Mac OS X Mavericks so I reverted it. Since it seems to be just a warning that seems preferable to having poly crash every time the RTS raised an exception.
David