On 2026-11-19 11:10:50 +0100, László Böszörményi (GCS) wrote:
> Control: block -1 by 1145420
> 
> On Mon, Nov 16, 2026 at 10:05 PM Sebastian Ramacher
> <[email protected]> wrote:
> > vips FTBFS on riscv64:
> >
> > FAILED: [code=1] libvips/resample/libresample.a.p/shrinkh_hwy.cpp.o
> > In file included from /usr/include/hwy/highway.h:701,
> >                  from ../libvips/resample/shrinkh_hwy.cpp:54,
> >                  from /usr/include/hwy/foreach_target.h:325,
> >                  from ../libvips/resample/shrinkh_hwy.cpp:53:
> > /usr/include/hwy/ops/rvv-inl.h: In function ‘vuint8mf8_t 
> > hwy::N_RVV::Not(vuint8mf8_t)’:
> > /usr/include/hwy/ops/rvv-inl.h:1000:1: error: built-in function 
> > ‘__riscv_vnot_v_u8mf8’ requires the ‘v’ ISA extension
> >  1000 | HWY_RVV_FOREACH_UI(HWY_RVV_RETV_ARGV, Not, not, _ALL)
> >       | ^~~~~~~~~~~~~~~~~~
>  Now I could reproduce it with a local cross-riscv64 chroot.
> Background is, only newer riscv64 hardware have vector extension CPU
> support. It is disabled by default, and src:highway package with the
> gcc-15.patch checks this extension in runtime and use it when
> available. But as some of our buildds upgraded and now have this
> extension, its usage is broken. When a dependent package is being
> compiled via the src:highway headers, it is confused now somehow and
> so the build fails.
> Rebuilding src:highway with the gcc-15.patch disabled, src:vips
> compiles. For reference, here you can read about this issue [1]. Bad
> thing is, its maintainer Mathieu seems to be absent. I don't know when
> it will be solved.

That bug report is open since August, so it might be a candidate for a
NMU.

Cheers
-- 
Sebastian Ramacher

Reply via email to