Finally: Mac Intel patches
Thu Aug 24 10:51:58 CEST 2006
Joel Reymont writes:
> On Aug 23, 2006, at 5:42 PM, Mikael Pettersson wrote:
> > Let me know if they still work for you or if I broke anything.
> Yes, unfortunately:
> /usr/bin/ld: Undefined symbols:
> collect2: ld returned 1 exit status
Looks like a naming confusion ('_' prefix vs none) somewhere.
First run 'nm' on sys_float.o: Is erts_restore_fpu defined there?
And if so, is the name prefixed by '_' or not.
If it isn't defined there then that's the problem because lots
of places in the runtime system (not just HiPE) reference it.
If it is defined but without the '_' prefix, then there's some
discrepancy in naming conventions.
Are the other functions in sys_float.o named in the same way,
without '_' prefixes?
Which .o file contains the reference to _erts_restore_fpu?
I don't see how this could be caused by my modifications of your
Darwin patches. I suspect that you had some other change in your
system that you missed when preparing your Darwin patches.
You did the build in a freshly unpacked otp-0804.tar.gz plus the
series of 7 patches I hope?
More information about the erlang-questions