From: Philip Li <philip.li@intel.com>
To: Nick Desaulniers <ndesaulniers@google.com>
Cc: Yujie Liu <yujie.liu@intel.com>,
kernel test robot <lkp@intel.com>,
"Kees Cook" <keescook@chromium.org>, <llvm@lists.linux.dev>,
<oe-kbuild-all@lists.linux.dev>, <linux-kernel@vger.kernel.org>,
"Arnd Bergmann" <arnd@arndb.de>,
Nathan Chancellor <nathan@kernel.org>,
"Masahiro Yamada" <masahiroy@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>,
Conor Dooley <conor@kernel.org>
Subject: Re: error: A dwo section may not contain relocations
Date: Wed, 16 Aug 2023 22:39:04 +0800 [thread overview]
Message-ID: <ZNzfiHjWIndfP63P@rli9-mobl> (raw)
In-Reply-To: <CAKwvOd=DC9Ws0+77=6d2M5TqnU=ygCV8HonHKMF7LzzL67z8VQ@mail.gmail.com>
On Mon, Aug 14, 2023 at 03:13:25PM -0700, Nick Desaulniers wrote:
> On Thu, Aug 10, 2023 at 1:04 AM Yujie Liu <yujie.liu@intel.com> wrote:
> >
> > Hi Nick,
> >
> > On Tue, Aug 08, 2023 at 12:46:00PM -0700, Nick Desaulniers wrote:
> > > On Tue, Aug 8, 2023 at 12:02 PM kernel test robot <lkp@intel.com> wrote:
> > > >
> > > > 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/202308090204.9yZffBWo-lkp@intel.com/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).
> >
> > 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.
>
> > 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.
Got it, we will keep clang-14 running, and ignore this specific
error.
>
> >
> > Best Regards,
> > Yujie
> >
> > > > reproduce: (https://download.01.org/0day-ci/archive/20230809/202308090204.9yZffBWo-lkp@intel.com/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 <lkp@intel.com>
> > > > | Closes: https://lore.kernel.org/oe-kbuild-all/202308090204.9yZffBWo-lkp@intel.com/
> > > >
> > > > 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.
> > > >
> > > > --
> > > > 0-DAY CI Kernel Test Service
> > > > https://github.com/intel/lkp-tests/wiki
> > >
> > >
> > >
> > > --
> > > Thanks,
> > > ~Nick Desaulniers
> > >
>
>
>
> --
> Thanks,
> ~Nick Desaulniers
>
prev parent reply other threads:[~2023-08-16 14:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-08 18:44 kernel test robot
2023-08-08 19:46 ` Nick Desaulniers
2023-08-10 7:48 ` Yujie Liu
2023-08-14 22:13 ` Nick Desaulniers
2023-08-16 14:39 ` Philip Li [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZNzfiHjWIndfP63P@rli9-mobl \
--to=philip.li@intel.com \
--cc=akpm@linux-foundation.org \
--cc=arnd@arndb.de \
--cc=conor@kernel.org \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=masahiroy@kernel.org \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=yujie.liu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox