https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99964
--- Comment #5 from cqwrteur <unlvsur at live dot com> --- (In reply to Jim Wilson from comment #1) > (In reply to cqwrteur from comment #0) > > bionic simply does not provide crti.o and crtn.o > > https://github.com/aosp-riscv/platform_bionic/tree/master/libc/arch-common/ > > bionic > > That is the RISC-V Android port in progress. It should not be used for > anything other than RISC-V, as RISC-V patches might have accidentally broken > other targets. Use the official Android sources for Aarch64, or maybe > something distributed by Linaro. build of arm-linux-androideabi-g++ is successful too. So it is aarch64 specific issue for android in libgcc. I think Jakub can help me fix it.