On 13/8/24 15:57, Alex Bennée wrote:
Philippe Mathieu-Daudé <phi...@linaro.org> writes:
Since commit 0082475e26 the plugin symbol list is unconditionally
added to the linker flags, leading to a build failure:
Undefined symbols for architecture arm64:
"_qemu_plugin_entry_code", referenced from:
<initial-undefines>
...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
ninja: build stopped: subcommand failed.
Fix by restricting the whole meson file to the --enable-plugins
configure argument.
Fixes: 0082475e26 ("meson: merge plugin_ldflags into emulator_link_args")
Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
Queued to maintainer/for-9.1, thanks.
Thanks, possibly also:
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2476
(Cc'ing Helge to confirm)