Skip to content

Conversation

@Locke
Copy link

@Locke Locke commented Dec 29, 2025

This adds the LLVM toolchain on GNU/Linux for #29 and is based on #42.

The selection of LLVM 14 & 19 is arbitrary, and can of course be extended with more versions.
I've selected those as they are in Debian 12 Bookworm (oldstable) and Debian 13 Trixie (stable).

Marked as draft, as this is currently failing with a type warning and linker error:

/home/runner/work/FreeImageRe/FreeImageRe/dependencies/heif/source/libheif/plugins/encoder_svt.cc:866:23: warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
      uint8_t val = 1 << (bitdepth_y - 1);
              ~~~   ~~^~~~~~~~~~~~~~~~~~~
/home/runner/work/FreeImageRe/FreeImageRe/dependencies/heif/source/libheif/plugins/encoder_svt.cc:871:24: warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
      uint16_t val = 1 << (bitdepth_y - 1);
               ~~~   ~~^~~~~~~~~~~~~~~~~~~
2 warnings generated.
[...]
/usr/bin/ld: /home/runner/work/FreeImageRe/FreeImageRe/build/svtav1/install/lib/libSvtAv1Enc.a: error adding symbols: file format not recognized
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant