Skip to content

Commit

Permalink
generator: yml: Disable CONFIG_DEBUG_INFO_COMPRESSED_ZSTD in Android …
Browse files Browse the repository at this point in the history
…configs

zstd compressed debug info sections were only supported in libelf 0.189
but TuxMake's containers only have libelf 0.183, which causes build
breakage with CONFIG_DEBUG_INFO_BTF. Disable
CONFIG_DEBUG_INFO_COMPRESSED_ZSTD for Android configs now, it can be
re-enabled when TuxMake has a version of libelf that supports these
sections.

Link: ClangBuiltLinux#716
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
  • Loading branch information
nathanchance committed Feb 27, 2024
1 parent 580cd2c commit 019d8c2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions generator/yml/0007-configs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ configs:
- &arm64_kasan {<< : *arm64-kasan-configs, ARCH: *arm64-arch, << : *kernel}
- &arm64_kasan_sw {<< : *arm64-kasan-sw-configs, ARCH: *arm64-arch, << : *kernel}
- &arm64_ubsan {config: [defconfig, CONFIG_UBSAN=y], ARCH: *arm64-arch, << : *kernel}
- &arm64_gki {config: gki_defconfig, ARCH: *arm64-arch, << : *kernel}
# https://github.com/ClangBuiltLinux/continuous-integration2/issues/716
- &arm64_gki {config: [gki_defconfig, CONFIG_DEBUG_INFO_COMPRESSED_ZSTD=n], ARCH: *arm64-arch, << : *kernel}
- &arm64_cut {config: cuttlefish_defconfig, ARCH: *arm64-arch, << : *kernel}
- &arm64_allmod {config: allmodconfig, ARCH: *arm64-arch, << : *default}
- &arm64_allmod_lto {config: [allmodconfig, CONFIG_GCOV_KERNEL=n, CONFIG_KASAN=n, CONFIG_LTO_CLANG_THIN=y], ARCH: *arm64-arch, << : *default}
Expand Down Expand Up @@ -87,7 +88,8 @@ configs:
- &x86_64_cfi {config: [defconfig, CONFIG_CFI_CLANG=y], << : *kernel}
- &x86_64_cfi_lto {config: [defconfig, CONFIG_CFI_CLANG=y, CONFIG_LTO_CLANG_THIN=y], << : *kernel}
- &x86_64_cros {<< : *x86_64-cros-configs, << : *kernel}
- &x86_64_gki {config: gki_defconfig, << : *kernel}
# https://github.com/ClangBuiltLinux/continuous-integration2/issues/716
- &x86_64_gki {config: [gki_defconfig, CONFIG_DEBUG_INFO_COMPRESSED_ZSTD=n], << : *kernel}
- &x86_64_cut {config: x86_64_cuttlefish_defconfig, << : *kernel}
- &x86_64_allmod {config: allmodconfig, << : *default}
- &x86_64_allmod_lto {config: [allmodconfig, CONFIG_GCOV_KERNEL=n, CONFIG_KASAN=n, CONFIG_LTO_CLANG_THIN=y], << : *default}
Expand Down

0 comments on commit 019d8c2

Please sign in to comment.