https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99964
--- Comment #4 from cqwrteur <unlvsur at live dot com> --- (In reply to cqwrteur from comment #3) > (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. > > > This is my x86_64-linux-android toolchain. I does not need crti and crtn tbh. > https://github.com/expnkx/Windows-Hosted-x86_64-linux-android-GCC-Cross- > Compiler It does not need crti and crtn tbh.