-
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
Investigate supporting arm soft- and hardfloat #753
Comments
sun.arch.abi is not present on openJDK Currently best looking option: use readelf to read the Tag_ABI_VFP_args from the java binary running the current process. |
matthiasblaesing
added a commit
to matthiasblaesing/jna
that referenced
this issue
Feb 1, 2017
- add prebuild arm softfloat binaries - add option to override prefix detection by specifying jna.prefix - add prefix autodetection to platform code. Autodetection depends on the presence of readelf - adjust build.xml to implement prefix detection Closes: java-native-access#753
matthiasblaesing
added a commit
to matthiasblaesing/jna
that referenced
this issue
Feb 23, 2017
- add prebuild arm softfloat binaries - add option to override prefix detection by specifying jna.prefix - add prefix autodetection to platform code. Autodetection is based on the JVM image - adjust build.xml to implement prefix detection Closes: java-native-access#753
matthiasblaesing
added a commit
to matthiasblaesing/jna
that referenced
this issue
Feb 24, 2017
- add prebuild arm softfloat binaries - add option to override prefix detection by specifying jna.prefix - add prefix autodetection to platform code. Autodetection is based on the JVM image - adjust build.xml to implement prefix detection Closes: java-native-access#753
matthiasblaesing
added a commit
to matthiasblaesing/jna
that referenced
this issue
Feb 24, 2017
- add prebuild arm softfloat binaries - add option to override prefix detection by specifying jna.prefix - add prefix autodetection to platform code. Autodetection is based on the JVM image - adjust build.xml to implement prefix detection Closes: java-native-access#753
Any chance of a new release for this fix? |
This was part of 4.4.0. |
Doh! Thank you! I've been patiently waiting for a release that already happened! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a spin off of #538 - the arm binaries distributed with JNA are build for armv6l hardfloat. At runtime the ABI needs to be determined and the right binary be loaded:
https://www.raspberrypi.org/forums/viewtopic.php?f=33&t=20873
https://bugs.openjdk.java.net/browse/JDK-8005545
https://blogs.oracle.com/jtc/entry/is_it_armhf_or_armel
The text was updated successfully, but these errors were encountered: