qemu-devel
[Top][All Lists]
Advanced

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

Re: [PULL 09/18] tests/tcg: compile system emulation tests as freestandi


From: Philippe Mathieu-Daudé
Subject: Re: [PULL 09/18] tests/tcg: compile system emulation tests as freestanding
Date: Tue, 12 Jul 2022 22:39:31 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

On 12/7/22 14:49, Paolo Bonzini wrote:
System emulation tests do not run in a hosted environment, since they
do not link with libc.  They should only use freestanding headers
(float.h, limits.h, stdarg.h, stddef.h, stdbool.h, stdint.h,
stdalign.h, stdnoreturn.h) and should be compiled with -ffreestanding
in order to use the compiler implementation of those headers
rather than the one in libc.

Some tests are using inttypes.h instead of stdint.h, so fix that.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
  tests/tcg/Makefile.target              | 1 +
  tests/tcg/aarch64/system/pauth-3.c     | 2 +-
  tests/tcg/aarch64/system/semiconsole.c | 2 +-
  tests/tcg/aarch64/system/semiheap.c    | 2 +-
  tests/tcg/multiarch/system/memory.c    | 2 +-
  5 files changed, 5 insertions(+), 4 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>



reply via email to

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