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

Segmentation error on ARM #4

Open
ErickSvalinn opened this issue Jul 24, 2024 · 1 comment
Open

Segmentation error on ARM #4

ErickSvalinn opened this issue Jul 24, 2024 · 1 comment

Comments

@ErickSvalinn
Copy link

Hi, I'm working with Poky Dunfell, on a yocto layer for an ARM device.
The image run properly, there are no issues on the build process at all.

But once the image it's flashed on a device it shows the following error: segmentation error:
image

Like I said all the files are properly stored in the /usr/bin/jvm path
But I think something is missing.

Tried to update the conf with the following:

# Java arm configuration
PREFERRED_PROVIDER_virtual/java-initial-native = "cacao-initial-native"
PREFERRED_PROVIDER_virtual/java-initial        = "cacao-initial"
PREFERRED_PROVIDER_virtual/java-native         = "cacao-native"

But didn't worked neither, I'm not sure if can be the "prelink" https://wiki.yoctoproject.org/wiki/TipsAndTricks/PrelinkSomePointersAndWorkarounds

@bobolopolis
Copy link
Owner

The recipes here provide compiled binaries from https://adoptium.net/. Prelink is probably unrelated. I suspect that whatever options used to compile the binaries are incompatible with your device, but I'm not sure what the minimum requirements are. I test with the qemu machines provided by poky, and the qemuarm machine is able to run these just fine.

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

No branches or pull requests

2 participants