Seems like I screw up bare-metal toolchian multi lib selection during finxing linux multi-lib selction...
gcc/ChangeLog: * common/config/riscv/riscv-common.cc (riscv_compute_multilib): Fix wrong select_kind... --- gcc/common/config/riscv/riscv-common.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/common/config/riscv/riscv-common.cc b/gcc/common/config/riscv/riscv-common.cc index 3a285dfbff0e..fb2635eb5599 100644 --- a/gcc/common/config/riscv/riscv-common.cc +++ b/gcc/common/config/riscv/riscv-common.cc @@ -1777,11 +1777,11 @@ riscv_compute_multilib ( switch (select_kind) { case select_by_abi: - return riscv_select_multilib (riscv_current_abi_str, subset_list, - switches, n_switches, multilib_infos); - case select_by_abi_arch_cmodel: return riscv_select_multilib_by_abi (riscv_current_abi_str, multilib_infos); + case select_by_abi_arch_cmodel: + return riscv_select_multilib (riscv_current_abi_str, subset_list, + switches, n_switches, multilib_infos); case select_by_builtin: gcc_unreachable (); default: -- 2.39.2