Closed matthewtanner closed 3 months ago
aws-crt dependency was updated after the 2.12.4 release. Can you confirm what Nucleus version has the issue on arm? You mention 2.14.x and in the re:post it seems like the opposite and you were using 2.12.4.
I tested on my own version of armv7l GNU/Linux with no issues, so this may only be an issue with your custom distribution that you mentioned. I am not sure if replacing the file between version, will help (you can try). Are you able to downgrade your version, to unblock yourself?
I also downloaded and unzipped both v2.12.4 and v2.12.6 jars, and both /linux/armv7/glibc/libaws-crt-jni.so are of "hard-float", can you confirm what version you saw soft-float?
Ok, I found out that the version 2.12.4 of GG that I was using had a version of /linux/armv7/glibc/libaws-crt-jni.so that a developer had cross compiled to soft float. That solves the difference in my versions. It looks like CRT has known limitations around auto selecting armv7 musl vs glibc, so I'm guessing it also doesn't know what to do when the host processor can't support hard float.
We will include the soft float version in our filesystem matching whatever nucleus is providing.
Thanks and sorry for the confusion.
Glad you were able to figure out what was going on, and unblock yourself. Will close since it doesn't seem like there is an issue.
I am prototyping GG core devices on armv7l I'm using the easy installer before adding the components to our filesystem and implementing fleet provisioning. I have things working fine on a Ubuntu amd64 VM using the same steps. It appears provisioning succeeds and everything is extracted and copied to GG root (/greengrass/v2), but nucleus fails when it runs.
It appears to be failing to link libaws-crt-jni.so
output
I have a an AWS re:Post question active on issue 1 here ,however I think I need deeper technical assistance here.
I am running the installer on linux armv7l glib architecture. it is a custom Linux distribution using busybox/ash shell. Nucleus version v2.12.6 openJDK 11.0.22
Xilinx Zynq-7000 SoC