|
From: | Stefan Weil |
Subject: | Re: [PATCH v2 63/93] tcg/tci: Use ffi for calls |
Date: | Sun, 7 Feb 2021 17:25:39 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 |
Am 04.02.21 um 02:44 schrieb Richard Henderson:
This requires adjusting where arguments are stored. Place them on the stack at left-aligned positions. Adjust the stack frame to be at entirely positive offsets. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> ---
[...]
diff --git a/tcg/tci.c b/tcg/tci.c index 6843e837ae..d27db9f720 100644 --- a/tcg/tci.c +++ b/tcg/tci.c @@ -18,6 +18,13 @@ */#include "qemu/osdep.h"+#include "qemu-common.h" +#include "tcg/tcg.h" /* MAX_OPC_PARAM_IARGS */ +#include "exec/cpu_ldst.h" +#include "tcg/tcg-op.h" +#include "qemu/compiler.h" +#include <ffi.h> +
ffi.h is not found on macOS with Homebrew.This can be fixed by using pkg-config to find the right compiler (and maybe also linker) flags:
% pkg-config --cflags libffi -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/ffi % pkg-config --libs libffi -lffi Regards, Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |