lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Wed, 22 Dec 2021 01:14:50 +0800
From:   kernel test robot <lkp@...el.com>
To:     Ard Biesheuvel <ardb@...nel.org>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org,
        Frederic Weisbecker <frederic@...nel.org>
Subject: [frederic-dynticks:preempt/arm-v4 2/5] lib/Kconfig.debug:536:error:
 recursive dependency detected!

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git preempt/arm-v4
head:   6fc1c7e3d83c4e06b019b041894d9bb25f37ac6c
commit: 44d4846a007823ebf184ef1861a37362a43c6434 [2/5] arm64: implement support for static call trampolines
config: arm64-randconfig-r022-20211220
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 6c2bf01270a8a52b7986d5c49eaa7ad1c7083ec5)
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
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git/commit/?id=44d4846a007823ebf184ef1861a37362a43c6434
        git remote add frederic-dynticks https://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
        git fetch --no-tags frederic-dynticks preempt/arm-v4
        git checkout 44d4846a007823ebf184ef1861a37362a43c6434
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm64  randconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm64 

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

All errors (new ones prefixed by >>):

>> lib/Kconfig.debug:536:error: recursive dependency detected!
   lib/Kconfig.debug:536: symbol DEBUG_FS is selected by ZSMALLOC_STAT
   mm/Kconfig:705: symbol ZSMALLOC_STAT depends on ZSMALLOC
   mm/Kconfig:694: symbol ZSMALLOC is selected by ZSWAP_ZPOOL_DEFAULT_ZSMALLOC
   mm/Kconfig:644: symbol ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is part of choice <choice>
   mm/Kconfig:618: choice <choice> contains symbol <choice>
   mm/Kconfig:618: choice <choice> contains symbol ZSWAP
   mm/Kconfig:534: symbol ZSWAP depends on CRYPTO
   crypto/Kconfig:16: symbol CRYPTO is selected by SND_SOC_CROS_EC_CODEC
   sound/soc/codecs/Kconfig:583: symbol SND_SOC_CROS_EC_CODEC is selected by SND_SOC_AMD_RV_RT5682_MACH
   sound/soc/amd/Kconfig:32: symbol SND_SOC_AMD_RV_RT5682_MACH depends on GPIOLIB
   drivers/gpio/Kconfig:14: symbol GPIOLIB is selected by CEC_GPIO
   drivers/media/cec/platform/Kconfig:43: symbol CEC_GPIO depends on PREEMPTION
   kernel/Kconfig.preempt:92: symbol PREEMPTION is selected by PREEMPT_BUILD
   kernel/Kconfig.preempt:9: symbol PREEMPT_BUILD is selected by PREEMPT_DYNAMIC
   kernel/Kconfig.preempt:96: symbol PREEMPT_DYNAMIC depends on HAVE_PREEMPT_DYNAMIC
   arch/Kconfig:1266: symbol HAVE_PREEMPT_DYNAMIC depends on HAVE_STATIC_CALL
   arch/Kconfig:1259: symbol HAVE_STATIC_CALL is selected by LTO_CLANG_THIN
   arch/Kconfig:697: symbol LTO_CLANG_THIN is part of choice <choice>
   arch/Kconfig:663: choice <choice> contains symbol LTO_CLANG_FULL
   arch/Kconfig:678: symbol LTO_CLANG_FULL is part of choice HAS_LTO_CLANG
   arch/Kconfig:649: symbol HAS_LTO_CLANG depends on GCOV_KERNEL
   kernel/gcov/Kconfig:4: symbol GCOV_KERNEL depends on DEBUG_FS
   For a resolution refer to Documentation/kbuild/kconfig-language.rst
   subsection "Kconfig recursive dependency limitations"


vim +536 lib/Kconfig.debug

