🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #4707

Bug#1145420: highway: testsuite failure on riscv64 hardware with vector extension

#4707
From: Aurelien Jarno
Date: Tue, 01 Dec 2026 05:40
112 lines
6068 bytes
--278KkljDC4VYm9XG
Content-Type: multipart/mixed; boundary="dPHlc444rubh3Eq3"
Content-Disposition: inline

--dPHlc444rubh3Eq3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

On 2026-11-24 21:18, Aurelien Jarno wrote:
> Hi,
>=20
> On 2026-11-24 08:58, Sebastian Ramacher wrote:
> > Control: severity -1 serious
> > Control: affects -1 src:fastp
> >=20
> > On 2026-08-24 22:09:42 +0200, Aurelien Jarno wrote:
> > > Source: highway
> > > Version: 1.3.0-5.1
> > > Severity: important
> >=20
> > Raising the severity as this issue now makes at least visp and fastp
> > FTBFS on riscv64.
>=20
> I think these are technically different issues. The original bug report=
=20
> only concerns runtime failures, i.e. wrong results on hardware with RVV=
=20
> support, while still working fine on hardware without RVV support. The=20
> problem is somewhere in the RVV variant of the code or in GCC. The=20
> problem is also reproducible with the upstream version.
>=20
> On the other hand, the problem with vips and fastp is a build time=20
> problem. Highway is mostly source based, I mean a significant part of=20
> the code is actually in the headers. With this newer version of highway,=
=20
> two variants of the code are built, one with the baseline, and the other=
=20
> with RVV instructions, the dispatcher running the code corresponding to=
=20
> the CPU capabilities at runtime. The problem is that GCC does not=20
> recognize those instructions as they are not part of the baseline. I do=
=20
> not know if the issue is due to an incomplete backport of RVV dispatch=20
> feature or if it is also present upstream.
>=20
> Nevertheless disabling rvv-runtime-dispatch.patch and gcc-15.patch=20
> patches from the Debian package fixes both issues.

I have prepared a NMU disabling those patched, and uploaded to=20
DELAYED/2. Please find the debdiff attached. Please all feel free to ask=20
me to cancel the NMU or delay it further.

Regards
Aurelien

--=20
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                     http://aurel32.net

--dPHlc444rubh3Eq3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=highway_1.3.0-5.2.NMU.debdiff
Content-Transfer-Encoding: quoted-printable

--- highway-1.3.0/debian/changelog
+++ highway-1.3.0/debian/changelog
@@ -1,3 +1,10 @@
+highway (1.3.0-5.2) unstable; urgency=3Dmedium
+
+  * Non-maintainer upload
+  * Disable rvv-runtime-dispatch.patch and gcc-15.patch (Closes: #1145420)
+
+ -- Aurelien Jarno <aurel32@debian.org>  Mon, 30 Nov 2026 21:50:59 +0100
+
 highway (1.3.0-5.1) unstable; urgency=3Dmedium
=20
   * Non-maintainer upload.
--- highway-1.3.0/debian/patches/series
+++ highway-1.3.0/debian/patches/series
@@ -1,3 +1,3 @@
-rvv-runtime-dispatch.patch
-gcc-15.patch
+#rvv-runtime-dispatch.patch
+#gcc-15.patch
 i386_standard.patch

--dPHlc444rubh3Eq3--

--278KkljDC4VYm9XG
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEUryGlb40+QrX1Ay4E4jA+JnoM2sFAmsOXBcACgkQE4jA+Jno
M2s6Fw//R9wykzLP69UHCAscGTZRNKyyZTzTW+Vh82v1y34a5ig9CgGyWXbAks3c
w+zuwUOMA/BkMvGhcUSfXJaSPlww2n2+sbrzcDk8E++VqhiUeolKukNhkSHp7D4U
DUeWl3oLpJHBL7lE5raCqyxY0cdn7zFfDlIakNTwFt+NpN4KlzeF1K06yzQV/tkh
BUkwEOuDI229I3lv1u5lRY9LoeGAL/Szci7NNspSkZYojwtBSRaNMOIBz3sL4igz
tNf20wZyDbhbwaa9MnGs31+1nWZZevBHz5fLuzgjTD1ZnWB42PP2a9gD3qxsDzud
Pj83D6tgC54PE/zP3rtcfUjtIK071Mr4ZFqglnZnkCpOzx3JroRC9QPE/fNxLP+m
pErD3CAUbm9rBUAEvtgN6BzgMU802wEgrdPRgE1s5gaCGjFwiE6GSyYvRRVvLGm6
6rRwBl6rYwdkC0BebUzDnk1G4NdO7kIN7FHLUtiYe0ERTqFnIDzRWHfBNsmtbM6k
mjCvttuRXJhWNugzBLkotlu0gijVZXG6LOc5BJtdvMEIfII4msJUUdCqKAwAvcCK
C8AcMA5UyBM747/bEdhu5QJR+/+2YnfkKVSkVdQRKJkIMtTUSGkFLVzABvsiyYDu
yTV4X+MEHtC02lCU3oOn+1E18jfc2omUUEkEJzJc3wLiHjXz8Tk=
=Fa4m
-----END PGP SIGNATURE-----

--278KkljDC4VYm9XG--
Technical Details
Message-ID: <O5oKR-fgzC-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <NvJjb-d1oP-1@gated-at.bofh.it> <O2TBv-dQ05-3@gated-at.bofh.it> <NvJjb-d1oP-1@gated-at.bofh.it> <O35jj-dWgr-11@gated-at.bofh.it> <NvJjb-d1oP-1@gated-at.bofh.it> <O35jj-dWgr-11@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Aurelien Jarno <aurel32@debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1145420: highway: testsuite failure on riscv64 hardware with vector extension
Date: Tue, 01 Dec 2026 06:40:01 +0100
Message-ID: <O5oKR-fgzC-3@gated-at.bofh.it>
References: <NvJjb-d1oP-1@gated-at.bofh.it> <O2TBv-dQ05-3@gated-at.bofh.it> <NvJjb-d1oP-1@gated-at.bofh.it> <O35jj-dWgr-11@gated-at.bofh.it> <NvJjb-d1oP-1@gated-at.bofh.it> <O35jj-dWgr-11@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Tue Dec  1 05:35:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.699
Reply-To: Aurelien Jarno <aurel32@debian.org>, 1145420@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-phototools-devel@lists.alioth.debian.org
X-Debian-Pr-Message: followup 1145420
X-Debian-Pr-Package: src:highway
X-Debian-Pr-Source: highway
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="278KkljDC4VYm9XG"
Content-Disposition: inline
User-Agent: Mutt/2.4.1 (2026-07-04)
X-Debian-User: aurel32
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/840303
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 112
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Sebastian Ramacher <sramacher@debian.org>
X-Original-Date: Tue, 1 Dec 2026 06:33:12 +0100
X-Original-Message-ID: <aw5cF63olWB8DHdd@aurel32.net>
X-Original-References: <178760218227.932318.18156035714273905990.reportbug@ohm.local> <awVDi_4zYK2F2QZE@ramacher.at> <178760218227.932318.18156035714273905990.reportbug@ohm.local> <awXxHGA56dVFVP6-@aurel32.net> <178760218227.932318.18156035714273905990.reportbug@ohm.local> <awXxHGA56dVFVP6-@aurel32.net>