lkml.org 
[lkml]   [2022]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[ammarfaizi2-block:next/linux-next/akpm 334/334] lib/Kconfig.debug:337:error: recursive dependency detected!
tree:   https://github.com/ammarfaizi2/linux-block next/linux-next/akpm
head: 4b738f94b3a6492ae5adad0940d580851fb9019b
commit: 4b738f94b3a6492ae5adad0940d580851fb9019b [334/334] Merge commit 'next-20220215~2' into tmp-akpm/master
config: hexagon-randconfig-r045-20220223
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/ammarfaizi2/linux-block/commit/4b738f94b3a6492ae5adad0940d580851fb9019b
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block next/linux-next/akpm
git checkout 4b738f94b3a6492ae5adad0940d580851fb9019b
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=hexagon randconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=hexagon

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

lib/Kconfig.debug:343:warning: choice value used outside its choice group
lib/Kconfig.debug:355:warning: choice value used outside its choice group
lib/Kconfig.debug:364:warning: choice value used outside its choice group
>> lib/Kconfig.debug:337:error: recursive dependency detected!
lib/Kconfig.debug:337: choice <choice> contains symbol DEBUG_INFO
lib/Kconfig.debug:227: symbol DEBUG_INFO is selected by DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT
lib/Kconfig.debug:253: symbol DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT is part of choice <choice>
lib/Kconfig.debug:234: choice <choice> contains symbol DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT
lib/Kconfig.debug:253: symbol DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT is part of choice <choice>
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"


vim +337 lib/Kconfig.debug

695afd3d7d58ec Sedat Dilek 2020-08-16 294
6dfc06651b3d29 Dave Hansen 2013-07-01 295 config DEBUG_INFO_REDUCED
6dfc06651b3d29 Dave Hansen 2013-07-01 296 bool "Reduce debugging information"
6dfc06651b3d29 Dave Hansen 2013-07-01 297 help
6dfc06651b3d29 Dave Hansen 2013-07-01 298 If you say Y here gcc is instructed to generate less debugging
6dfc06651b3d29 Dave Hansen 2013-07-01 299 information for structure types. This means that tools that
6dfc06651b3d29 Dave Hansen 2013-07-01 300 need full debugging information (like kgdb or systemtap) won't
6dfc06651b3d29 Dave Hansen 2013-07-01 301 be happy. But if you merely need debugging information to
6dfc06651b3d29 Dave Hansen 2013-07-01 302 resolve line numbers there is no loss. Advantage is that
6dfc06651b3d29 Dave Hansen 2013-07-01 303 build directory object sizes shrink dramatically over a full
6dfc06651b3d29 Dave Hansen 2013-07-01 304 DEBUG_INFO build and compile times are reduced too.
6dfc06651b3d29 Dave Hansen 2013-07-01 305 Only works with newer gcc versions.
6dfc06651b3d29 Dave Hansen 2013-07-01 306
10e68b02c861cc Nick Desaulniers 2020-05-26 307 config DEBUG_INFO_COMPRESSED
10e68b02c861cc Nick Desaulniers 2020-05-26 308 bool "Compressed debugging information"
10e68b02c861cc Nick Desaulniers 2020-05-26 309 depends on $(cc-option,-gz=zlib)
10e68b02c861cc Nick Desaulniers 2020-05-26 310 depends on $(ld-option,--compress-debug-sections=zlib)
10e68b02c861cc Nick Desaulniers 2020-05-26 311 help
10e68b02c861cc Nick Desaulniers 2020-05-26 312 Compress the debug information using zlib. Requires GCC 5.0+ or Clang
10e68b02c861cc Nick Desaulniers 2020-05-26 313 5.0+, binutils 2.26+, and zlib.
10e68b02c861cc Nick Desaulniers 2020-05-26 314
10e68b02c861cc Nick Desaulniers 2020-05-26 315 Users of dpkg-deb via scripts/package/builddeb may find an increase in
10e68b02c861cc Nick Desaulniers 2020-05-26 316 size of their debug .deb packages with this config set, due to the
10e68b02c861cc Nick Desaulniers 2020-05-26 317 debug info being compressed with zlib, then the object files being
10e68b02c861cc Nick Desaulniers 2020-05-26 318 recompressed with a different compression scheme. But this is still
10e68b02c861cc Nick Desaulniers 2020-05-26 319 preferable to setting $KDEB_COMPRESS to "none" which would be even
10e68b02c861cc Nick Desaulniers 2020-05-26 320 larger.
10e68b02c861cc Nick Desaulniers 2020-05-26 321
866ced950bcd54 Andi Kleen 2014-07-30 322 config DEBUG_INFO_SPLIT
866ced950bcd54 Andi Kleen 2014-07-30 323 bool "Produce split debuginfo in .dwo files"
9d9374440072eb Masahiro Yamada 2019-02-22 324 depends on $(cc-option,-gsplit-dwarf)
866ced950bcd54 Andi Kleen 2014-07-30 325 help
866ced950bcd54 Andi Kleen 2014-07-30 326 Generate debug info into separate .dwo files. This significantly
866ced950bcd54 Andi Kleen 2014-07-30 327 reduces the build directory size for builds with DEBUG_INFO,
866ced950bcd54 Andi Kleen 2014-07-30 328 because it stores the information only once on disk in .dwo
866ced950bcd54 Andi Kleen 2014-07-30 329 files instead of multiple times in object files and executables.
866ced950bcd54 Andi Kleen 2014-07-30 330 In addition the debug information is also compressed.
866ced950bcd54 Andi Kleen 2014-07-30 331
866ced950bcd54 Andi Kleen 2014-07-30 332 Requires recent gcc (4.7+) and recent gdb/binutils.
866ced950bcd54 Andi Kleen 2014-07-30 333 Any tool that packages or reads debug information would need
866ced950bcd54 Andi Kleen 2014-07-30 334 to know about the .dwo files and include them.
866ced950bcd54 Andi Kleen 2014-07-30 335 Incompatible with older versions of ccache.
866ced950bcd54 Andi Kleen 2014-07-30 336
a66049e2cf0ef1 Nick Desaulniers 2021-02-05 @337 choice
a66049e2cf0ef1 Nick Desaulniers 2021-02-05 338 prompt "DWARF version"
a66049e2cf0ef1 Nick Desaulniers 2021-02-05 339 help
a66049e2cf0ef1 Nick Desaulniers 2021-02-05 340 Which version of DWARF debug info to emit.
a66049e2cf0ef1 Nick Desaulniers 2021-02-05 341

:::::: The code at line 337 was first introduced by commit
:::::: a66049e2cf0ef166dba5bafdbb3062287fc965ad Kbuild: make DWARF version a choice

:::::: TO: Nick Desaulniers <ndesaulniers@google.com>
:::::: CC: Masahiro Yamada <masahiroy@kernel.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

\
 
 \ /
  Last update: 2022-02-24 08:10    [W:0.028 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site