6210b6402f582b Changbin Du    2019-12-06  492  
6dfc06651b3d29 Dave Hansen    2013-07-01  493  config MAGIC_SYSRQ
6dfc06651b3d29 Dave Hansen    2013-07-01  494  	bool "Magic SysRq key"
6dfc06651b3d29 Dave Hansen    2013-07-01  495  	depends on !UML
6dfc06651b3d29 Dave Hansen    2013-07-01  496  	help
6dfc06651b3d29 Dave Hansen    2013-07-01  497  	  If you say Y here, you will have some control over the system even
6dfc06651b3d29 Dave Hansen    2013-07-01  498  	  if the system crashes for example during kernel debugging (e.g., you
6dfc06651b3d29 Dave Hansen    2013-07-01  499  	  will be able to flush the buffer cache to disk, reboot the system
6dfc06651b3d29 Dave Hansen    2013-07-01  500  	  immediately or dump some status information). This is accomplished
6dfc06651b3d29 Dave Hansen    2013-07-01  501  	  by pressing various keys while holding SysRq (Alt+PrintScreen). It
6dfc06651b3d29 Dave Hansen    2013-07-01  502  	  also works on a serial console (on PC hardware at least), if you
6dfc06651b3d29 Dave Hansen    2013-07-01  503  	  send a BREAK and then within 5 seconds a command keypress. The
f8998c226587fb Hans Holmberg  2017-03-16  504  	  keys are documented in <file:Documentation/admin-guide/sysrq.rst>.
f8998c226587fb Hans Holmberg  2017-03-16  505  	  Don't say Y unless you really know what this hack does.
8446f1d391f3d2 Ingo Molnar    2005-09-06  506  
8eaede49dfdc1f Ben Hutchings  2013-10-07  507  config MAGIC_SYSRQ_DEFAULT_ENABLE
8eaede49dfdc1f Ben Hutchings  2013-10-07  508  	hex "Enable magic SysRq key functions by default"
8eaede49dfdc1f Ben Hutchings  2013-10-07  509  	depends on MAGIC_SYSRQ
8eaede49dfdc1f Ben Hutchings  2013-10-07  510  	default 0x1
8eaede49dfdc1f Ben Hutchings  2013-10-07  511  	help
8eaede49dfdc1f Ben Hutchings  2013-10-07  512  	  Specifies which SysRq key functions are enabled by default.
8eaede49dfdc1f Ben Hutchings  2013-10-07  513  	  This may be set to 1 or 0 to enable or disable them all, or
f8998c226587fb Hans Holmberg  2017-03-16  514  	  to a bitmask as described in Documentation/admin-guide/sysrq.rst.
8eaede49dfdc1f Ben Hutchings  2013-10-07  515  
732dbf3a6104a3 Felix Fietkau  2016-12-22  516  config MAGIC_SYSRQ_SERIAL
732dbf3a6104a3 Felix Fietkau  2016-12-22  517  	bool "Enable magic SysRq key over serial"
732dbf3a6104a3 Felix Fietkau  2016-12-22  518  	depends on MAGIC_SYSRQ
732dbf3a6104a3 Felix Fietkau  2016-12-22  519  	default y
732dbf3a6104a3 Felix Fietkau  2016-12-22  520  	help
732dbf3a6104a3 Felix Fietkau  2016-12-22  521  	  Many embedded boards have a disconnected TTL level serial which can
732dbf3a6104a3 Felix Fietkau  2016-12-22  522  	  generate some garbage that can lead to spurious false sysrq detects.
732dbf3a6104a3 Felix Fietkau  2016-12-22  523  	  This option allows you to decide whether you want to enable the
732dbf3a6104a3 Felix Fietkau  2016-12-22  524  	  magic SysRq key.
732dbf3a6104a3 Felix Fietkau  2016-12-22  525  
68af43173d3fce Dmitry Safonov 2020-03-02  526  config MAGIC_SYSRQ_SERIAL_SEQUENCE
68af43173d3fce Dmitry Safonov 2020-03-02  527  	string "Char sequence that enables magic SysRq over serial"
68af43173d3fce Dmitry Safonov 2020-03-02  528  	depends on MAGIC_SYSRQ_SERIAL
68af43173d3fce Dmitry Safonov 2020-03-02  529  	default ""
68af43173d3fce Dmitry Safonov 2020-03-02  530  	help
68af43173d3fce Dmitry Safonov 2020-03-02  531  	  Specifies a sequence of characters that can follow BREAK to enable
68af43173d3fce Dmitry Safonov 2020-03-02  532  	  SysRq on a serial console.
68af43173d3fce Dmitry Safonov 2020-03-02  533  
d3394b3d51828d Dmitry Safonov 2020-03-06  534  	  If unsure, leave an empty string and the option will not be enabled.
d3394b3d51828d Dmitry Safonov 2020-03-06  535  
ec29a5c197e6ef Changbin Du    2019-12-06 @536  config DEBUG_FS
ec29a5c197e6ef Changbin Du    2019-12-06  537  	bool "Debug Filesystem"
ec29a5c197e6ef Changbin Du    2019-12-06  538  	help
ec29a5c197e6ef Changbin Du    2019-12-06  539  	  debugfs is a virtual file system that kernel developers use to put
ec29a5c197e6ef Changbin Du    2019-12-06  540  	  debugging files into.  Enable this option to be able to read and
ec29a5c197e6ef Changbin Du    2019-12-06  541  	  write to these files.
ec29a5c197e6ef Changbin Du    2019-12-06  542  
ec29a5c197e6ef Changbin Du    2019-12-06  543  	  For detailed documentation on the debugfs API, see
ec29a5c197e6ef Changbin Du    2019-12-06  544  	  Documentation/filesystems/.
ec29a5c197e6ef Changbin Du    2019-12-06  545  
ec29a5c197e6ef Changbin Du    2019-12-06  546  	  If unsure, say N.
ec29a5c197e6ef Changbin Du    2019-12-06  547  

:::::: The code at line 536 was first introduced by commit
:::::: ec29a5c197e6ef88fd94a2f3ea087037ae8acc21 kernel-hacking: move DEBUG_FS to 'Generic Kernel Debugging Instruments'

:::::: TO: Changbin Du <changbin.du@...il.com>
:::::: CC: Linus Torvalds <torvalds@...ux-foundation.org>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