mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-21 06:58:36 -07: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:
|
||
|---|---|---|
| .. | ||
| arm-compat-semi | ||
| gdbstub | ||
| libs | ||
| linux | ||
| system | ||
| catch-syscalls.c | ||
| check-plugin-output.sh | ||
| float_convd.c | ||
| float_convs.c | ||
| float_helpers.h | ||
| float_madds.c | ||
| follow-fork-mode.c | ||
| Makefile.target | ||
| munmap-pthread.c | ||
| noexec.c.inc | ||
| nop_func.h | ||
| overflow.c | ||
| prot-none.c | ||
| README | ||
| segfault.c | ||
| sha1.c | ||
| sha512.c | ||
| sigbus.c | ||
| signals.c | ||
| sigreturn-sigmask.c | ||
| test-aes-main.c.inc | ||
| test-mmap.c | ||
| test-plugin-mem-access.c | ||
| test-vma.c | ||
| testthread.c | ||
| threadcount.c | ||
| vma-pthread.c | ||
Multi-architecture linux-user tests