-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
native build fails on OS X #173
Comments
I'm using gcc 4.2.1 on OSX 10.6.8 (Xcode 3.2.6). feel free to make a PR with a fix. longer-term we need a solution for working with whatever environment OSX ends up with once apple stops making the JavaVM framework available. On Jan 5, 2013, at 10:22 AM, arzig wrote:
|
same issue with the current gcc for XCode (4.6.1) is i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) on 10.8.3 with Oracle sourced JDK, which is currently build 1.7.0_17-b02.
|
This should fix things
The WebStartTest tests are failing when using the Oracle JDK. For some reason the JDK is looking in ~/Library/Caches/Java/ instead of ~/Library/Application\ Support/Oracle/Java/Deployment/deployment.properties After that it appears that java webstart isn't exported or something. |
I'm guessing the changes to the android-arm target were inadvertent... |
Does this work for you without |
Should be addressed in a676e3a (close this issue if it works). |
@twall, so sorry i meant to follow up on this and it fell to the bottom of my inbox. I'm checking right now. the changes to the andriod-arm target were in fact inadvertent. |
this ticket does fix native builds. although, the WebStartTest and LibraryLoadTest junit tests still fail (but that is already in another filed/should be handled in another bug) WebStartTest is failing to find jwaw in the correct path |
Please file issues for web start and load tests. |
Motivation: As we statically link against boringssl and quiche we should include the license material in the jar for attribution. Modifications: Add license material Result: Do proper attribution
OS X 10.8 with XCode 4.5 tools
Here is the build log:
[exec] gcc -dynamiclib -o /Users/zeiglerr/Code/jna/build-d64/native/libjnidispatch.jnilib -framework JavaVM -compatibility_version 3 -current_version 3.5.0 -mmacosx-version-min=10.3 -install_name libjnidispatch.jnilib /Users/zeiglerr/Code/jna/build-d64/native/dispatch.o /Users/zeiglerr/Code/jna/build-d64/native/callback.o /Users/zeiglerr/Code/jna/build-d64/native/libffi/.libs/libffi.a
[exec] ld: warning: could not create compact unwind for _ffi_call_unix64: does not use RBP or RSP based frame
[exec] Undefined symbols for architecture x86_64:
[exec] "_objc_msgSend_fixup", referenced from:
[exec] l_objc_msgSend_fixup_autorelease in dispatch.o
[exec] ld: symbol(s) not found for architecture x86_64
[exec] collect2: ld returned 1 exit status
[exec] make: *** [/Users/zeiglerr/Code/jna/build-d64/native/libjnidispatch.jnilib] Error 1
The text was updated successfully, but these errors were encountered: