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:   Tue, 25 Jan 2022 22:12:49 +0800
From:   kernel test robot <lkp@...el.com>
To:     Nick Desaulniers <ndesaulniers@...gle.com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        GNU/Weeb Mailing List <gwml@...weeb.org>,
        linux-kernel@...r.kernel.org,
        Nathan Chancellor <nathan@...nel.org>,
        Masahiro Yamada <masahiroy@...nel.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

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@...el.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@...hat.com>
:::::: CC: Ingo Molnar <mingo@...e.hu>

---
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