Skip to contentSkip to conversation

libjxl: Disable sizeless-vectors on riscv32

PATCH New Khem Raj 1 participant 1 message Sep 17, 2024

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 libjxl: Disable sizeless-vectors on riscv32

They endup in undefined intrinsics demanded by compiler

error: use of undeclared identifier '__riscv_vsetvlmax_e8mf8'

Perhaps an upgrade of vendored highway module ( when it happens) will fix it

---
 meta-oe/recipes-multimedia/libjxl/libjxl_0.10.3.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-multimedia/libjxl/libjxl_0.10.3.bb +1 -0
index 6e6e5edfd7..505fca4c8f 100644
@@ -38,6 +38,7 @@ PACKAGECONFIG ?= "mime gdk-pixbuf-loader sizeless-vectors"
 #  591 | HWY_RVV_FOREACH(HWY_RVV_LANES, Lanes, setvlmax_e, _ALL)
 #      |                 ^
 PACKAGECONFIG:remove:riscv64 = "sizeless-vectors"
+PACKAGECONFIG:remove:riscv32 = "sizeless-vectors"
 PACKAGECONFIG[gdk-pixbuf-loader] = "-DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF=ON,-DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF=OFF,gdk-pixbuf"
 PACKAGECONFIG[gimp] = "-DJPEGXL_ENABLE_PLUGIN_GIMP210=ON,-DJPEGXL_ENABLE_PLUGIN_GIMP210=OFF,gimp"
 PACKAGECONFIG[mime] = "-DJPEGXL_ENABLE_PLUGIN_MIME=ON,-DJPEGXL_ENABLE_PLUGIN_MIME=OFF"