for_all_symbols() iterates in the symbol hash table. The order of iteration depends on the hash table implementation. If you use it for printing errors, they are shown in random order. For example, the order of following test input and the corresponding error do not match: - scripts/kconfig/tests/err_recursive_dep/Kconfig - scripts/kconfig/tests/err_recursive_dep/expected_stderr Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
38 lines
1.6 KiB
Text
38 lines
1.6 KiB
Text
Kconfig:5:error: recursive dependency detected!
|
|
Kconfig:5: symbol A depends on A
|
|
For a resolution refer to Documentation/kbuild/kconfig-language.rst
|
|
subsection "Kconfig recursive dependency limitations"
|
|
|
|
Kconfig:11:error: recursive dependency detected!
|
|
Kconfig:11: symbol B is selected by B
|
|
For a resolution refer to Documentation/kbuild/kconfig-language.rst
|
|
subsection "Kconfig recursive dependency limitations"
|
|
|
|
Kconfig:17:error: recursive dependency detected!
|
|
Kconfig:17: symbol C1 depends on C2
|
|
Kconfig:21: symbol C2 depends on C1
|
|
For a resolution refer to Documentation/kbuild/kconfig-language.rst
|
|
subsection "Kconfig recursive dependency limitations"
|
|
|
|
Kconfig:27:error: recursive dependency detected!
|
|
Kconfig:27: symbol D1 depends on D2
|
|
Kconfig:32: symbol D2 is selected by D1
|
|
For a resolution refer to Documentation/kbuild/kconfig-language.rst
|
|
subsection "Kconfig recursive dependency limitations"
|
|
|
|
Kconfig:37:error: recursive dependency detected!
|
|
Kconfig:37: symbol E1 depends on E2
|
|
Kconfig:42: symbol E2 is implied by E1
|
|
For a resolution refer to Documentation/kbuild/kconfig-language.rst
|
|
subsection "Kconfig recursive dependency limitations"
|
|
|
|
Kconfig:49:error: recursive dependency detected!
|
|
Kconfig:49: symbol F1 default value contains F2
|
|
Kconfig:51: symbol F2 depends on F1
|
|
For a resolution refer to Documentation/kbuild/kconfig-language.rst
|
|
subsection "Kconfig recursive dependency limitations"
|
|
|
|
Kconfig:60:error: recursive dependency detected!
|
|
Kconfig:60: symbol G depends on G
|
|
For a resolution refer to Documentation/kbuild/kconfig-language.rst
|
|
subsection "Kconfig recursive dependency limitations"
|