* [linux-next:master 6296/7172] ERROR: modpost: "kvm_spurious_fault" [arch/x86/kvm/kvm-intel.ko] undefined!
@ 2022-09-15 1:36 kernel test robot
2022-09-15 3:39 ` Masahiro Yamada
0 siblings, 1 reply; 8+ messages in thread
From: kernel test robot @ 2022-09-15 1:36 UTC (permalink / raw)
To: Masahiro Yamada; +Cc: llvm, kbuild-all, Linux Memory Management List
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: f117c01187301a087412bd6697fcf5463cb427d8
commit: 6676e2cdd7c339dc40331faccbaac1112d2c1d78 [6296/7172] kbuild: use obj-y instead extra-y for objects placed at the head
config: i386-randconfig-a002 (https://download.01.org/0day-ci/archive/20220915/202209150959.hEWCNjXH-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=6676e2cdd7c339dc40331faccbaac1112d2c1d78
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 6676e2cdd7c339dc40331faccbaac1112d2c1d78
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> ERROR: modpost: "kvm_spurious_fault" [arch/x86/kvm/kvm-intel.ko] undefined!
>> ERROR: modpost: "___ratelimit" [arch/x86/kvm/kvm-intel.ko] undefined!
>> ERROR: modpost: "_printk" [arch/x86/kvm/kvm-intel.ko] undefined!
>> ERROR: modpost: "__warn_printk" [arch/x86/kvm/kvm-intel.ko] undefined!
>> ERROR: modpost: "kvm_find_user_return_msr" [arch/x86/kvm/kvm-intel.ko] undefined!
>> ERROR: modpost: "__ubsan_handle_out_of_bounds" [arch/x86/kvm/kvm-intel.ko] undefined!
>> ERROR: modpost: "smp_call_function_single" [arch/x86/kvm/kvm-intel.ko] undefined!
>> ERROR: modpost: "cpu_number" [arch/x86/kvm/kvm-intel.ko] undefined!
>> ERROR: modpost: "__per_cpu_offset" [arch/x86/kvm/kvm-intel.ko] undefined!
>> ERROR: modpost: "__phys_addr" [arch/x86/kvm/kvm-intel.ko] undefined!
WARNING: modpost: suppressed 34935 unresolved symbol warnings because there were too many)
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-next:master 6296/7172] ERROR: modpost: "kvm_spurious_fault" [arch/x86/kvm/kvm-intel.ko] undefined! 2022-09-15 1:36 [linux-next:master 6296/7172] ERROR: modpost: "kvm_spurious_fault" [arch/x86/kvm/kvm-intel.ko] undefined! kernel test robot @ 2022-09-15 3:39 ` Masahiro Yamada 0 siblings, 0 replies; 8+ messages in thread From: Masahiro Yamada @ 2022-09-15 3:39 UTC (permalink / raw) To: kernel test robot Cc: clang-built-linux, kbuild-all, Linux Memory Management List On Thu, Sep 15, 2022 at 10:37 AM kernel test robot <lkp@intel.com> wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: f117c01187301a087412bd6697fcf5463cb427d8 > commit: 6676e2cdd7c339dc40331faccbaac1112d2c1d78 [6296/7172] kbuild: use obj-y instead extra-y for objects placed at the head > config: i386-randconfig-a002 (https://download.01.org/0day-ci/archive/20220915/202209150959.hEWCNjXH-lkp@intel.com/config) > compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) > 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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=6676e2cdd7c339dc40331faccbaac1112d2c1d78 > git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > git fetch --no-tags linux-next master > git checkout 6676e2cdd7c339dc40331faccbaac1112d2c1d78 > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash > > If you fix the issue, kindly add following tag where applicable > Reported-by: kernel test robot <lkp@intel.com> > > All errors (new ones prefixed by >>, old ones prefixed by <<): > > >> ERROR: modpost: "kvm_spurious_fault" [arch/x86/kvm/kvm-intel.ko] undefined! > >> ERROR: modpost: "___ratelimit" [arch/x86/kvm/kvm-intel.ko] undefined! > >> ERROR: modpost: "_printk" [arch/x86/kvm/kvm-intel.ko] undefined! > >> ERROR: modpost: "__warn_printk" [arch/x86/kvm/kvm-intel.ko] undefined! > >> ERROR: modpost: "kvm_find_user_return_msr" [arch/x86/kvm/kvm-intel.ko] undefined! > >> ERROR: modpost: "__ubsan_handle_out_of_bounds" [arch/x86/kvm/kvm-intel.ko] undefined! > >> ERROR: modpost: "smp_call_function_single" [arch/x86/kvm/kvm-intel.ko] undefined! > >> ERROR: modpost: "cpu_number" [arch/x86/kvm/kvm-intel.ko] undefined! > >> ERROR: modpost: "__per_cpu_offset" [arch/x86/kvm/kvm-intel.ko] undefined! > >> ERROR: modpost: "__phys_addr" [arch/x86/kvm/kvm-intel.ko] undefined! > WARNING: modpost: suppressed 34935 unresolved symbol warnings because there were too many) Sorry, I cannot reproduce this. Seeing the full log might be helpful. > -- > 0-DAY CI Kernel Test Service > https://01.org/lkp -- Best Regards Masahiro Yamada ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-next:master 6296/7172] ERROR: modpost: "kvm_spurious_fault" [arch/x86/kvm/kvm-intel.ko] undefined! @ 2022-09-15 3:39 ` Masahiro Yamada 0 siblings, 0 replies; 8+ messages in thread From: Masahiro Yamada @ 2022-09-15 3:39 UTC (permalink / raw) To: kbuild-all [-- Attachment #1: Type: text/plain, Size: 2606 bytes --] On Thu, Sep 15, 2022 at 10:37 AM kernel test robot <lkp@intel.com> wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: f117c01187301a087412bd6697fcf5463cb427d8 > commit: 6676e2cdd7c339dc40331faccbaac1112d2c1d78 [6296/7172] kbuild: use obj-y instead extra-y for objects placed at the head > config: i386-randconfig-a002 (https://download.01.org/0day-ci/archive/20220915/202209150959.hEWCNjXH-lkp(a)intel.com/config) > compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) > 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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=6676e2cdd7c339dc40331faccbaac1112d2c1d78 > git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > git fetch --no-tags linux-next master > git checkout 6676e2cdd7c339dc40331faccbaac1112d2c1d78 > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash > > If you fix the issue, kindly add following tag where applicable > Reported-by: kernel test robot <lkp@intel.com> > > All errors (new ones prefixed by >>, old ones prefixed by <<): > > >> ERROR: modpost: "kvm_spurious_fault" [arch/x86/kvm/kvm-intel.ko] undefined! > >> ERROR: modpost: "___ratelimit" [arch/x86/kvm/kvm-intel.ko] undefined! > >> ERROR: modpost: "_printk" [arch/x86/kvm/kvm-intel.ko] undefined! > >> ERROR: modpost: "__warn_printk" [arch/x86/kvm/kvm-intel.ko] undefined! > >> ERROR: modpost: "kvm_find_user_return_msr" [arch/x86/kvm/kvm-intel.ko] undefined! > >> ERROR: modpost: "__ubsan_handle_out_of_bounds" [arch/x86/kvm/kvm-intel.ko] undefined! > >> ERROR: modpost: "smp_call_function_single" [arch/x86/kvm/kvm-intel.ko] undefined! > >> ERROR: modpost: "cpu_number" [arch/x86/kvm/kvm-intel.ko] undefined! > >> ERROR: modpost: "__per_cpu_offset" [arch/x86/kvm/kvm-intel.ko] undefined! > >> ERROR: modpost: "__phys_addr" [arch/x86/kvm/kvm-intel.ko] undefined! > WARNING: modpost: suppressed 34935 unresolved symbol warnings because there were too many) Sorry, I cannot reproduce this. Seeing the full log might be helpful. > -- > 0-DAY CI Kernel Test Service > https://01.org/lkp -- Best Regards Masahiro Yamada ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [kbuild-all] Re: [linux-next:master 6296/7172] ERROR: modpost: "kvm_spurious_fault" [arch/x86/kvm/kvm-intel.ko] undefined! 2022-09-15 3:39 ` Masahiro Yamada (?) @ 2022-09-16 6:37 ` Chen, Rong A 2022-09-16 19:00 ` Nathan Chancellor -1 siblings, 1 reply; 8+ messages in thread From: Chen, Rong A @ 2022-09-16 6:37 UTC (permalink / raw) To: Masahiro Yamada, kernel test robot Cc: clang-built-linux, kbuild-all, Linux Memory Management List On 9/15/2022 11:39 AM, Masahiro Yamada wrote: > On Thu, Sep 15, 2022 at 10:37 AM kernel test robot <lkp@intel.com> wrote: >> >> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master >> head: f117c01187301a087412bd6697fcf5463cb427d8 >> commit: 6676e2cdd7c339dc40331faccbaac1112d2c1d78 [6296/7172] kbuild: use obj-y instead extra-y for objects placed at the head >> config: i386-randconfig-a002 (https://download.01.org/0day-ci/archive/20220915/202209150959.hEWCNjXH-lkp@intel.com/config) >> compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) >> 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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=6676e2cdd7c339dc40331faccbaac1112d2c1d78 >> git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git >> git fetch --no-tags linux-next master >> git checkout 6676e2cdd7c339dc40331faccbaac1112d2c1d78 >> # save the config file >> mkdir build_dir && cp config build_dir/.config >> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash >> >> If you fix the issue, kindly add following tag where applicable >> Reported-by: kernel test robot <lkp@intel.com> >> >> All errors (new ones prefixed by >>, old ones prefixed by <<): >> >>>> ERROR: modpost: "kvm_spurious_fault" [arch/x86/kvm/kvm-intel.ko] undefined! >>>> ERROR: modpost: "___ratelimit" [arch/x86/kvm/kvm-intel.ko] undefined! >>>> ERROR: modpost: "_printk" [arch/x86/kvm/kvm-intel.ko] undefined! >>>> ERROR: modpost: "__warn_printk" [arch/x86/kvm/kvm-intel.ko] undefined! >>>> ERROR: modpost: "kvm_find_user_return_msr" [arch/x86/kvm/kvm-intel.ko] undefined! >>>> ERROR: modpost: "__ubsan_handle_out_of_bounds" [arch/x86/kvm/kvm-intel.ko] undefined! >>>> ERROR: modpost: "smp_call_function_single" [arch/x86/kvm/kvm-intel.ko] undefined! >>>> ERROR: modpost: "cpu_number" [arch/x86/kvm/kvm-intel.ko] undefined! >>>> ERROR: modpost: "__per_cpu_offset" [arch/x86/kvm/kvm-intel.ko] undefined! >>>> ERROR: modpost: "__phys_addr" [arch/x86/kvm/kvm-intel.ko] undefined! >> WARNING: modpost: suppressed 34935 unresolved symbol warnings because there were too many) > > > > > > Sorry, I cannot reproduce this. > Seeing the full log might be helpful. Hi Masahiro, Sorry for the inconvenience, the error can be found with clang-14, but no error with clang-15, it shouldn't be a kernel issue. Best Regards, Rong Chen > > > > > >> -- >> 0-DAY CI Kernel Test Service >> https://01.org/lkp > > > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [kbuild-all] Re: [linux-next:master 6296/7172] ERROR: modpost: "kvm_spurious_fault" [arch/x86/kvm/kvm-intel.ko] undefined! 2022-09-16 6:37 ` [kbuild-all] " Chen, Rong A @ 2022-09-16 19:00 ` Nathan Chancellor 0 siblings, 0 replies; 8+ messages in thread From: Nathan Chancellor @ 2022-09-16 19:00 UTC (permalink / raw) To: Chen, Rong A Cc: Masahiro Yamada, kernel test robot, clang-built-linux, kbuild-all, Linux Memory Management List On Fri, Sep 16, 2022 at 02:37:23PM +0800, Chen, Rong A wrote: > > > On 9/15/2022 11:39 AM, Masahiro Yamada wrote: > > On Thu, Sep 15, 2022 at 10:37 AM kernel test robot <lkp@intel.com> wrote: > > > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > > > head: f117c01187301a087412bd6697fcf5463cb427d8 > > > commit: 6676e2cdd7c339dc40331faccbaac1112d2c1d78 [6296/7172] kbuild: use obj-y instead extra-y for objects placed at the head > > > config: i386-randconfig-a002 (https://download.01.org/0day-ci/archive/20220915/202209150959.hEWCNjXH-lkp@intel.com/config) > > > compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) > > > 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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=6676e2cdd7c339dc40331faccbaac1112d2c1d78 > > > git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > > > git fetch --no-tags linux-next master > > > git checkout 6676e2cdd7c339dc40331faccbaac1112d2c1d78 > > > # save the config file > > > mkdir build_dir && cp config build_dir/.config > > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash > > > > > > If you fix the issue, kindly add following tag where applicable > > > Reported-by: kernel test robot <lkp@intel.com> > > > > > > All errors (new ones prefixed by >>, old ones prefixed by <<): > > > > > > > > ERROR: modpost: "kvm_spurious_fault" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "___ratelimit" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "_printk" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "__warn_printk" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "kvm_find_user_return_msr" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "__ubsan_handle_out_of_bounds" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "smp_call_function_single" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "cpu_number" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "__per_cpu_offset" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "__phys_addr" [arch/x86/kvm/kvm-intel.ko] undefined! > > > WARNING: modpost: suppressed 34935 unresolved symbol warnings because there were too many) > > > > > > > > > > > > Sorry, I cannot reproduce this. > > Seeing the full log might be helpful. > > Hi Masahiro, > > Sorry for the inconvenience, the error can be found with clang-14, > but no error with clang-15, it shouldn't be a kernel issue. We do still want the kernel to build with clang-14 though so this will require some further investigation. I probably won't be able to get to it today but I can try to double back on Monday to see what is going on here unless Masahiro beats me to it. Cheers, Nathan ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-next:master 6296/7172] ERROR: modpost: "kvm_spurious_fault" [arch/x86/kvm/kvm-intel.ko] undefined! @ 2022-09-16 19:00 ` Nathan Chancellor 0 siblings, 0 replies; 8+ messages in thread From: Nathan Chancellor @ 2022-09-16 19:00 UTC (permalink / raw) To: kbuild-all [-- Attachment #1: Type: text/plain, Size: 3234 bytes --] On Fri, Sep 16, 2022 at 02:37:23PM +0800, Chen, Rong A wrote: > > > On 9/15/2022 11:39 AM, Masahiro Yamada wrote: > > On Thu, Sep 15, 2022 at 10:37 AM kernel test robot <lkp@intel.com> wrote: > > > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > > > head: f117c01187301a087412bd6697fcf5463cb427d8 > > > commit: 6676e2cdd7c339dc40331faccbaac1112d2c1d78 [6296/7172] kbuild: use obj-y instead extra-y for objects placed at the head > > > config: i386-randconfig-a002 (https://download.01.org/0day-ci/archive/20220915/202209150959.hEWCNjXH-lkp(a)intel.com/config) > > > compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) > > > 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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=6676e2cdd7c339dc40331faccbaac1112d2c1d78 > > > git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > > > git fetch --no-tags linux-next master > > > git checkout 6676e2cdd7c339dc40331faccbaac1112d2c1d78 > > > # save the config file > > > mkdir build_dir && cp config build_dir/.config > > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash > > > > > > If you fix the issue, kindly add following tag where applicable > > > Reported-by: kernel test robot <lkp@intel.com> > > > > > > All errors (new ones prefixed by >>, old ones prefixed by <<): > > > > > > > > ERROR: modpost: "kvm_spurious_fault" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "___ratelimit" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "_printk" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "__warn_printk" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "kvm_find_user_return_msr" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "__ubsan_handle_out_of_bounds" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "smp_call_function_single" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "cpu_number" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "__per_cpu_offset" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > ERROR: modpost: "__phys_addr" [arch/x86/kvm/kvm-intel.ko] undefined! > > > WARNING: modpost: suppressed 34935 unresolved symbol warnings because there were too many) > > > > > > > > > > > > Sorry, I cannot reproduce this. > > Seeing the full log might be helpful. > > Hi Masahiro, > > Sorry for the inconvenience, the error can be found with clang-14, > but no error with clang-15, it shouldn't be a kernel issue. We do still want the kernel to build with clang-14 though so this will require some further investigation. I probably won't be able to get to it today but I can try to double back on Monday to see what is going on here unless Masahiro beats me to it. Cheers, Nathan ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [kbuild-all] Re: [linux-next:master 6296/7172] ERROR: modpost: "kvm_spurious_fault" [arch/x86/kvm/kvm-intel.ko] undefined! 2022-09-16 19:00 ` Nathan Chancellor @ 2022-09-19 21:46 ` Nathan Chancellor -1 siblings, 0 replies; 8+ messages in thread From: Nathan Chancellor @ 2022-09-19 21:46 UTC (permalink / raw) To: Masahiro Yamada Cc: Chen, Rong A, kernel test robot, clang-built-linux, kbuild-all, Linux Memory Management List On Fri, Sep 16, 2022 at 12:00:52PM -0700, Nathan Chancellor wrote: > On Fri, Sep 16, 2022 at 02:37:23PM +0800, Chen, Rong A wrote: > > > > > > On 9/15/2022 11:39 AM, Masahiro Yamada wrote: > > > On Thu, Sep 15, 2022 at 10:37 AM kernel test robot <lkp@intel.com> wrote: > > > > > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > > > > head: f117c01187301a087412bd6697fcf5463cb427d8 > > > > commit: 6676e2cdd7c339dc40331faccbaac1112d2c1d78 [6296/7172] kbuild: use obj-y instead extra-y for objects placed at the head > > > > config: i386-randconfig-a002 (https://download.01.org/0day-ci/archive/20220915/202209150959.hEWCNjXH-lkp@intel.com/config) > > > > compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) > > > > 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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=6676e2cdd7c339dc40331faccbaac1112d2c1d78 > > > > git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > > > > git fetch --no-tags linux-next master > > > > git checkout 6676e2cdd7c339dc40331faccbaac1112d2c1d78 > > > > # save the config file > > > > mkdir build_dir && cp config build_dir/.config > > > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash > > > > > > > > If you fix the issue, kindly add following tag where applicable > > > > Reported-by: kernel test robot <lkp@intel.com> > > > > > > > > All errors (new ones prefixed by >>, old ones prefixed by <<): > > > > > > > > > > ERROR: modpost: "kvm_spurious_fault" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > > ERROR: modpost: "___ratelimit" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > > ERROR: modpost: "_printk" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > > ERROR: modpost: "__warn_printk" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > > ERROR: modpost: "kvm_find_user_return_msr" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > > ERROR: modpost: "__ubsan_handle_out_of_bounds" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > > ERROR: modpost: "smp_call_function_single" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > > ERROR: modpost: "cpu_number" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > > ERROR: modpost: "__per_cpu_offset" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > > ERROR: modpost: "__phys_addr" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > WARNING: modpost: suppressed 34935 unresolved symbol warnings because there were too many) > > > > > > > > > > > > > > > > > > Sorry, I cannot reproduce this. > > > Seeing the full log might be helpful. > > > > Hi Masahiro, > > > > Sorry for the inconvenience, the error can be found with clang-14, > > but no error with clang-15, it shouldn't be a kernel issue. > > We do still want the kernel to build with clang-14 though so this will > require some further investigation. I probably won't be able to get to > it today but I can try to double back on Monday to see what is going on > here unless Masahiro beats me to it. My reverse bisect tells me that LLVM commit d17c54d17de2 ("[llvm-ar] Prevent automatic conversion from thin to full archive") in LLVM 15 resolves this problem. It appears that prior to that change, 'llvm-ar m' without 'T' will change the archive type to full. The following diff resolves this problem for me with no additional failures on LLVM 14 and 16. Masahiro, is this an acceptable change to squash in to 6676e2cdd7c339d? Cheers, Nathan diff --git a/Makefile b/Makefile index ebd48fc956a3..f3c0ac66cf98 100644 --- a/Makefile +++ b/Makefile @@ -1236,7 +1236,7 @@ quiet_cmd_ar_vmlinux.a = AR $@ cmd_ar_vmlinux.a = \ rm -f $@; \ $(AR) cDPrST $@ $(KBUILD_VMLINUX_OBJS); \ - $(AR) mPi $$($(AR) t $@ | head -n1) $@ $$($(AR) t $@ | grep -F --file=$(srctree)/scripts/head-object-list.txt) + $(AR) mPiT $$($(AR) t $@ | head -n1) $@ $$($(AR) t $@ | grep -F --file=$(srctree)/scripts/head-object-list.txt) targets += vmlinux.a vmlinux.a: $(KBUILD_VMLINUX_OBJS) scripts/head-object-list.txt FORCE ^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [linux-next:master 6296/7172] ERROR: modpost: "kvm_spurious_fault" [arch/x86/kvm/kvm-intel.ko] undefined! @ 2022-09-19 21:46 ` Nathan Chancellor 0 siblings, 0 replies; 8+ messages in thread From: Nathan Chancellor @ 2022-09-19 21:46 UTC (permalink / raw) To: kbuild-all [-- Attachment #1: Type: text/plain, Size: 4433 bytes --] On Fri, Sep 16, 2022 at 12:00:52PM -0700, Nathan Chancellor wrote: > On Fri, Sep 16, 2022 at 02:37:23PM +0800, Chen, Rong A wrote: > > > > > > On 9/15/2022 11:39 AM, Masahiro Yamada wrote: > > > On Thu, Sep 15, 2022 at 10:37 AM kernel test robot <lkp@intel.com> wrote: > > > > > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > > > > head: f117c01187301a087412bd6697fcf5463cb427d8 > > > > commit: 6676e2cdd7c339dc40331faccbaac1112d2c1d78 [6296/7172] kbuild: use obj-y instead extra-y for objects placed at the head > > > > config: i386-randconfig-a002 (https://download.01.org/0day-ci/archive/20220915/202209150959.hEWCNjXH-lkp(a)intel.com/config) > > > > compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) > > > > 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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=6676e2cdd7c339dc40331faccbaac1112d2c1d78 > > > > git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > > > > git fetch --no-tags linux-next master > > > > git checkout 6676e2cdd7c339dc40331faccbaac1112d2c1d78 > > > > # save the config file > > > > mkdir build_dir && cp config build_dir/.config > > > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash > > > > > > > > If you fix the issue, kindly add following tag where applicable > > > > Reported-by: kernel test robot <lkp@intel.com> > > > > > > > > All errors (new ones prefixed by >>, old ones prefixed by <<): > > > > > > > > > > ERROR: modpost: "kvm_spurious_fault" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > > ERROR: modpost: "___ratelimit" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > > ERROR: modpost: "_printk" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > > ERROR: modpost: "__warn_printk" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > > ERROR: modpost: "kvm_find_user_return_msr" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > > ERROR: modpost: "__ubsan_handle_out_of_bounds" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > > ERROR: modpost: "smp_call_function_single" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > > ERROR: modpost: "cpu_number" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > > ERROR: modpost: "__per_cpu_offset" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > > > ERROR: modpost: "__phys_addr" [arch/x86/kvm/kvm-intel.ko] undefined! > > > > WARNING: modpost: suppressed 34935 unresolved symbol warnings because there were too many) > > > > > > > > > > > > > > > > > > Sorry, I cannot reproduce this. > > > Seeing the full log might be helpful. > > > > Hi Masahiro, > > > > Sorry for the inconvenience, the error can be found with clang-14, > > but no error with clang-15, it shouldn't be a kernel issue. > > We do still want the kernel to build with clang-14 though so this will > require some further investigation. I probably won't be able to get to > it today but I can try to double back on Monday to see what is going on > here unless Masahiro beats me to it. My reverse bisect tells me that LLVM commit d17c54d17de2 ("[llvm-ar] Prevent automatic conversion from thin to full archive") in LLVM 15 resolves this problem. It appears that prior to that change, 'llvm-ar m' without 'T' will change the archive type to full. The following diff resolves this problem for me with no additional failures on LLVM 14 and 16. Masahiro, is this an acceptable change to squash in to 6676e2cdd7c339d? Cheers, Nathan diff --git a/Makefile b/Makefile index ebd48fc956a3..f3c0ac66cf98 100644 --- a/Makefile +++ b/Makefile @@ -1236,7 +1236,7 @@ quiet_cmd_ar_vmlinux.a = AR $@ cmd_ar_vmlinux.a = \ rm -f $@; \ $(AR) cDPrST $@ $(KBUILD_VMLINUX_OBJS); \ - $(AR) mPi $$($(AR) t $@ | head -n1) $@ $$($(AR) t $@ | grep -F --file=$(srctree)/scripts/head-object-list.txt) + $(AR) mPiT $$($(AR) t $@ | head -n1) $@ $$($(AR) t $@ | grep -F --file=$(srctree)/scripts/head-object-list.txt) targets += vmlinux.a vmlinux.a: $(KBUILD_VMLINUX_OBJS) scripts/head-object-list.txt FORCE ^ permalink raw reply related [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-09-19 21:46 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-09-15 1:36 [linux-next:master 6296/7172] ERROR: modpost: "kvm_spurious_fault" [arch/x86/kvm/kvm-intel.ko] undefined! kernel test robot 2022-09-15 3:39 ` Masahiro Yamada 2022-09-15 3:39 ` Masahiro Yamada 2022-09-16 6:37 ` [kbuild-all] " Chen, Rong A 2022-09-16 19:00 ` Nathan Chancellor 2022-09-16 19:00 ` Nathan Chancellor 2022-09-19 21:46 ` [kbuild-all] " Nathan Chancellor 2022-09-19 21:46 ` Nathan Chancellor
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.