-
Notifications
You must be signed in to change notification settings - Fork 5
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
Compilation on arm64 fails #2
Comments
Is it due to Kotlin Native aka Konan? Presumably it should work on the Raspberry Pi 3, but also on 4? |
The following platforms are added: - linuxArm64 - linuxArm32Hfp - mingwX86
Yes, Kotlin Native does support ARM on Linux (see also https://kotlinlang.org/docs/mpp-supported-platforms.html), but I had to explicitly add support for it. I did have issues building it on a Raspberry Pi, but building it on a normal computer did work fine, although I didn't test running it. If you do want to build it on a normal computer, you have to execute |
Compilation works flawlessly on Intel laptop with
I also tried it with the binaries from linuxArm32Hfp, but it yields the same results. Any ideas? Thanks a lot BTW! |
This is because the Python bindings check for a 64bit platform, corresponding to the original |
Uncommenting lines 40 and 41 yields
The file under that file path exists though. It is the 32-bit binary, as Raspberry Pi OS and its kernel is still 32-bit per default (arm71, the CPU is 64-bit capable, but not Raspberry Pi OS). Also python3 is 32-bit compiled. I don't know how to get it running. |
The latest version of the Python bindings do have the suitable .so files. Does that work? (If you are still trying.) |
I get this error when building the AUR package on my PinePhone:
|
I found this relevant discussion regarding compiling kotlin on arm64: https://youtrack.jetbrains.com/issue/KT-36871 It looks like arm64 isn't supported as a host, but might be supported in the future. It might be worth creating a binary package for AUR in the meantime |
I just created the AUR package libdecsync-bin exclusive to aarch64 for the pinephone/pinephone pro If you could make the .so files available in the releases that would make things easier! |
Thanks! I will also add them to the releases. |
libxcrypt-compat should be added as a dependency due to issue #14 |
After apt-get installing all dependencies as written in the README.md,
make
fails as shown below. Architecture is Raspberry Pi 4, i.e., arm64-v71, with Raspbian 10. Any advice?The text was updated successfully, but these errors were encountered: