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
[email protected]                     http://aurel32.net

Reply via email to