https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125853
--- Comment #4 from Tsung Chun Lin <tclin914 at gmail dot com> --- Thanks Jeffrey. I haven't been able to reproduce this with --disable-multilib — with that config MULTILIB_SELECT is just ". ;" and running the same self-test command against a --disable-multilib stage1 xgcc works for me. Could you share, for the build that actually fails: - the full configure command line; - cat gcc/multilib.h (or xgcc -print-multi-lib) from the build dir; - the value of TARGET_RISCV_DEFAULT_ARCH in gcc/tm.h? That'll let me pin down which entry produces the empty -march=.
