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

Openjdk11 cannot launch on armv6 #29457

Closed
TheEdward162 opened this issue Mar 14, 2021 · 3 comments · Fixed by #36520
Closed

Openjdk11 cannot launch on armv6 #29457

TheEdward162 opened this issue Mar 14, 2021 · 3 comments · Fixed by #36520

Comments

@TheEdward162
Copy link

System

Either of these freshly unpacked armv6l targets:

Package openjdk11-11.0.5+10_4

Expected behavior

java runs java VM and lets me do java things

Actual behavior

$ java
Error occurred during initialization of VM
Server VM is only supported on ARMv7+ VFP

Steps to reproduce the behavior

  1. get armv6 void (both glibc and musl)
  2. xbps-install openjdk11
  3. java

As a side note: I am able to get Zulu OpenJDK11 build running on the glibc target

@ericonr
Copy link
Member

ericonr commented Apr 6, 2021

What ARM device do you have? We can try to get the build info from Zulu and use in our build, maybe.

@TheEdward162
Copy link
Author

I'm running it on Raspberry Pi Zero W Rev 1.1:

$ cat /proc/cpuinfo
processor	: 0
model name	: ARMv6-compatible processor rev 7 (v6l)
BogoMIPS	: 697.95
Features	: half thumb fastmult vfp edsp java tls
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xb76
CPU revision	: 7

Hardware	: BCM2835
Revision	: 9000c1
Serial		: 00000000a5aff9b9
Model		: Raspberry Pi Zero W Rev 1.1

Additionally I also tried AdoptOpenJDK arm32 build in the meantime but it just segfaults.

classabbyamp added a commit to classabbyamp/void-packages that referenced this issue Apr 21, 2022
classabbyamp added a commit to classabbyamp/void-packages that referenced this issue Apr 25, 2022
classabbyamp added a commit to classabbyamp/void-packages that referenced this issue Apr 25, 2022
classabbyamp added a commit to classabbyamp/void-packages that referenced this issue Apr 27, 2022
@classabbyamp
Copy link
Member

I can confirm there seems to be an incompatibility, at least in the configuration void ships:

leahneukirchen pushed a commit that referenced this issue Apr 27, 2022
zen0bit pushed a commit to oSoWoSo/VUR that referenced this issue May 7, 2022
ftrvxmtrx pushed a commit to ftrvxmtrx/void-packages that referenced this issue May 9, 2022
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 a pull request may close this issue.

3 participants