From: "Alex Bennée" <alex.bennee@linaro.org>
To: "Marc-André Lureau" <marcandre.lureau@redhat.com>
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
"Henderson, Richard" <richard.henderson@linaro.org>,
qemu-devel@nongnu.org, "Kyle Evans" <kevans@freebsd.org>,
"Yonggang Luo" <luoyonggang@gmail.com>,
"Li-Wen Hsu" <lwhsu@freebsd.org>,
"Thomas Huth" <thuth@redhat.com>,
"Daniel P. Berrangé" <berrange@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Warner Losh" <imp@bsdimp.com>,
"Manos Pitsidianakis" <manos.pitsidianakis@linaro.org>,
"Jiaxun Yang" <jiaxun.yang@flygoat.com>,
"Ed Maste" <emaste@freebsd.org>,
devel@lists.libvirt.org, qemu-rust@nongnu.org,
"Kohei Tokunaga" <ktokunaga.mail@gmail.com>
Subject: Re: [PATCH v2 00/27] CI/build-sys fixes to enable Rust more widely
Date: Tue, 30 Sep 2025 13:42:19 +0100 [thread overview]
Message-ID: <871pnojems.fsf@draig.linaro.org> (raw)
In-Reply-To: <CAMxuvawY5PSwM0VNmbCmP7Z2t68D=z77W94Ab0SJfrm5_bRwKg@mail.gmail.com> ("Marc-André Lureau"'s message of "Tue, 30 Sep 2025 16:05:02 +0400")
Marc-André Lureau <marcandre.lureau@redhat.com> writes:
> On Sat, Sep 27, 2025 at 9:18 PM Alex Bennée <alex.bennee@linaro.org> wrote:
>
> marcandre.lureau@redhat.com writes:
>
> > From: Marc-André Lureau <marcandre.lureau@redhat.com>
> >
> > Hi,
> >
> > This patch series fixes a number of issues with the build system and CI and
> > enable Rust for many of our jobs, getting us closer to enable Rust by default.
> >
> > emscripten is difficult to enable, help welcome.
>
> Also I think:
>
> https://gitlab.com/stsquad/qemu/-/pipelines/2065603411
>
> Current ack/r-b series pass: https://gitlab.com/marcandre.lureau/qemu/-/pipelines/2071701923
>
> I guess I should end a PR.
>
> And the:
> debian-armhf-cross
>
> debian-mipsel-cross
> debian-mips64el-cross
>
> debian-ppc64el-cross
> debian-riscv64-cross
>
> cross builds fail.
>
> Fixed with the --rust-target-triple patch sent earlier
>
> debian-i686-cross
>
> This one fails with:
> ../src/meson.build:3394:4: ERROR: Problem encountered: No accelerator
> available for target x86_64-softmmu
Ahh - because TCG on 32 bit no longer allows 64 bit guests we cannot
find an accelerator. I'll fix that up in my current testing/next series
by updating DEF_TARGETS
>
> Paolo, any idea?
>
> >
> > v2:
> > - add a rust-to-clang-target-test.sh configure script
> > - drop "RFC: configure: use the same machine as the host triple"
> > - replace "tests: move mips to debian-legacy-test-cross" with "RFC: build-sys: deprecate mips host"
> > - start tackling emscripten
> > - fix mis-placed submodule update
> > - other minor changes, commit message tweaks, bz links
> > - add r-b tags
> >
> > Marc-André Lureau (27):
> > build-sys: require -lrt when no shm_open() in std libs
> > gitlab-ci: fix 'needs' property type must be array
> > scripts/archive-source: speed up downloading subprojects
> > scripts/archive-source: silence subprojects downloads
> > scripts/archive-source: use a bash array
> > configure: fix rust meson configuration
> > configure: set the bindgen cross target
> > tests/docker/common: print errors to stderr
> > tests/docker: use fully qualified image name for emsdk
> > tests/docker/common: print meson log on configure failure
> > build-sys: cfi_debug and safe_stack are not compatible
> > lcitool: update, switch to f41
> > lcitool/qemu: include libclang-rt for TSAN
> > lcitool/alpine: workaround bindgen issue
> > tests/lcitool: add missing rust-std dep
> > tests/lcitool: update to debian13
> > tests/docker: add ENABLE_RUST environment
> > tests/lcitool: enable rust & refresh
> > configure: set the meson executable suffix/ext
> > tests/freebsd: enable Rust
> > meson: rust-bindgen limit allowlist-file to srcdir/include
> > RFC: tests/docker: add rust to debian-legacy-test-cross
> > WIP: gitlab-ci: enable rust for msys2-64bit
> > WIP: cirrus/macos: enable Rust
> > RFC: build-sys: deprecate mips host
> > build-sys: pass -fvisibility=default for wasm bindgen
> > WIP: enable rust for wasm/emscripten
> >
> > docs/about/build-platforms.rst | 2 -
> > docs/about/deprecated.rst | 9 +--
> > configure | 27 +++++++-
> > meson.build | 34 +++++++---
> > .gitlab-ci.d/buildtest-template.yml | 2 +-
> > .gitlab-ci.d/buildtest.yml | 66 +++++++++----------
> > .gitlab-ci.d/cirrus.yml | 4 +-
> > .gitlab-ci.d/crossbuilds.yml | 46 ++++++-------
> > .gitlab-ci.d/static_checks.yml | 6 +-
> > .gitlab-ci.d/windows.yml | 8 ++-
> > rust/bql/meson.build | 1 +
> > rust/chardev/meson.build | 1 +
> > rust/hw/char/pl011/meson.build | 1 +
> > rust/hw/core/meson.build | 1 +
> > rust/migration/meson.build | 3 +-
> > rust/qom/meson.build | 1 +
> > rust/system/meson.build | 1 +
> > rust/util/meson.build | 1 +
> > scripts/archive-source.sh | 33 +++++++---
> > .../ci/setup/ubuntu/ubuntu-2204-aarch64.yaml | 5 +-
> > .../ci/setup/ubuntu/ubuntu-2204-s390x.yaml | 5 +-
> > scripts/rust-to-clang-target-test.sh | 43 ++++++++++++
> > scripts/rust-to-clang-target.sh | 62 +++++++++++++++++
> > tests/docker/common.rc | 11 +++-
> > tests/docker/dockerfiles/alpine.docker | 6 +-
> > tests/docker/dockerfiles/centos9.docker | 4 ++
> > .../dockerfiles/debian-amd64-cross.docker | 18 +++--
> > .../dockerfiles/debian-arm64-cross.docker | 18 +++--
> > .../dockerfiles/debian-armhf-cross.docker | 21 +++---
> > .../dockerfiles/debian-i686-cross.docker | 20 ++++--
> > .../debian-legacy-test-cross.docker | 9 ++-
> > .../dockerfiles/debian-mips64el-cross.docker | 9 ++-
> > .../dockerfiles/debian-mipsel-cross.docker | 9 ++-
> > .../dockerfiles/debian-ppc64el-cross.docker | 18 +++--
> > .../dockerfiles/debian-riscv64-cross.docker | 10 ++-
> > .../dockerfiles/debian-s390x-cross.docker | 18 +++--
> > tests/docker/dockerfiles/debian.docker | 18 +++--
> > .../dockerfiles/emsdk-wasm32-cross.docker | 29 +++++++-
> > .../dockerfiles/fedora-rust-nightly.docker | 18 +++--
> > .../dockerfiles/fedora-win64-cross.docker | 15 +++--
> > tests/docker/dockerfiles/fedora.docker | 18 +++--
> > tests/docker/dockerfiles/opensuse-leap.docker | 7 +-
> > tests/docker/dockerfiles/ubuntu2204.docker | 7 +-
> > tests/docker/test-wasm | 12 ++++
> > tests/lcitool/libvirt-ci | 2 +-
> > tests/lcitool/projects/qemu.yml | 3 +-
> > tests/lcitool/refresh | 48 +++++++++-----
> > tests/vm/freebsd | 4 +-
> > 48 files changed, 531 insertions(+), 183 deletions(-)
> > create mode 100755 scripts/rust-to-clang-target-test.sh
> > create mode 100644 scripts/rust-to-clang-target.sh
> > create mode 100755 tests/docker/test-wasm
>
> --
> Alex Bennée
> Virtualisation Tech Lead @ Linaro
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
prev parent reply other threads:[~2025-09-30 12:42 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-24 12:03 [PATCH v2 00/27] CI/build-sys fixes to enable Rust more widely marcandre.lureau
2025-09-24 12:03 ` [PATCH v2 01/27] build-sys: require -lrt when no shm_open() in std libs marcandre.lureau
2025-09-26 15:13 ` Alex Bennée
2025-09-24 12:03 ` [PATCH v2 02/27] gitlab-ci: fix 'needs' property type must be array marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 03/27] scripts/archive-source: speed up downloading subprojects marcandre.lureau
2025-09-26 15:22 ` Alex Bennée
2025-09-24 12:04 ` [PATCH v2 04/27] scripts/archive-source: silence subprojects downloads marcandre.lureau
2025-09-26 15:41 ` Alex Bennée
2025-09-24 12:04 ` [PATCH v2 05/27] scripts/archive-source: use a bash array marcandre.lureau
2025-09-26 15:44 ` Alex Bennée
2025-09-24 12:04 ` [PATCH v2 06/27] configure: fix rust meson configuration marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 07/27] configure: set the bindgen cross target marcandre.lureau
2025-09-30 14:58 ` Paolo Bonzini
2025-09-30 14:59 ` Paolo Bonzini
2025-09-24 12:04 ` [PATCH v2 08/27] tests/docker/common: print errors to stderr marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 09/27] tests/docker: use fully qualified image name for emsdk marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 10/27] tests/docker/common: print meson log on configure failure marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 11/27] build-sys: cfi_debug and safe_stack are not compatible marcandre.lureau
2025-09-24 13:35 ` Daniel P. Berrangé
2025-09-24 12:04 ` [PATCH v2 12/27] lcitool: update, switch to f41 marcandre.lureau
2025-09-24 13:44 ` Daniel P. Berrangé
2025-09-24 12:04 ` [PATCH v2 13/27] lcitool/qemu: include libclang-rt for TSAN marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 14/27] lcitool/alpine: workaround bindgen issue marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 15/27] tests/lcitool: add missing rust-std dep marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 16/27] tests/lcitool: update to debian13 marcandre.lureau
2025-09-24 12:19 ` Philippe Mathieu-Daudé
2025-09-26 16:41 ` Alex Bennée
2025-09-24 12:04 ` [PATCH v2 17/27] tests/docker: add ENABLE_RUST environment marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 18/27] tests/lcitool: enable rust & refresh marcandre.lureau
2025-09-24 14:38 ` Thomas Huth
2025-09-24 12:04 ` [PATCH v2 19/27] configure: set the meson executable suffix/ext marcandre.lureau
2025-09-24 13:45 ` Daniel P. Berrangé
2025-09-24 12:04 ` [PATCH v2 20/27] tests/freebsd: enable Rust marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 21/27] meson: rust-bindgen limit allowlist-file to srcdir/include marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 22/27] RFC: tests/docker: add rust to debian-legacy-test-cross marcandre.lureau
2025-09-26 15:46 ` Alex Bennée
2025-09-24 12:04 ` [PATCH v2 23/27] WIP: gitlab-ci: enable rust for msys2-64bit marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 24/27] WIP: cirrus/macos: enable Rust marcandre.lureau
2025-09-24 12:04 ` [PATCH v2 25/27] RFC: build-sys: deprecate mips host marcandre.lureau
2025-09-24 12:21 ` Philippe Mathieu-Daudé
2025-09-24 12:24 ` Philippe Mathieu-Daudé
2025-09-24 12:04 ` [PATCH v2 26/27] build-sys: pass -fvisibility=default for wasm bindgen marcandre.lureau
2025-09-29 8:58 ` Kohei Tokunaga
2025-09-24 12:04 ` [PATCH v2 27/27] WIP: enable rust for wasm/emscripten marcandre.lureau
2025-09-29 8:52 ` Kohei Tokunaga
2025-10-01 11:30 ` Paolo Bonzini
2025-10-02 0:00 ` Kohei Tokunaga
2025-09-27 17:17 ` [PATCH v2 00/27] CI/build-sys fixes to enable Rust more widely Alex Bennée
2025-09-30 9:08 ` Paolo Bonzini
2025-09-30 10:20 ` Marc-André Lureau
2025-09-30 12:05 ` Marc-André Lureau
2025-09-30 12:42 ` Alex Bennée [this message]
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=871pnojems.fsf@draig.linaro.org \
--to=alex.bennee@linaro.org \
--cc=berrange@redhat.com \
--cc=devel@lists.libvirt.org \
--cc=emaste@freebsd.org \
--cc=imp@bsdimp.com \
--cc=jiaxun.yang@flygoat.com \
--cc=kevans@freebsd.org \
--cc=ktokunaga.mail@gmail.com \
--cc=luoyonggang@gmail.com \
--cc=lwhsu@freebsd.org \
--cc=manos.pitsidianakis@linaro.org \
--cc=marcandre.lureau@redhat.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-rust@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).