llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Nick Desaulniers <ndesaulniers@google.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	GNU/Weeb Mailing List <gwml@gnuweeb.org>,
	linux-kernel@vger.kernel.org,
	Nathan Chancellor <nathan@kernel.org>,
	Masahiro Yamada <masahiroy@kernel.org>
Subject: [ammarfaizi2-block:google/android/kernel/common/android13-5.10 9998/9999] arch/x86/entry/entry_32.S:52:2: warning: DWARF2 only supports one section per compilation unit
Date: Tue, 25 Jan 2022 22:12:49 +0800	[thread overview]
Message-ID: <202201252238.tTDAQpum-lkp@intel.com> (raw)

Hi Nick,

First bad commit (maybe != root cause):

tree:   https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android13-5.10
head:   e48efff5cb5fd63a687465347bdbb52ef98dad44
commit: ffff118fe157b534c3244f8b300e655231dbd95c [9998/9999] BACKPORT: scripts/Makefile.clang: default to LLVM_IAS=1
config: i386-randconfig-r025-20220124 (https://download.01.org/0day-ci/archive/20220125/202201252238.tTDAQpum-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 997e128e2a78f5a5434fc75997441ae1ee76f8a4)
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/ffff118fe157b534c3244f8b300e655231dbd95c
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android13-5.10
        git checkout ffff118fe157b534c3244f8b300e655231dbd95c
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/

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

All warnings (new ones prefixed by >>):

>> arch/x86/entry/entry_32.S:52:2: warning: DWARF2 only supports one section per compilation unit
    .section .entry.text, "ax"
    ^
>> <instantiation>:11:2: warning: DWARF2 only supports one section per compilation unit
    .pushsection .altinstr_replacement,"ax"
    ^
   <instantiation>:1:1: note: while in macro instantiation
   ALTERNATIVE "jmp .Lend_25", "", ( 7*32+11)
   ^
   <instantiation>:4:2: note: while in macro instantiation
    SWITCH_TO_KERNEL_CR3 scratch_reg=%eax
    ^
   <instantiation>:33:2: note: while in macro instantiation
    SWITCH_TO_KERNEL_STACK
    ^
   <instantiation>:4:2: note: while in macro instantiation
    SAVE_ALL switch_stacks=1
    ^
   arch/x86/include/asm/idtentry.h:626:1: note: while in macro instantiation
   idtentry_irq 0xFFFF common_interrupt;
   ^
   arch/x86/entry/entry_32.S:1010:1: warning: DWARF2 only supports one section per compilation unit
   .pushsection .fixup, "ax"
   ^
--
>> arch/x86/kernel/head_32.S:66:1: warning: DWARF2 only supports one section per compilation unit
   .section ".head.text","ax"
   ^
   arch/x86/kernel/head_32.S:340:1: warning: DWARF2 only supports one section per compilation unit
   .section ".init.text","ax"
   ^
--
>> <instantiation>:11:2: warning: DWARF2 only supports one section per compilation unit
    .pushsection .altinstr_replacement,"ax"
    ^
   arch/x86/entry/vdso/vdso32/system_call.S:60:2: note: while in macro instantiation
    ALTERNATIVE "", "movl %esp, %ebp; sysenter", ( 0*32+11)
    ^


vim +52 arch/x86/entry/entry_32.S

afaef01c001537 arch/x86/entry/entry_32.S  Alexander Popov 2018-08-17  51  
ea7145477a461e arch/x86/kernel/entry_32.S Jiri Olsa       2011-03-07 @52  	.section .entry.text, "ax"
ea7145477a461e arch/x86/kernel/entry_32.S Jiri Olsa       2011-03-07  53  

:::::: The code at line 52 was first introduced by commit
:::::: ea7145477a461e09d8d194cac4b996dc4f449107 x86: Separate out entry text section

:::::: TO: Jiri Olsa <jolsa@redhat.com>
:::::: CC: Ingo Molnar <mingo@elte.hu>

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

                 reply	other threads:[~2022-01-25 14:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202201252238.tTDAQpum-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=gwml@gnuweeb.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=masahiroy@kernel.org \
    --cc=nathan@kernel.org \
    --cc=ndesaulniers@google.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;
as well as URLs for NNTP newsgroup(s).