https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95122
--- Comment #3 from chengcongxiu at huawei dot com <chengcongxiu at huawei dot com> --- (In reply to Richard Biener from comment #1) > You seem to build from inside the source directory, that is not supported. > Please create a separate object directory like > > mkdir obj > cd obj > ../configure .... > > and re-try. But option is arm-linux-gnueabi-gcc -msoft-float, the toolchain is OK, so separate object directory is not userful