Nico06/24/2021, 7:49 AM
Nico06/25/2021, 11:01 AM
Stefano Bonicatti06/25/2021, 11:04 AM
option, because otherwise you're mixing toolchains (or most likely compile options and include folders). It should compile only with the NDK, somewhat following the instructions that are present on their website, which talks about integrating it with CMake. I'm not sure how ideal it is to have osquery be built with the ARM toolchain; it might seem to work now but it can have all sorts of subtle issues. I would also expect the different kernel possibly not supporting the same syscalls set.
Nico06/25/2021, 11:15 AM
and seems to launch fine
cmake -DCMAKE_TOOLCHAIN_FILE=$NDK/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a -DANDROID_NATIVE_API_LEVEL=21 ..
Stefano Bonicatti06/25/2021, 12:56 PM
Nico06/25/2021, 2:46 PM
Stefano Bonicatti06/27/2021, 9:43 AM
Nico06/27/2021, 7:58 PM