Skip to content
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

Update ARM32 binary with hardfp version. #58

Merged
merged 1 commit into from Oct 30, 2018

Conversation

headius
Copy link
Member

@headius headius commented Oct 30, 2018

Most likely targets for JRuby on ARM32 are going to be ARMv7 or
higher, and it seems recent Linux distributions for ARM32 now
build with hardfp support, or at least that appears to be the case
for Debian, Rasbian, and Fedora. This change will prevent jffi
from booting on softfp-only systems.

This addresses jruby/jruby#5362, jruby/jruby#5192, and possibly #57.

Most likely targets for JRuby on ARM32 are going to be ARMv7 or
higher, and it seems recent Linux distributions for ARM32 now
build with hardfp support, or at least that appears to be the case
for Debian, Rasbian, and Fedora. This change will prevent jffi
from booting on softfp-only systems.
@headius
Copy link
Member Author

headius commented Oct 30, 2018

I think we're going to run with this. It only affects 32-bit ARM, which doesn't work at all on at least recent Rasbian and probably wouldn't work on any recent Debian, Fedora, or Arch (three dists I confirmed have moved to hardfp).

If we need to support both hardfp and softfp there will be larger changes required, since we don't have any logic to distinguish the two EABIs.

@headius headius merged commit 0201a4a into jnr:master Oct 30, 2018
@headius headius deleted the update_arm_binary branch October 30, 2018 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant