-
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
JNA 4.5.1 chooses wrong libjnidispatch.so when using Oracle Java 8 on armhf #958
Comments
I assume the Oracle binaries suffer from the bug, that the binary is not marked to be hardfloat. Please see #920 for an explanation. You found the |
Ok - I checked raspbian and the oracle 8 JDK and both show the problem. The flags header does not contain the hard-/softfloat markers. So it looks as if the toolchains of both builds don't support adding the flag. I added an arm EABI build attributes parser to the detection engine and this works also on older binaries. I tested:
@joelbygger please see if this fixes the issue for you You can either build from the PR branches (#960, #961) or use the attached zip, which contains binaries for the 4.5.X and master branch (upcoming 5.0.0). |
I am very green on Java and JNA, please be patient if nomenclature is wrong.
also tried with:
Output on success:
Output on failure:
My conclusion:
Wrong architecture (armel) is choosen when using JNA 4.5.1.
The text was updated successfully, but these errors were encountered: