Le Sat, Dec 23, 2023 at 07:52:57PM +0000, Klemens Nanni a écrit : > On Sat, Dec 23, 2023 at 09:11:14AM +0100, Landry Breuil wrote: > > Le Fri, Dec 22, 2023 at 12:12:43AM +0000, Klemens Nanni a écrit : > > > Newer graphics/libvips requires highway>=1.0.5. > > > I haven't tested other consumers yet. amd64 regress: > > > > can we update to 1.0.7 ? graphics/libjxl 0.9.0 requires it since > > https://github.com/libjxl/libjxl/pull/2765. > > > > -- Could NOT find HWY: Found unsuitable version "1.0.3", but required is at > > least "1.0.7" (found /usr/local/lib/libhwy.so.0.0) > > > > Sure!
thanks, i've tried building that version on my regular qemu-based build vm, but during build i get a SIGILL on /usr/obj/ports/highway-1.0.7/build-amd64/tests/math_test Program received signal SIGILL, Illegal instruction. 0x00000221fbb07523 in float hwy::N_AVX2::BitCast<float, int>(int const&) () (gdb) bt #0 0x00000221fbb07523 in float hwy::N_AVX2::BitCast<float, int>(int const&) () #1 0x00000221fbb070d6 in _GLOBAL__sub_I_math_test.cc () #2 0x00000224829f4349 in _dl_call_init_recurse (object=0x22417025800, initfirst=0) at /usr/src/libexec/ld.so/loader.c:905 #3 0x00000224829e8afe in _dl_call_init (object=0x22417025800) at /usr/src/libexec/ld.so/loader.c:844 #4 _dl_boot (argv=0x7d8e9be53328, envp=<optimized out>, dyn_loff=2355833487360, dl_data=0x7d8e9be53290) at /usr/src/libexec/ld.so/loader.c:753 #5 0x00000224829e7266 in _dl_start () at /usr/src/libexec/ld.so/amd64/ldasm.S:61 #6 0x0000000000000000 in ?? () dunno if that's something in the current snap, as i dont have syscall-related msgs in dmesg. will retry with the previous version of the lib uninstalled, but maybe some cpu flags detection should be disabled ? during the build i see this, which is probably related: Config: emu128:0 scalar:0 static:0 all_attain:0 is_test:0 Compiled HWY_TARGETS: AVX3_SPR AVX3_ZEN4 AVX3 AVX2 SSE4 SSSE3 SSE2 HWY_ATTAINABLE_TARGETS: AVX3_SPR AVX3_ZEN4 AVX3 AVX2 SSE4 SSSE3 SSE2 EMU128 HWY_BASELINE_TARGETS: SSE2 EMU128 HWY_STATIC_TARGET: SSE2 HWY_BROKEN_TARGETS: HWY_DISABLED_TARGETS: Current CPU supports: SSSE3 SSE2 EMU128 SCALAR