qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org
Cc: matheus.ferst@eldorado.org.br, alex.bennee@linaro.org
Subject: Re: [PATCH 1/2] tests/tcg: compile system emulation tests as freestanding
Date: Wed, 22 Jun 2022 07:52:29 -0700	[thread overview]
Message-ID: <f45abaf3-e70b-85de-e4ce-92a353f9ef78@linaro.org> (raw)
In-Reply-To: <20220622134742.139306-2-pbonzini@redhat.com>

On 6/22/22 06:47, 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: Richard Henderson <richard.henderson@linaro.org>

r~


  reply	other threads:[~2022-06-22 14:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-22 13:47 [PATCH 0/2] build: make tests/tcg compiler detection code more generic Paolo Bonzini
2022-06-22 13:47 ` [PATCH 1/2] tests/tcg: compile system emulation tests as freestanding Paolo Bonzini
2022-06-22 14:52   ` Richard Henderson [this message]
2022-06-22 13:47 ` [PATCH 2/2] build: try both native and cross compilers for linux-user tests Paolo Bonzini
2022-06-22 17:30   ` Matheus Kowalczuk Ferst

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f45abaf3-e70b-85de-e4ce-92a353f9ef78@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=alex.bennee@linaro.org \
    --cc=matheus.ferst@eldorado.org.br \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).