Article View: linux.debian.bugs.rc
Article #4129Bug#1145420: highway: testsuite failure on riscv64 hardware with vector extension
From: Aurelien Jarno
Date: Tue, 24 Nov 2026 20:30
Date: Tue, 24 Nov 2026 20:30
39 lines
3487 bytes
3487 bytes
Hi, On 2026-11-24 08:58, Sebastian Ramacher wrote: > Control: severity -1 serious > Control: affects -1 src:fastp > > On 2026-08-24 22:09:42 +0200, Aurelien Jarno wrote: > > Source: highway > > Version: 1.3.0-5.1 > > Severity: important > > Raising the severity as this issue now makes at least visp and fastp > FTBFS on riscv64. I think these are technically different issues. The original bug report only concerns runtime failures, i.e. wrong results on hardware with RVV support, while still working fine on hardware without RVV support. The problem is somewhere in the RVV variant of the code or in GCC. The problem is also reproducible with the upstream version. On the other hand, the problem with vips and fastp is a build time problem. Highway is mostly source based, I mean a significant part of the code is actually in the headers. With this newer version of highway, two variants of the code are built, one with the baseline, and the other with RVV instructions, the dispatcher running the code corresponding to the CPU capabilities at runtime. The problem is that GCC does not recognize those instructions as they are not part of the baseline. I do not know if the issue is due to an incomplete backport of RVV dispatch feature or if it is also present upstream. Nevertheless disabling rvv-runtime-dispatch.patch and gcc-15.patch patches from the Debian package fixes both issues. Regards Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://aurel32.net
Technical Details
Message-ID:
<O35jj-dWgr-11@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomodReferences:
<NvJjb-d1oP-1@gated-at.bofh.it> <O2TBv-dQ05-3@gated-at.bofh.it> <NvJjb-d1oP-1@gated-at.bofh.it> <O2TBv-dQ05-3@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!fu-berlin.de!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, 24 Nov 2026 21:30:01 +0100 Message-ID: <O35jj-dWgr-11@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> <O2TBv-dQ05-3@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Tue Nov 24 20:21: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: text/plain; charset=us-ascii 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/839522 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 39 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: 1145420@bugs.debian.org X-Original-Date: Tue, 24 Nov 2026 21:18:36 +0100 X-Original-Message-ID: <awXxHGA56dVFVP6-@aurel32.net> X-Original-References: <178760218227.932318.18156035714273905990.reportbug@ohm.local> <awVDi_4zYK2F2QZE@ramacher.at> <178760218227.932318.18156035714273905990.reportbug@ohm.local> <awVDi_4zYK2F2QZE@ramacher.at>