-
-
Notifications
You must be signed in to change notification settings - Fork 626
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
Linker warning on Mac OS X Mavericks 10.9.5 #30
Comments
Thanks, I'm seeing the same warning on Travis. |
You are welcome. Quick question that is semi related: However, looking at build.xml it looks like 6. I have gotten it to work with 6-8, however using Apple's JDK 6 was a PITA. |
The codebase is Java 6 compatible, but I'm also building on Java 7 on OS X, for the same reason. Don't worry about it, unless you need to contribute something and worry about using a Java 7+ API. |
Understood. I am not worried about it, however if you want me to open a pull request, I did get building the project on OS X using Apple's JDK 6 to work in one of my fork's branches. |
The warning is emitted because _ffi_call_unix64 is hand-coded assembly and it isn't compatible with compact unwind. I have disabled compact unwind until the issue is fixed in libFFI. I don't think this will affect us in any way. I've also fixed the build to work out of the box on OS X with JDK 6, with e871dea. Thanks @virtuoushub! |
You are most welcome. Thank you for looking into the linker warning and getting an OS X/JDK 6 build working. |
ld: warning: could not create compact unwind for _ffi_call_unix64: does not use RBP or RSP based frame
Has anyone else come across this?
The ant task completes with
BUILD SUCCESSFUL
. After reading your guidelines, I looked into the issue somewhat and saw two Google Groups discussions mentioned a couple times.I was unable to determine the cause and if the warning can be safely ignored.
Steps to reproduce _(assumes successful
$ ant compile-templates
):_Observed output:
...
ommited some output for breviety
...
compile-native-macosx: [SDK Root] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -link-if-necessary: -update-dependencies: -link: [Linker] ld: warning: could not create compact unwind for _ffi_call_unix64: does not use RBP or RSP based frame BUILD SUCCESSFUL Total time: 19 seconds
Environmental Details
The text was updated successfully, but these errors were encountered: