Compile Error on Arch Linux with gcc 9.2 selected toolchain
Username: nouman8
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=2455
make[4]: Entering directory ‘openwrt/build_dir/target-mips_74kc_musl/json-c-0.13.1’ make all-recursive
make[5]: Entering directory ‘openwrt/build_dir/target-mips_74kc_musl/json-c-0.13.1’ Making all in .
make[6]: Entering directory ‘openwrt/build_dir/target-mips_74kc_musl/json-c-0.13.1’
CC json_object.lo
during RTL pass: split2
json_object.c: In function ‘json_object_int_inc’:
json_object.c:735:1: internal compiler error: Segmentation fault
735 | } | ^
0xa1397f crash_signal
openwrt/build_dir/toolchain-mips_74kc_gcc-9.2.0_musl/gcc-9.2.0/gcc/toplev.c:326
0xcd428e mips_split_move(rtx_def*, rtx_def*, mips_split_type, rtx_def*)
openwrt/build_dir/toolchain-mips_74kc_gcc-9.2.0_musl/gcc-9.2.0/gcc/config/mips/mips.c:4871
0xe9cc20 gen_split_59(rtx_insn*, rtx_def
)
openwrt/build_dir/toolchain-mips_74kc_gcc-9.2.0_musl/gcc-9.2.0/gcc/config/mips/mips.md:5248
0xeec295 split_3
openwrt/build_dir/toolchain-mips_74kc_gcc-9.2.0_musl/gcc-9.2.0/gcc/config/mips/mips.md:5246
0xeec295 split_insns(rtx_def*, rtx_insn*)
openwrt/build_dir/toolchain-mips_74kc_gcc-9.2.0_musl/gcc-9.2.0/gcc/config/mips/mips.md:7019
0x72b189 try_split(rtx_def*, rtx_insn*, int)
openwrt/build_dir/toolchain-mips_74kc_gcc-9.2.0_musl/gcc-9.2.0/gcc/emit-rtl.c:3851
0x9843d1 split_insn
openwrt/build_dir/toolchain-mips_74kc_gcc-9.2.0_musl/gcc-9.2.0/gcc/recog.c:2901
0x988e47 split_all_insns()
openwrt/build_dir/toolchain-mips_74kc_gcc-9.2.0_musl/gcc-9.2.0/gcc/recog.c:3005
0x988ed8 execute
openwrt/build_dir/toolchain-mips_74kc_gcc-9.2.0_musl/gcc-9.2.0/gcc/recog.c:3905
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <
for instructions.
make[6]:
- [Makefile:597: json_object.lo] Error 1
make[6]: Leaving directory ‘openwrt/build_dir/target-mips_74kc_musl/json-c-0.13.1’ make[5]:
- [Makefile:661: all-recursive] Error 1
make[5]: Leaving directory ‘openwrt/build_dir/target-mips_74kc_musl/json-c-0.13.1’ make[4]:
- [Makefile:459: all] Error 2
make[4]: Leaving directory ‘openwrt/build_dir/target-mips_74kc_musl/json-c-0.13.1’ make[3]:
- [Makefile:65: openwrt/build_dir/target-mips_74kc_musl/json-c-0.13.1/.built] Error 2
make[3]: Leaving directory ‘openwrt/package/libs/libjson-c’ time: package/libs/libjson-c/compile#0.60#0.12#0.69
make[2]:
- [package/Makefile:113: package/libs/libjson-c/compile] Error 2
make[2]: Leaving directory ‘openwrt’ make[1]:
- [package/Makefile:107: openwrt/staging_dir/target-mips_74kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory ‘openwrt’ make:
- [openwrt/include/toplevel.mk:218: world] Error 2