-
Notifications
You must be signed in to change notification settings - Fork 666
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mac/iOS support, including aarch64 port #60
Conversation
Signed-off-by: Zachary Waldowski <zwaldowski@gmail.com>
Signed-off-by: Zachary Waldowski <zwaldowski@gmail.com>
👍 |
Mac/iOS support, including aarch64 port
Thanks @zwaldowski ! I'll merge this and ping the Linaro guys to test. I've also prepared a ChangeLog entry. It would be great if you could include one in the future. |
So the ARM guys confirmed build problems and test regressions on Linux with this patch. They're looking at it. |
This patch series is not OK as it stands and will need significant reworking to fix. I strongly suggest that it is reverted immediately. libffi is too fundamental and bugs introduced can be too subtle for the changes in this patch series to be applied without deep scrutiny. To pick up some of the most obvious issues:
I therefore believe that a revert is the only sensible response here, to reiterate:
Anthony, please revert this patch series, Zachary, if you would like to see this code merged, please respin the series taking in to consideration the points above. |
Yes, @atgreen, please revert if that makes sense for now. |
I've reverted the patch. I would really like to get this port in there, unfortunately I don't have a Mac or any ios devices. Are those really prerequisites, or can you build a cross-compilation environment from Linux and test on an emulator? |
They are prerequisites, unfortunately. I've already fixed the more boneheaded issues @jgreenhalgh-arm was nice enough to point out and am reading up on what's necessary to more correctly match the divergent ABIs. |
Thanks @atgreen. @zwaldowski I'm willing to review patches to the AArch64 port before they go in, though I'm not an expert on the iOS ABI so I won't be much help there. I'm also not an expert at setting GitHub up to notify me that I have some review to do, so if you were willing to ping me at james.greenhalgh@arm.com - or post on the libffi mailing list - if you want review feedback that would be great. |
Supersedes #19.
As before: rewrites the Xcode project, as referenced in issue #28. Includes fixes for ARM-32 targets under newer LLVM assemblers and uses unified syntax.
Integrates AArch64 support for this year's crop of iOS devices. I'd like to see some regression testing from the ARM/Linaro folk against legitimate AArch64 devices. It's working for me, but the changes were mostly workarounds for compiler errors aped from the ARM port.