🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Aurelien Jarno Thu, 08 Oct 2026 20:00
Bug#1150345: qemu: autopkgtest failure on riscv64 for hosts with vector extensions
#170
Author: Aurelien Jarno
Date: Thu, 08 Oct 2026 20:00
39 lines
3189 bytes
Source: qemu
Version: 1:11.1.2+ds-2
Severity: important
Tags: patch upstream
Control: found -1 1:10.0.11+ds-0+deb13u1

Dear Michael,

As you pointed out on IRC the qemu autopkgtest sometimes fail on riscv64:

| 717s === Checking if /usr/bin/qemu-arm64 can run executables:
| 717s glob with sh: /usr/bin/qemu-arm64 /bin/busybox ash -c "/usr/bin/qemu-arm64 /bin/busybox ls -dCFl debian/*[t]*":
| 717s /bin/busybox: line 0: can't open ash: no such file
| 717s Expected output not found

The full autopkgtest log is available here:
https://ci.debian.net/data/autopkgtest/testing/riscv64/q/qemu/76104339/log.gz

This happens on hosts with CPU which support vector extension. QEMU
detects it and use it. In this particular case, the RISCV-V vector
instructions are used, among other things, to emulate the aarch64 NEON
instructions.

I have found two issues in the TCG RISC-V backend that explain this
issue. I have submitted them upstream as patches:
- https://lore.kernel.org/qemu-devel/20261008181611.3015838-1-aurelien@aurel32.net/
- https://lore.kernel.org/qemu-devel/20261008181647.3015949-1-aurelien@aurel32.net/

I have tested that they fix the autopkgtest failure. Once accepted
upstream, could you please merge them (or a newer version if needed) in
the Debian package?

Note that the issue also affects the version in trixie, and as hardware
with vector instructions is becoming more common, we might also want to
fix it. The patch applies cleanly after adjusting the paths that got
changed as part of the 32-bit host support removal.

Thanks
Aurelien
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads