Markus Volk d9c3c54344 libjxl: do not build the SVE targets on tunes without SVE
Whether Highway's SVE targets are built is decided by a compiler capability
probe that compiles a function marked __attribute__((target("+sve"))). The
attribute enables SVE for that function itself, so the probe succeeds on any
aarch64 compiler no matter what the tune supports, and the guard meant to
disable the targets never fires.

On a tune without SVE this compiles code that can never run, and gcc 16
crashes while doing so:

    lib/jxl/enc_transforms-inl.h:799:1: internal compiler error:
    in simplify_gen_subreg_concatn, at lower-subreg.cc:744

Tie the targets to TUNE_FEATURES instead, which describes the machine rather
than the compiler. 32 bit arm needs nothing: Highway gates the SVE targets on
HWY_ARCH_ARM_A64, and the probe fails there anyway because arm_sve.h does not
exist.

Built for raspberrypi4-64 (cortexa72, no SVE) from a clean state, and checked
that the x86-64 configuration is unchanged.

AI-Generated: Uses Claude Code (Claude Opus 5)
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-21 08:13:54 -07:00
2026-06-23 00:45:59 -07:00
2025-04-10 08:31:06 -07:00
2026-03-02 19:25:48 -08:00

Collection of layers for the OE-core universe

Main layer maintainer: Khem Raj raj.khem@gmail.com

This repository is a collection of layers to supplement OE-Core with additional packages, Each layer have designated maintainer Please see the respective READMEs in the layer subdirectories

S
Description
No description provided
Readme
128 MiB
Languages
BitBake 85.1%
Shell 5.6%
NASL 3.4%
C 2.6%
Roff 1.8%
Other 1.3%