When compiled for ARM 32bit CT_HOST=arm-linux-gnueabihf archiever fails to put .o files into .a with return code 159. If not archiving .o into .a and pass to linker linker fails to link with the same return code.
I will provide the details later.
Is it a known issue?
100% the same command-lines that use toolchain compiled for arm64 (CT_HOST=aarch64-linux-gnu) works just fine.