🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
2 messages
2 total messages Started by László Böszörményi (GCS) Thu, 19 Nov 2026 10:20
Bug#1154193: vips: FTBFS on riscv64: /usr/include/hwy/ops/rvv-inl.h:1000:1: error: built-in function ‘__riscv_vnot_v_u8mf8’ requ...
#5071
Author: László Böszörményi (GCS)
Date: Thu, 19 Nov 2026 10:20
34 lines
4188 bytes
Control: block -1 by 1145420

On Mon, Nov 16, 2026 at 10:05 PM Sebastian Ramacher
<sramacher@debian.org> 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.

Regards,
Laszlo/GCS
[1] https://bugs.debian.org/1145420
Bug#1154193: vips: FTBFS on riscv64: /usr/include/hwy/ops/rvv-inl.h:1000:1: error: built-in function ‘__riscv_vnot_v_u8mf8’ requ...
#5101
Author: Sebastian Ramacher
Date: Thu, 19 Nov 2026 13:50
35 lines
3871 bytes
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
> <sramacher@debian.org> 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
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