I'm hitting crashes in bulk builds and weird behavior with code that makes use of the risc-v Vector extension. I'm not sure yet what is going on but since release is approaching I thought I'd share what I have.
http://build-failures.rhaalovely.net/riscv64/2026-09-14/mail/notmuch%2C-emacs.log Checking for GMime session key extraction support... gpg: AES-128 test encryption failed. gpg: error reading '[stdin]': Selftest failed gpg: import from '[stdin]' failed: Selftest failed No idea what is going on here but it seems RVV-related. http://build-failures.rhaalovely.net/riscv64/2026-09-14/games/neverball%2C-data.log ./mapc data/map-ckk/05.map data gmake: *** [Makefile:402: data/map-ckk/05.sol] Illegal instruction (core dumped) Core was generated by `mapc'. Program terminated with signal SIGILL, Illegal instruction. #0 0x00000002813cb91e in jsimd_idct_islow_rvv () from /usr/local/lib/libjpeg.so.72.0 I do not have a standalone reproducer, but running make test in security/libgcrypt or graphics/jpeg should be enough for crashes to pop up. The following tests FAILED: 1 - tjunittest-shared (ILLEGAL) 2 - tjunittest-shared-alloc (ILLEGAL) 3 - tjunittest-shared-yuv (ILLEGAL) 5 - tjunittest-shared-yuv-nopad (ILLEGAL) 54 - tjbench-shared-tile (ILLEGAL) 56 - tjbench-shared-tile-420-8x8-cmp (Failed) 57 - tjbench-shared-tile-422-8x8-cmp (Failed) 58 - tjbench-shared-tile-444-8x8-cmp (Failed) 60 - tjbench-shared-tile-420-16x16-cmp (Failed) 61 - tjbench-shared-tile-422-16x16-cmp (Failed) 62 - tjbench-shared-tile-444-16x16-cmp (Failed) 64 - tjbench-shared-tile-420-32x32-cmp (Failed) 65 - tjbench-shared-tile-422-32x32-cmp (Failed) 66 - tjbench-shared-tile-444-32x32-cmp (Failed) 68 - tjbench-shared-tile-420-64x64-cmp (Failed) 69 - tjbench-shared-tile-422-64x64-cmp (Failed) 70 - tjbench-shared-tile-444-64x64-cmp (Failed) 72 - tjbench-shared-tile-420-128x128-cmp (Failed) 73 - tjbench-shared-tile-422-128x128-cmp (Failed) 74 - tjbench-shared-tile-444-128x128-cmp (Failed) 325 - tjunittest-static (ILLEGAL) 326 - tjunittest-static-alloc (ILLEGAL) 327 - tjunittest-static-yuv (ILLEGAL) 328 - tjunittest-static-yuv-alloc (ILLEGAL) 329 - tjunittest-static-yuv-nopad (ILLEGAL) 378 - tjbench-static-tile (ILLEGAL) 382 - tjbench-static-tile-444-8x8-cmp (Failed) 386 - tjbench-static-tile-444-16x16-cmp (Failed) 389 - tjbench-static-tile-422-32x32-cmp (Failed) 390 - tjbench-static-tile-444-32x32-cmp (Failed) 393 - tjbench-static-tile-422-64x64-cmp (Failed) 394 - tjbench-static-tile-444-64x64-cmp (Failed) 397 - tjbench-static-tile-422-128x128-cmp (Failed) 398 - tjbench-static-tile-444-128x128-cmp (Failed) 400 - tjbench-static-tilem (ILLEGAL) 401 - tjbench-static-tile-420m-8x8-cmp (Failed) 402 - tjbench-static-tile-422m-8x8-cmp (Failed) 403 - tjbench-static-tile-420m-16x16-cmp (Failed) 404 - tjbench-static-tile-422m-16x16-cmp (Failed) 405 - tjbench-static-tile-420m-32x32-cmp (Failed) 406 - tjbench-static-tile-422m-32x32-cmp (Failed) 407 - tjbench-static-tile-420m-64x64-cmp (Failed) 408 - tjbench-static-tile-422m-64x64-cmp (Failed) 409 - tjbench-static-tile-420m-128x128-cmp (Failed) 410 - tjbench-static-tile-422m-128x128-cmp (Failed) 485 - djpeg-static-gray-islow-rgb (ILLEGAL) 486 - djpeg-static-gray-islow-rgb-cmp (Failed) 565 - example-8bit-static-compress (ILLEGAL) 566 - example-8bit-static-compress-cmp (Failed) The location of the crashes appears to vary. From first inspection the kernel code in vector.c looks sane, but I wonder whether sstatus really is correctly managed. Thoughts? -- jca
