error: A dwo section may not contain relocations
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 02aee814d37c563e24b73bcd0f9cb608fbd403d4 commit: f9b3cd24578401e7a392974b3353277286e49cee Kconfig.debug: make DEBUG_INFO selectable from a choice date: 1 year, 5 months ago config: riscv-randconfig-r001-20230808 (https://download.01.org/0day-ci/archive/20230809/[email protected]/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce: (https://download.01.org/0day-ci/archive/20230809/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
>> error: A dwo section may not contain relocations >> error: A dwo section may not contain relocations >> error: A dwo section may not contain relocations >> error: A dwo section may not contain relocations >> error: A dwo section may not contain relocations >> error: A dwo section may not contain relocations >> error: A dwo section may not contain relocations >> error: A dwo section may not contain relocations >> error: A dwo section may not contain relocations >> error: A dwo section may not contain relocations >> error: A dwo section may not contain relocations >> error: A dwo section may not contain relocations >> error: A dwo section may not contain relocations >> error: A dwo section may not contain relocations >> error: A dwo section may not contain relocations >> error: A dwo section may not contain relocations >> error: A dwo section may not contain relocations >> error: A dwo section may not contain relocations >> error: A dwo section may not contain relocations
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [scripts/Makefile.build:288: arch/riscv/kernel/vdso/vgettimeofday.o] Error 1 shuffle=3686795728 make[2]: Target 'include/generated/vdso-offsets.h' not remade because of errors.
make[1]: *** [arch/riscv/Makefile:120: vdso_prepare] Error 2 shuffle=3686795728
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:219: __sub-make] Error 2 shuffle=3686795728
make: Target 'prepare' not remade because of errors.
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Quoted 7 lines · kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 02aee814d37c563e24b73bcd0f9cb608fbd403d4 commit: f9b3cd24578401e7a392974b3353277286e49cee Kconfig.debug: make DEBUG_INFO selectable from a choice date: 1 year, 5 months ago config: riscv-randconfig-r001-20230808 (https://download.01.org/0day-ci/archive/20230809/[email protected]/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1)
FWIW, I wasn't able to reproduce with the provided config and clang-17. Perhaps this is a bug for older clang releases (the bot tested with clang-14).
Quoted 40 lines
reproduce: (https://download.01.org/0day-ci/archive/20230809/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/All errors (new ones prefixed by >>):
Quoted 11 lines
Quoted 11 lines
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocationsQuoted 8 lines
Quoted 8 lines
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocationsfatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [scripts/Makefile.build:288:arch/riscv/kernel/vdso/vgettimeofday.o] Error 1 shuffle=3686795728 make[2]: Target 'include/generated/vdso-offsets.h' not remade because of errors.
make[1]: *** [arch/riscv/Makefile:120:vdso_prepare] Error 2 shuffle=3686795728
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:219: __sub-make] Error 2 shuffle=3686795728
make: Target 'prepare' not remade because of errors.--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Signature · 2 lines
Thanks, ~Nick Desaulniers
Hi Nick,
Quoted 9 lines · Nick Desaulniers
Quoted 7 lines · kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 02aee814d37c563e24b73bcd0f9cb608fbd403d4 commit: f9b3cd24578401e7a392974b3353277286e49cee Kconfig.debug: make DEBUG_INFO selectable from a choice date: 1 year, 5 months ago config: riscv-randconfig-r001-20230808 (https://download.01.org/0day-ci/archive/20230809/[email protected]/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1)
Quoted 3 lines
FWIW, I wasn't able to reproduce with the provided config and clang-17. Perhaps this is a bug for older clang releases (the bot tested with clang-14).
Thanks for this info. We re-tested with various versions of clang. clang-14 throws this error, while clang-15/16/17 have no problem in this case. We will consider adjusting our compiler coverage and remove the old clang-14.
Best Regards,
Yujie
Quoted 47 lines
Quoted 40 lines
reproduce: (https://download.01.org/0day-ci/archive/20230809/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/All errors (new ones prefixed by >>):
Quoted 11 lines
Quoted 11 lines
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocationsQuoted 8 lines
Quoted 8 lines
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocationsfatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [scripts/Makefile.build:288:arch/riscv/kernel/vdso/vgettimeofday.o] Error 1 shuffle=3686795728 make[2]: Target 'include/generated/vdso-offsets.h' not remade because of errors.
make[1]: *** [arch/riscv/Makefile:120:vdso_prepare] Error 2 shuffle=3686795728
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:219: __sub-make] Error 2 shuffle=3686795728
make: Target 'prepare' not remade because of errors.--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wikiSignature · 2 lines
Thanks, ~Nick Desaulniers
Quoted 13 lines · Yujie Liu
Hi Nick,
Quoted 9 lines · Nick Desaulniers
Quoted 7 lines · kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 02aee814d37c563e24b73bcd0f9cb608fbd403d4 commit: f9b3cd24578401e7a392974b3353277286e49cee Kconfig.debug: make DEBUG_INFO selectable from a choice date: 1 year, 5 months ago config: riscv-randconfig-r001-20230808 (https://download.01.org/0day-ci/archive/20230809/[email protected]/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1)
Quoted 6 lines
Quoted 3 lines
FWIW, I wasn't able to reproduce with the provided config and clang-17. Perhaps this is a bug for older clang releases (the bot tested with clang-14).
Thanks for this info. We re-tested with various versions of clang. clang-14 throws this error, while clang-15/16/17 have no problem in this
Oh, interesting data point.
Ok, I've filed https://github.com/ClangBuiltLinux/linux/issues/1914 to track this.
Will bisect llvm to find when this was fixed.
Then we will fix kconfig for the split debug info.
Quoted 2 lines
case. We will consider adjusting our compiler coverage and remove the old clang-14.
Documentation/process/changes.rst lists our minimal support for clang-11+. It's still useful to have clang-14 builds.
Quoted 51 lines
Best Regards,
YujieQuoted 47 lines
Quoted 37 lines
reproduce: (https://download.01.org/0day-ci/archive/20230809/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/All errors (new ones prefixed by >>):
Quoted 11 lines
Quoted 11 lines
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocationsQuoted 8 lines
Quoted 8 lines
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocationsfatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [scripts/Makefile.build:288:arch/riscv/kernel/vdso/vgettimeofday.o] Error 1 shuffle=3686795728 make[2]: Target 'include/generated/vdso-offsets.h' not remade because of errors.
make[1]: *** [arch/riscv/Makefile:120:vdso_prepare] Error 2 shuffle=3686795728
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:219: __sub-make] Error 2 shuffle=3686795728
make: Target 'prepare' not remade because of errors.Quoted 3 lines
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki--
Thanks,
~Nick Desaulniers
Signature · 2 lines
Thanks, ~Nick Desaulniers
Quoted 28 lines · Nick Desaulniers
Quoted 13 lines · Yujie Liu
Hi Nick,
Quoted 9 lines · Nick Desaulniers
Quoted 7 lines · kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 02aee814d37c563e24b73bcd0f9cb608fbd403d4 commit: f9b3cd24578401e7a392974b3353277286e49cee Kconfig.debug: make DEBUG_INFO selectable from a choice date: 1 year, 5 months ago config: riscv-randconfig-r001-20230808 (https://download.01.org/0day-ci/archive/20230809/[email protected]/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1)Quoted 6 lines
Quoted 3 lines
FWIW, I wasn't able to reproduce with the provided config and clang-17. Perhaps this is a bug for older clang releases (the bot tested with clang-14).
Thanks for this info. We re-tested with various versions of clang. clang-14 throws this error, while clang-15/16/17 have no problem in this
Oh, interesting data point.
Ok, I've filed https://github.com/ClangBuiltLinux/linux/issues/1914 to track this.
Will bisect llvm to find when this was fixed.
Quoted 7 lines
Then we will fix kconfig for the split debug info.
Quoted 2 lines
case. We will consider adjusting our compiler coverage and remove the old clang-14.
Documentation/process/changes.rstlists our minimal support for clang-11+. It's still useful to have clang-14 builds.
Got it, we will keep clang-14 running, and ignore this specific error.
Quoted 59 lines
Quoted 52 lines
Best Regards,
YujieQuoted 47 lines
Quoted 37 lines
reproduce: (https://download.01.org/0day-ci/archive/20230809/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/All errors (new ones prefixed by >>):
Quoted 11 lines
Quoted 11 lines
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocationsQuoted 8 lines
Quoted 8 lines
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocations
error: A dwo section may not contain relocationsfatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [scripts/Makefile.build:288:arch/riscv/kernel/vdso/vgettimeofday.o] Error 1 shuffle=3686795728 make[2]: Target 'include/generated/vdso-offsets.h' not remade because of errors.
make[1]: *** [arch/riscv/Makefile:120:vdso_prepare] Error 2 shuffle=3686795728
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:219: __sub-make] Error 2 shuffle=3686795728
make: Target 'prepare' not remade because of errors.Quoted 3 lines
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki--
Thanks,
~Nick DesaulniersSignature · 2 lines
Thanks, ~Nick Desaulniers