riscv32-elf-gcc在archlinux上直接Segmentation fault

riscv32-elf-gcc是现成提供的编译工具链,gdb attach之后没有symbols:
$ gdb riscv32-elf-gcc ~/a.c

Reading symbols from riscv32-elf-gcc…
(No debugging symbols found in riscv32-elf-gcc)