I spoke too soon after ~7.5 runs I got the following with -marm:
cc -iquote /root/qemu-5.0/b/user-static/target/arm -iquote target/arm -iquote /root/qemu-5.0/tcg/arm -isystem /root/qemu-5.0/linux-headers -isystem /root/qemu-5.0/b/user-static/linux-headers -iquote . -iquote /root/qemu-5.0 -iquote /root/qemu-5.0/accel/tcg -iquote /root/qemu-5.0/include -iquote /root/qemu-5.0/disas/libvixl -pthread -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -std=gnu99 -g -O2 -fdebug-prefix-map=/root/qemu-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -marm -Wdate-time -D_FORTIFY_SOURCE=2 -Wexpansion-to-defined -Wendif-labels -Wno-shift-negative-value -Wno-missing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -DLEGACY_RDMA_REG_MR -I/usr/include/libpng16 -I/root/qemu-5.0/capstone/include -isystem ../linux-headers -iquote .. -iquote /root/qemu-5.0/target/arm -DNEED_CPU_H -iquote /root/qemu-5.0/include -I/root/qemu-5.0/linux-user/aarch64 -I/root/qemu-5.0/linux-user/host/arm -I/root/qemu-5.0/linux-user -Ilinux-user/aarch64 -MMD -MP -MT target/arm/helper.o -MF target/arm/helper.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -g -c -o target/arm/helper.o /root/qemu-5.0/target/arm/helper.c during RTL pass: reload /root/qemu-5.0/linux-user/syscall.c: In function ‘do_syscall’: /root/qemu-5.0/linux-user/syscall.c:12519:1: internal compiler error: Segmentation fault 12519 | } | ^ cc -iquote /root/qemu-5.0/b/user-static/target/arm -iquote target/arm -iquote /root/qemu-5.0/tcg/arm -isystem /root/qemu-5.0/linux-headers -isystem /root/qemu-5.0/b/user-static/linux-headers -iquote . -iquote /root/qemu-5.0 -iquote /root/qemu-5.0/accel/tcg -iquote /root/qemu-5.0/include -iquote /root/qemu-5.0/disas/libvixl -pthread -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -std=gnu99 -g -O2 -fdebug-prefix-map=/root/qemu-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -marm -Wdate-time -D_FORTIFY_SOURCE=2 -Wexpansion-to-defined -Wendif-labels -Wno-shift-negative-value -Wno-missing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -DLEGACY_RDMA_REG_MR -I/usr/include/libpng16 -I/root/qemu-5.0/capstone/include -isystem ../linux-headers -iquote .. -iquote /root/qemu-5.0/target/arm -DNEED_CPU_H -iquote /root/qemu-5.0/include -I/root/qemu-5.0/linux-user/aarch64 -I/root/qemu-5.0/linux-user/host/arm -I/root/qemu-5.0/linux-user -Ilinux-user/aarch64 -MMD -MP -MT target/arm/translate-sve.o -MF target/arm/translate-sve.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -g -c -o target/arm/translate-sve.o /root/qemu-5.0/target/arm/translate-sve.c 0x532d6b crash_signal ../../src/gcc/toplev.c:328 0x41d0c7 add_regs_to_insn_regno_info ../../src/gcc/lra.c:1515 0x41d1c9 add_regs_to_insn_regno_info ../../src/gcc/lra.c:1537 0x41d1c9 add_regs_to_insn_regno_info ../../src/gcc/lra.c:1537 0x41e28f lra_update_insn_regno_info(rtx_insn*) ../../src/gcc/lra.c:1630 0x42c1af lra_constraints(bool) ../../src/gcc/lra-constraints.c:4970 0x41f483 lra(_IO_FILE*) ../../src/gcc/lra.c:2443 0x3f0915 do_reload ../../src/gcc/ira.c:5527 0x3f0915 execute ../../src/gcc/ira.c:5713
I spoke too soon after ~7.5 runs I got the following with -marm:
cc -iquote /root/qemu- 5.0/b/user- static/ target/ arm -iquote target/arm -iquote /root/qemu- 5.0/tcg/ arm -isystem /root/qemu- 5.0/linux- headers -isystem /root/qemu- 5.0/b/user- static/ linux-headers -iquote . -iquote /root/qemu-5.0 -iquote /root/qemu- 5.0/accel/ tcg -iquote /root/qemu- 5.0/include -iquote /root/qemu- 5.0/disas/ libvixl -pthread -I/usr/ include/ glib-2. 0 -I/usr/ lib/arm- linux-gnueabihf /glib-2. 0/include -D_GNU_SOURCE -D_FILE_ OFFSET_ BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing- prototypes -fno-strict- aliasing -fno-common -fwrapv -std=gnu99 -g -O2 -fdebug- prefix- map=/root/ qemu-5. 0=. -fstack- protector- strong -Wformat -Werror= format- security -marm -Wdate-time -D_FORTIFY_SOURCE=2 -Wexpansion- to-defined -Wendif-labels -Wno-shift- negative- value -Wno-missing- include- dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored- qualifiers -Wold-style- declaration -Wold-style- definition -Wtype-limits -fstack- protector- strong -DLEGACY_ RDMA_REG_ MR -I/usr/ include/ libpng16 -I/root/ qemu-5. 0/capstone/ include -isystem ../linux-headers -iquote .. -iquote /root/qemu- 5.0/target/ arm -DNEED_CPU_H -iquote /root/qemu- 5.0/include -I/root/ qemu-5. 0/linux- user/aarch64 -I/root/ qemu-5. 0/linux- user/host/ arm -I/root/ qemu-5. 0/linux- user -Ilinux- user/aarch64 -MMD -MP -MT target/arm/helper.o -MF target/arm/helper.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -g -c -o target/arm/helper.o /root/qemu- 5.0/target/ arm/helper. c 5.0/linux- user/syscall. c: In function ‘do_syscall’: 5.0/linux- user/syscall. c:12519: 1: internal compiler error: Segmentation fault 5.0/b/user- static/ target/ arm -iquote target/arm -iquote /root/qemu- 5.0/tcg/ arm -isystem /root/qemu- 5.0/linux- headers -isystem /root/qemu- 5.0/b/user- static/ linux-headers -iquote . -iquote /root/qemu-5.0 -iquote /root/qemu- 5.0/accel/ tcg -iquote /root/qemu- 5.0/include -iquote /root/qemu- 5.0/disas/ libvixl -pthread -I/usr/ include/ glib-2. 0 -I/usr/ lib/arm- linux-gnueabihf /glib-2. 0/include -D_GNU_SOURCE -D_FILE_ OFFSET_ BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing- prototypes -fno-strict- aliasing -fno-common -fwrapv -std=gnu99 -g -O2 -fdebug- prefix- map=/root/ qemu-5. 0=. -fstack- protector- strong -Wformat -Werror= format- security -marm -Wdate-time -D_FORTIFY_SOURCE=2 -Wexpansion- to-defined -Wendif-labels -Wno-shift- negative- value -Wno-missing- include- dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored- qualifiers -Wold-style- declaration -Wold-style- definition -Wtype-limits -fstack- protector- strong -DLEGACY_ RDMA_REG_ MR -I/usr/ include/ libpng16 -I/root/ qemu-5. 0/capstone/ include -isystem ../linux-headers -iquote .. -iquote /root/qemu- 5.0/target/ arm -DNEED_CPU_H -iquote /root/qemu- 5.0/include -I/root/ qemu-5. 0/linux- user/aarch64 -I/root/ qemu-5. 0/linux- user/host/ arm -I/root/ qemu-5. 0/linux- user -Ilinux- user/aarch64 -MMD -MP -MT target/ arm/translate- sve.o -MF target/ arm/translate- sve.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -g -c -o target/ arm/translate- sve.o /root/qemu- 5.0/target/ arm/translate- sve.c src/gcc/ toplev. c:328 to_insn_ regno_info src/gcc/ lra.c:1515 to_insn_ regno_info src/gcc/ lra.c:1537 to_insn_ regno_info src/gcc/ lra.c:1537 insn_regno_ info(rtx_ insn*) src/gcc/ lra.c:1630 (bool) src/gcc/ lra-constraints .c:4970 src/gcc/ lra.c:2443 src/gcc/ ira.c:5527 src/gcc/ ira.c:5713
during RTL pass: reload
/root/qemu-
/root/qemu-
12519 | }
| ^
cc -iquote /root/qemu-
0x532d6b crash_signal
../../
0x41d0c7 add_regs_
../../
0x41d1c9 add_regs_
../../
0x41d1c9 add_regs_
../../
0x41e28f lra_update_
../../
0x42c1af lra_constraints
../../
0x41f483 lra(_IO_FILE*)
../../
0x3f0915 do_reload
../../
0x3f0915 execute
../../