13 Commits

Author SHA1 Message Date
Gyorgy Sarvari
eea3a14193
libjxl: mark CVE-2025-12474 and CVE-2026-1837 patched
Details: https://nvd.nist.gov/vuln/detail/CVE-2025-12474
https://nvd.nist.gov/vuln/detail/CVE-2026-1837

Both CVEs have been fixed in v0.11.2, but NVD tracks these
vulnerabilities without version information.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-17 13:25:17 -07:00
Ankur Tyagi
7f3d7b7adb
libjxl: upgrade 0.11.1 -> 0.11.2
- fix tile dimension in low memory rendering pipeline (CVE-2025-12474)
- fix number of channels for gray-to-gray color transform (CVE-2026-1837)
- djxl: reject decoding JXL files if "packed" representation size overflows
    size_t

https://github.com/libjxl/libjxl/releases/tag/v0.11.2

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-02-20 23:34:17 -08:00
Markus Volk
531e60c906
libjxl: allow native build
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-01-20 08:16:57 -08:00
Ankur Tyagi
63ae47a70d
libjxl: Fix build error with arm and musl
Build fails for qemuarm with musl with following error:
/build/tmp/work/cortexa15t2hf-neon-poky-linux-musleabi/libjxl/0.11.1/sources/libjxl-0.11.1/lib/jxl/convolve_separable5.cc
| error: out of range pc-relative fixup value

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-01-12 08:53:46 -08:00
Khem Raj
8090156082
libjxl: Upgrade to 0.11.1
Use -fno-integrated-as with clang on arm architecture

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-01 15:52:04 -07:00
Alexander Kanavin
fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Khem Raj
801ea0ce14
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-17 13:58:13 -07:00
Khem Raj
a9d92adace
libjxl: Do not use -mrelax-all on RISCV with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-14 15:19:22 -07:00
Khem Raj
c1fd23eeb6
libjxl: Upgrade to 0.10.3 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-11 08:18:18 -07:00
Khem Raj
6bccd43e8f
libjxl: Turn sizeless vectors as a packageconfig option
We need to disable this on riscv64 as it results in undefined symbols
with clang especially

libjxl/0.10.2/recipe-sysroot/usr/include/hwy/ops/rvv-inl.h:591:17: error: use
of undeclared identifier '__riscv_vsetvlmax_e8mf8'
  591 | HWY_RVV_FOREACH(HWY_RVV_LANES, Lanes, setvlmax_e, _ALL)
      |                 ^

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-11 07:45:18 -07:00
Martin Jansa
24044fd3a0
libjxl: drop -mfp16-format=ieee
* causes qemuarm failure as shown in:
  http://errors.yoctoproject.org/Errors/Details/761504/
  and reported in:
  https://lists.openembedded.org/g/openembedded-devel/message/109812

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-16 11:00:33 -07:00
Khem Raj
a6bcdca5b4
highway,libjxl: Remove -mfp16-format=ieee when using clang compiler
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-03 11:23:41 -07:00
Markus Volk
322ab7587f
libjxl: add recipe
Import this recipe from meta-wayland, because it is a prerequisite
for the Gnome desktop. The recently updated gnome-backgrounds package
has converted most of the backgrounds to jxl and to keep them usable
the gdk-pixbuf-loader for jpegxl must be provided. This is included
in the libjxl package itself.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 17:54:03 -07:00