https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117812

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2024-11-27

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
zstd support was added to libbacktrace in r13-4547-g9df1ba9a35b86e

The "Supported LTO compression algorithms: zlib zstd" lines are about using
zstd for LTO which is completely unrelated, and doesn't need
ZSTD_CLEVEL_DEFAULT

You should be looking in libbacktrace/config.log

$ grep zstd libbacktrace/config.log
Supported LTO compression algorithms: zlib zstd
Supported LTO compression algorithms: zlib zstd
configure:14006: checking for ZSTD_compress in -lzstd
configure:14057: checking whether --compress-debug-sections=zstd is supported
ac_cv_lib_zstd_ZSTD_compress=yes
libgo_cv_ld_compress_zstd=no

That's a separate check from the LTO one, done in libbacktrace/configure.ac:

AC_CHECK_LIB([zstd], [ZSTD_compress],
    [AC_DEFINE(HAVE_ZSTD, 1, [Define if -lzstd is available.])])
AM_CONDITIONAL(HAVE_ZSTD, test "$ac_cv_lib_zstd_ZSTD_compress" = yes)

Reply via email to