mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-31 14:23:53 -06:00
![]() make check-tcg fails on Fedora with the following error message:
alpha-linux-gnu-gcc [...] qemu/tests/tcg/multiarch/system/memory.c -o memory [...]
qemu/tests/tcg/multiarch/system/memory.c:17:10: fatal error: inttypes.h: No such file or directory
17 | #include <inttypes.h>
| ^~~~~~~~~~~~
compilation terminated.
The reason is that Fedora has cross-compilers, but no cross-glibc
headers. Fix by hardcoding the format specifiers and dropping the
include.
An alternative fix would be to introduce a configure check for
inttypes.h. But this would make it impossible to use Fedora
cross-compilers for softmmu tests, which used to work so far.
Fixes:
|
||
---|---|---|
.. | ||
aarch64 | ||
aarch64_be | ||
alpha | ||
arm | ||
hexagon | ||
hppa | ||
i386 | ||
loongarch64 | ||
m68k | ||
minilib | ||
mips | ||
multiarch | ||
openrisc | ||
plugins | ||
ppc64 | ||
ppc64le | ||
riscv64 | ||
s390x | ||
sh4 | ||
tricore | ||
x86_64 | ||
xtensa | ||
xtensaeb | ||
Makefile.target | ||
README |
This directory contains various interesting guest binaries for regression testing the Tiny Code Generator doing system and user-mode emulation. The multiarch directory contains shared code for tests that can be built for all guest architectures. Architecture specific code can be found in their respective directories. System mode tests will be under the "system" subdirectories. GDB scripts for exercising the gdbstub on specific tests will be found under the "gdbstb" subdirectories. See the developer guide for more instructions on "make check-tcg"