qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

error compiling qemu 6.2.0


From: Glenn Michael Petrie
Subject: error compiling qemu 6.2.0
Date: Thu, 17 Feb 2022 08:22:45 +0100 (CET)

I have a problem compiling this version of QEMU which I didn't have people. I am compiling it using the git repository and am in the process of "make"ing it. I got up to [2072/9676] then I get a "Segmentation Fault", as shown below;

[2072/9676] Compiling C object libqemu-aarch64-softmmu.fa.p/target_arm_sve_helper.c.o
FAILED: libqemu-aarch64-softmmu.fa.p/target_arm_sve_helper.c.o
cc -m64 -mcx16 -Ilibqemu-aarch64-softmmu.fa.p -I. -I.. -Itarget/arm -I../target/arm -I../dtc/libfdt -I../capstone/include/capstone -Iqapi -Itrace -Iui -Iui/shader -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fdiagnostics-color=auto -Wall -Winvalid-pch -Werror -std=gnu11 -O2 -g -isystem /home/gmp/qemu/linux-headers -isystem linux-headers -iquote . -iquote /home/gmp/qemu -iquote /home/gmp/qemu/include -iquote /home/gmp/qemu/disas/libvixl -iquote /home/gmp/qemu/tcg/i386 -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -Wold-style-declaration -Wold-style-definition -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined -Wimplicit-fallthrough=2 -Wno-missing-include-dirs -Wno-shift-negative-value -Wno-psabi -fstack-protector-strong -fPIE -isystem../linux-headers -isystemlinux-headers -DNEED_CPU_H '-DCONFIG_TARGET="aarch64-softmmu-config-target.h"' '-DCONFIG_DEVICES="aarch64-softmmu-config-devices.h"' -MD -MQ libqemu-aarch64-softmmu.fa.p/target_arm_sve_helper.c.o -MF libqemu-aarch64-softmmu.fa.p/target_arm_sve_helper.c.o.d -o libqemu-aarch64-softmmu.fa.p/target_arm_sve_helper.c.o -c ../target/arm/sve_helper.c
/tmp/ccddypkh.s: Assembler messages:
/tmp/ccddypkh.s:1052709: Internal error (Segmentation fault).
Please report this bug.
ninja: build stopped: subcommand failed.
make[1]: *** [Makefile:163: run-ninja] Error 1
make[1]: Leaving directory '/home/gmp/qemu/build'
make: *** [GNUmakefile:11: all] Error 2

When I try compiling this again, something completely different appears:

[2/7606] Compiling C object libqemu-aarch64-softmmu.fa.p/target_arm_sve_helper.c.o
FAILED: libqemu-aarch64-softmmu.fa.p/target_arm_sve_helper.c.o
cc -m64 -mcx16 -Ilibqemu-aarch64-softmmu.fa.p -I. -I.. -Itarget/arm -I../target/arm -I../dtc/libfdt -I../capstone/include/capstone -Iqapi -Itrace -Iui -Iui/shader -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fdiagnostics-color=auto -Wall -Winvalid-pch -Werror -std=gnu11 -O2 -g -isystem /home/gmp/qemu/linux-headers -isystem linux-headers -iquote . -iquote /home/gmp/qemu -iquote /home/gmp/qemu/include -iquote /home/gmp/qemu/disas/libvixl -iquote /home/gmp/qemu/tcg/i386 -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -Wold-style-declaration -Wold-style-definition -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined -Wimplicit-fallthrough=2 -Wno-missing-include-dirs -Wno-shift-negative-value -Wno-psabi -fstack-protector-strong -fPIE -isystem../linux-headers -isystemlinux-headers -DNEED_CPU_H '-DCONFIG_TARGET="aarch64-softmmu-config-target.h"' '-DCONFIG_DEVICES="aarch64-softmmu-config-devices.h"' -MD -MQ libqemu-aarch64-softmmu.fa.p/target_arm_sve_helper.c.o -MF libqemu-aarch64-softmmu.fa.p/target_arm_sve_helper.c.o.d -o libqemu-aarch64-softmmu.fa.p/target_arm_sve_helper.c.o -c ../target/arm/sve_helper.c
during IPA pass: icf
../target/arm/sve_helper.c:7651:1: internal compiler error: Segmentation fault
7651 | DO_FCVTLT(sve2_fcvtlt_sd, uint64_t, uint32_t, H1_8, H1_4, float32_to_float64)
      | ^~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-9/README.Bugs> for instructions.
ninja: build stopped: subcommand failed.
make[1]: *** [Makefile:163: run-ninja] Error 1
make[1]: Leaving directory '/home/gmp/qemu/build'
make: *** [GNUmakefile:11: all] Error 2

What these two blocks of errors have in common is the file libqemu-aarch64-softmmu.fa.p. I am using Zorion OS 16 (Ubuntu 20.04 base) and gcc 9.3.0

reply via email to

[Prev in Thread] Current Thread [Next in Thread]