I am trying to compile LXC containers for Dragonboard 410C running the latest Android release.
I have tried to use the latest r21 NDK from google and used the llvm based compiler aarch64-linux-android24-clang based toolchain.
On successfully compiling the code, when I try to execute the binary on the 410C , it gives me error as “No such file or directory”.
Running file on the executable shows, something like this:
venkata@venkata-HP-ENVY-Notebook:~/workspace/aosp/Containers/cba/lxc/odm/bin$ file lxc-start
lxc-start: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /system/, not stripped
Can you please help with the following information:
What is the toolchain in the NDK to be used is it 32 bit or 64 bit?
Can you please point to the working toolchain to be used for building Android?