linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [peterz-queue:x86/wip.extable 16/23] /bin/bash: line 1: 42740 Segmentation fault      ld.lld -m elf_i386 --thinlto-cache-dir=.thinlto-cache -mllvm -import-instr-limit=5 -r -o arch/x86/kvm/kvm-intel.lto.o --whole-archive arch/x86/kvm/kvm-intel.o
@ 2021-11-20 12:27 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-20 12:27 UTC (permalink / raw)
  To: Peter Zijlstra; +Cc: llvm, kbuild-all, linux-kernel, Josh Poimboeuf

[-- Attachment #1: Type: text/plain, Size: 10774 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/wip.extable
head:   bc9a86e8214a99a913d4d2fa3b55afc3be18ec05
commit: 33f93cdce64cb6fa8d2fc2bef5d4a8b59e582619 [16/23] x86/vmx: Provide asm-goto-output vmread
config: i386-buildonly-randconfig-r001-20211118 (attached as .config)
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/peterz/queue.git/commit/?id=33f93cdce64cb6fa8d2fc2bef5d4a8b59e582619
        git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
        git fetch --no-tags peterz-queue x86/wip.extable
        git checkout 33f93cdce64cb6fa8d2fc2bef5d4a8b59e582619
        # save the attached .config 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 errors (new ones prefixed by >>):

   PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
   Stack dump:
   0.	Running pass 'Function Pass Manager' on module 'arch/x86/kvm/kvm-intel.o(pmu_intel.o at 2936)'.
   1.	Running pass 'X86 DAG->DAG Instruction Selection' on function '@vmx_passthrough_lbr_msrs'
    #0 0x000055740cde4f0f PrintStackTraceSignalHandler(void*) Signals.cpp:0:0
    #1 0x000055740cde27ae SignalHandler(int) Signals.cpp:0:0
    #2 0x00007ffbe3603140 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x14140)
    #3 0x000055740eb44e39 llvm::MachineRegisterInfo::addRegOperandToUseList(llvm::MachineOperand*) (/opt/cross/clang-c46becf500/bin/lld+0x27a7e39)
    #4 0x000055740eae5b7f llvm::MachineInstr::addOperand(llvm::MachineFunction&, llvm::MachineOperand const&) (/opt/cross/clang-c46becf500/bin/lld+0x2748b7f)
    #5 0x000055740e9651a2 llvm::InstrEmitter::EmitSpecialNode(llvm::SDNode*, bool, bool, llvm::DenseMap<llvm::SDValue, llvm::Register, llvm::DenseMapInfo<llvm::SDValue, void>, llvm::detail::DenseMapPair<llvm::SDValue, llvm::Register> >&) (/opt/cross/clang-c46becf500/bin/lld+0x25c81a2)
    #6 0x000055740e957d5d llvm::ScheduleDAGSDNodes::EmitSchedule(llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>&) (/opt/cross/clang-c46becf500/bin/lld+0x25bad5d)
    #7 0x000055740e8a381e llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/opt/cross/clang-c46becf500/bin/lld+0x250681e)
    #8 0x000055740e8a6ac6 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/opt/cross/clang-c46becf500/bin/lld+0x2509ac6)
    #9 0x000055740e8a8e17 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (.part.980) SelectionDAGISel.cpp:0:0
   #10 0x000055740e2da130 (anonymous namespace)::X86DAGToDAGISel::runOnMachineFunction(llvm::MachineFunction&) X86ISelDAGToDAG.cpp:0:0
   #11 0x000055740eae184d llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (.part.53) MachineFunctionPass.cpp:0:0
   #12 0x000055740fed2b27 llvm::FPPassManager::runOnFunction(llvm::Function&) (/opt/cross/clang-c46becf500/bin/lld+0x3b35b27)
   #13 0x000055740fed2ca1 llvm::FPPassManager::runOnModule(llvm::Module&) (/opt/cross/clang-c46becf500/bin/lld+0x3b35ca1)
   #14 0x000055740fed3f7f llvm::legacy::PassManagerImpl::run(llvm::Module&) (/opt/cross/clang-c46becf500/bin/lld+0x3b36f7f)
   #15 0x000055740e9ccc76 codegen(llvm::lto::Config const&, llvm::TargetMachine*, std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream> > > (unsigned int)>, unsigned int, llvm::Module&, llvm::ModuleSummaryIndex const&) LTOBackend.cpp:0:0
   #16 0x000055740e9cd6f0 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream> > > (unsigned int)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::StringMap<std::unordered_set<unsigned long, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<unsigned long> >, llvm::MallocAllocator> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*> > const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int> >, std::vector<std::pair<llvm::StringRef, llvm::BitcodeModule>, std::allocator<std::pair<llvm::StringRef, llvm::BitcodeModule> > > >*, std::vector<unsigned char, std::allocator<unsigned char> > const&)::'lambda'(llvm::Module&, llvm::TargetMachine*, std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile> >)::operator()(llvm::Module&, llvm::TargetMachine*, std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile> >) const LTOBackend.cpp:0:0
   #17 0x000055740e9ce245 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream> > > (unsigned int)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::StringMap<std::unordered_set<unsigned long, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<unsigned long> >, llvm::MallocAllocator> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*> > const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int> >, std::vector<std::pair<llvm::StringRef, llvm::BitcodeModule>, std::allocator<std::pair<llvm::StringRef, llvm::BitcodeModule> > > >*, std::vector<unsigned char, std::allocator<unsigned char> > const&) (/opt/cross/clang-c46becf500/bin/lld+0x2631245)
   #18 0x000055740e9b9ad1 std::_Function_handler<void (), std::_Bind<(anonymous namespace)::InProcessThinBackend::start(unsigned int, llvm::BitcodeModule, llvm::StringMap<std::unordered_set<unsigned long, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<unsigned long> >, llvm::MallocAllocator> const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void> > const&, std::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, llvm::GlobalValue::LinkageTypes> > > const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int> >, std::vector<std::pair<llvm::StringRef, llvm::BitcodeModule>, std::allocator<std::pair<llvm::StringRef, llvm::BitcodeModule> > > >&)::'lambda'(llvm::BitcodeModule, llvm::ModuleSummaryIndex&, llvm::StringMap<std::unordered_set<unsigned long, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<unsigned long> >, llvm::MallocAllocator> const&, llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void> > const&, std::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, llvm::GlobalValue::LinkageTypes> > > const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*> > const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int> >, std::vector<std::pair<llvm::StringRef, llvm::BitcodeModule>, std::allocator<std::pair<llvm::StringRef, llvm::BitcodeModule> > > >&) (llvm::BitcodeModule, std::reference_wrapper<llvm::ModuleSummaryIndex>, std::reference_wrapper<llvm::StringMap<std::unordered_set<unsigned long, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<unsigned long> >, llvm::MallocAllocator> const>, std::reference_wrapper<llvm::DenseSet<llvm::ValueInfo, llvm::DenseMapInfo<llvm::ValueInfo, void> > const>, std::reference_wrapper<std::map<unsigned long, llvm::GlobalValue::LinkageTypes, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, llvm::GlobalValue::LinkageTypes> > > const>, std::reference_wrapper<llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*> > const>, std::reference_wrapper<llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int> >, std::vector<std::pair<llvm::StringRef, llvm::BitcodeModule>, std::allocator<std::pair<llvm::StringRef, llvm::BitcodeModule> > > > >)> >::_M_invoke(std::_Any_data const&) LTO.cpp:0:0
   #19 0x000055741001e521 std::_Function_handler<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> (), std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::__future_base::_Task_state<std::function<void ()>, std::allocator<int>, void ()>::_M_run()::'lambda'(), void> >::_M_invoke(std::_Any_data const&) (/opt/cross/clang-c46becf500/bin/lld+0x3c81521)
   #20 0x000055740ce27f8b std::__future_base::_State_baseV2::_M_do_set(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*) (/opt/cross/clang-c46becf500/bin/lld+0xa8af8b)
   #21 0x00007ffbe360034f __pthread_once_slow (/lib/x86_64-linux-gnu/libpthread.so.0+0x1134f)
   #22 0x000055741001edb0 void* llvm::thread::ThreadProxy<std::tuple<llvm::ThreadPool::ThreadPool(llvm::ThreadPoolStrategy)::'lambda'()> >(void*) ThreadPool.cpp:0:0
   #23 0x00007ffbe35f7ea7 start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x8ea7)
   #24 0x00007ffbe31d3def __clone (/lib/x86_64-linux-gnu/libc.so.6+0xfddef)
>> /bin/bash: line 1: 42740 Segmentation fault      ld.lld -m elf_i386 --thinlto-cache-dir=.thinlto-cache -mllvm -import-instr-limit=5 -r -o arch/x86/kvm/kvm-intel.lto.o --whole-archive arch/x86/kvm/kvm-intel.o

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32600 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-20 12:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-20 12:27 [peterz-queue:x86/wip.extable 16/23] /bin/bash: line 1: 42740 Segmentation fault ld.lld -m elf_i386 --thinlto-cache-dir=.thinlto-cache -mllvm -import-instr-limit=5 -r -o arch/x86/kvm/kvm-intel.lto.o --whole-archive arch/x86/kvm/kvm-intel.o kernel test robot

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