From 7ea82bc17d1583f4d9d46397846b0eb63e6651eb Mon Sep 17 00:00:00 2001 From: CharlesMengCA <58993776+CharlesMengCA@users.noreply.github.com> Date: Tue, 12 Mar 2024 00:06:14 -0400 Subject: [PATCH] kernel: config: add symbol introduced with 6.2 CONFIG_DEBUG_INFO_COMPRESSED_ZSTD, required by GCC 13.0+ Compress the debug information using zstd. This may provide better compression than zlib, for about the same time costs, but requires newer toolchain support. Requires GCC 13.0+ or Clang 16.0+, binutils 2.40+, and zstd. Signed-off-by: CharlesMengCA <58993776+CharlesMengCA@users.noreply.github.com> --- target/linux/generic/config-6.6 | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/generic/config-6.6 b/target/linux/generic/config-6.6 index 319f56fe01..db828745df 100644 --- a/target/linux/generic/config-6.6 +++ b/target/linux/generic/config-6.6 @@ -1412,6 +1412,7 @@ CONFIG_DEBUG_FS_ALLOW_ALL=y # CONFIG_DEBUG_INFO_BTF is not set CONFIG_DEBUG_INFO_COMPRESSED_NONE=y # CONFIG_DEBUG_INFO_COMPRESSED_ZLIB is not set +# CONFIG_DEBUG_INFO_COMPRESSED_ZSTD is not set # CONFIG_DEBUG_INFO_DWARF4 is not set # CONFIG_DEBUG_INFO_DWARF5 is not set CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y -- 2.30.2