bobolopolis / meta-adoptium

bitbake layer providing Adoptium JRE/JDK builds
MIT License
2 stars 0 forks source link

Segmentation error on ARM #4

Open ErickSvalinn opened 1 month ago

ErickSvalinn commented 1 month ago

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 commented 1 month ago

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.