#67231 closed defect (fixed)

libjxl 0.8.1_0: build fails: compilation errors in enc_fast_lossless.cc

Reported by: ddissett (daniel dissett) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: libjxl

Description

building
libjxl @0.8.1_0
macOS
10.14.6 (18G9323)
Xcode
Version 11.3.1 (11C505)

produces errors starting at work/libjxl-0.8.1/lib/jxl/enc_fast_lossless.cc:3768 that are beyond my limited macOS development knowledge to debug.

please see attached build log

Attachments (1)

main.log (568.4 KB) - added by ddissett (daniel dissett) 19 months ago.
libjxl build log

Download all attachments as: .zip

Change History (3)

Changed 19 months ago by ddissett (daniel dissett)

Attachment: main.log added

libjxl build log

comment:1 Changed 19 months ago by jmroot (Joshua Root)

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.8.1/lib/jxl/enc_fast_lossless.cc:369:7: error: invalid cpu feature string for builtin
:info:build   if (__builtin_cpu_supports("avx512vbmi2")) {
:info:build       ^                      ~~~~~~~~~~~~~

https://github.com/libjxl/libjxl/issues/2260

comment:2 Changed 19 months ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

In 76411f0f94754089dcfe59f96b718883ca44a185/macports-ports (master):

libjxl: fix clang version checking

Closes: #67231

Note: See TracTickets for help on using tickets.