From: Pierrick Bouvier <pierrick.bouvier@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Richard Henderson" <richard.henderson@linaro.org>,
"Paolo Bonzini" <pbonzini@redhat.com>,
berrange@redhat.com, "Philippe Mathieu-Daudé" <philmd@linaro.org>,
thuth@redhat.com, "Peter Maydell" <peter.maydell@linaro.org>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Alex Bennée" <alex.bennee@linaro.org>
Subject: Re: [PATCH 0/6] single-binary: build target common libraries with dependencies
Date: Thu, 15 May 2025 22:40:51 -0700 [thread overview]
Message-ID: <53d00c4a-6fd4-4822-8533-626d94bee0bb@linaro.org> (raw)
In-Reply-To: <20250516052708.930928-1-pierrick.bouvier@linaro.org>
On 5/15/25 10:27 PM, Pierrick Bouvier wrote:
> Recently, common libraries per target base architecture were introduced in order
> to compile those files only once. However, it was missing common dependencies
> (which include external libraries), so it failed to build on some hosts.
>
> This series fixes this, inspired by Thomas fix [1], and applied to other
> libraries introduced very recently with [2].
>
> As well, we do further cleanup by removing lib{system, user} source sets that
> were recently introduced, by merging them in system/user libraries, thus
> simplifying the work on single-binary.
>
> This series was built on {linux, macos, windows} x {x86_64, aarch64} and
> freebsd on x86_64. Fully tested on linux x {x86_64, aarch64}.
> In addition to that, it was checked that compilation units compiled per binary
> stayed the same, and that their size was identical.
>
> [1] https://lore.kernel.org/qemu-devel/20250513115637.184940-1-thuth@redhat.com/
> [2] https://gitlab.com/qemu-project/qemu/-/commit/b2bb3f3576e5dc99218607dde09e25ac0e55693c
>
> Pierrick Bouvier (6):
> meson: build target libraries with common dependencies
> hw/arm: remove explicit dependencies listed
> target/arm: remove explicit dependencies listed
> meson: apply target config for picking files from lib{system, user}
> meson: merge lib{system, user}_ss with {system, user}_ss.
> meson: remove lib{system, user}_ss aliases
>
> meson.build | 65 +++++++++++++++++++++++++++---------------
> accel/tcg/meson.build | 8 +++---
> gdbstub/meson.build | 4 +--
> hw/arm/meson.build | 4 +--
> hw/core/meson.build | 4 +--
> plugins/meson.build | 4 +--
> system/meson.build | 2 +-
> target/arm/meson.build | 2 +-
> tcg/meson.build | 4 +--
> 9 files changed, 58 insertions(+), 39 deletions(-)
>
As well, openbsd build works with:
make vm-build-openbsd J=4 TARGET_LIST=aarch64-softmmu
(thanks for the command Thomas)
next prev parent reply other threads:[~2025-05-16 5:41 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-16 5:27 [PATCH 0/6] single-binary: build target common libraries with dependencies Pierrick Bouvier
2025-05-16 5:27 ` [PATCH 1/6] meson: build target libraries with common dependencies Pierrick Bouvier
2025-05-16 11:42 ` Philippe Mathieu-Daudé
2025-05-16 14:34 ` Pierrick Bouvier
2025-05-17 15:00 ` Paolo Bonzini
2025-05-17 19:37 ` Pierrick Bouvier
2025-05-16 5:27 ` [PATCH 2/6] hw/arm: remove explicit dependencies listed Pierrick Bouvier
2025-05-16 5:27 ` [PATCH 3/6] target/arm: " Pierrick Bouvier
2025-05-16 5:27 ` [PATCH 4/6] meson: apply target config for picking files from lib{system, user} Pierrick Bouvier
2025-05-16 5:27 ` [PATCH 5/6] meson: merge lib{system, user}_ss with {system, user}_ss Pierrick Bouvier
2025-05-17 15:04 ` Paolo Bonzini
2025-05-17 19:34 ` Pierrick Bouvier
2025-05-16 5:27 ` [PATCH 6/6] meson: remove lib{system, user}_ss aliases Pierrick Bouvier
2025-05-16 5:40 ` Pierrick Bouvier [this message]
2025-05-16 7:24 ` [PATCH 0/6] single-binary: build target common libraries with dependencies Thomas Huth
2025-05-21 22:38 ` Pierrick Bouvier
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=53d00c4a-6fd4-4822-8533-626d94bee0bb@linaro.org \
--to=pierrick.bouvier@linaro.org \
--cc=alex.bennee@linaro.org \
--cc=berrange@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=thuth@redhat.com \
/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).