All of lore.kernel.org
 help / color / mirror / Atom feed
* LLVM ERROR: Broken module found, compilation aborted!
@ 2021-11-20  1:20 ` kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-11-20  1:20 UTC (permalink / raw)
  Cc: kbuild-all, llvm

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

CC: linux-kernel@vger.kernel.org
TO: Geert Uytterhoeven <geert@linux-m68k.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9539ba4308ad5bdca6cb41c7b73cbb9f796dcdd7
commit: 0319b848b155185815724e1b46103c550627a845 binfmt: a.out: Fix bogus semicolon
date:   3 months ago
config: x86_64-randconfig-a011-20211119 (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/torvalds/linux.git/commit/?id=0319b848b155185815724e1b46103c550627a845
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 0319b848b155185815724e1b46103c550627a845
        # 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=x86_64 SHELL=/bin/bash

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

   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read2(i8* %24)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read2(i8* %27)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %30)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %33)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* bitcast (%struct.list_head* @fanout_list to i8*))
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %7)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %47)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %150)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_write4(i8* %40)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_write4(i8* %10)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %83)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_write4(i8* %14)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_write4(i8* %26)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %10)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %15)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_write4(i8* %52)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_write8(i8* %16)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_write8(i8* %11)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %46)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %20)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %11)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %4)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %9)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %16)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %22)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %5)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %10)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %13)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %18)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %12)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %17)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %4)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %9)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %4)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %9)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_write8(i8* %10)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_write8(i8* %16)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_write4(i8* %9)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %12)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %19)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %13)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %20)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %23)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %30)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read2(i8* %7)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %32)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read1(i8* %34)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %277)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read1(i8* %279)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* bitcast (i32* @pci_probe to i8*))
>> LLVM ERROR: Broken module found, compilation aborted!
   PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
   Stack dump:
   0.	Program arguments: ld.lld -m elf_x86_64 -mllvm -import-instr-limit=5 -r -o vmlinux.o -T .tmp_initcalls.lds --whole-archive arch/x86/kernel/head_64.o arch/x86/kernel/head64.o arch/x86/kernel/ebda.o arch/x86/kernel/platform-quirks.o init/built-in.a usr/built-in.a arch/x86/built-in.a kernel/built-in.a certs/built-in.a mm/built-in.a fs/built-in.a ipc/built-in.a security/built-in.a crypto/built-in.a block/built-in.a lib/built-in.a arch/x86/lib/built-in.a lib/lib.a arch/x86/lib/lib.a drivers/built-in.a sound/built-in.a samples/built-in.a net/built-in.a virt/built-in.a arch/x86/pci/built-in.a arch/x86/power/built-in.a arch/x86/video/built-in.a --no-whole-archive --start-group --end-group
    #0 0x000056419bfe5f0f PrintStackTraceSignalHandler(void*) Signals.cpp:0:0
    #1 0x000056419bfe37ae SignalHandler(int) Signals.cpp:0:0
    #2 0x00007f1f5abf8140 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x14140)
    #3 0x00007f1f5a706ce1 raise (/lib/x86_64-linux-gnu/libc.so.6+0x3bce1)
    #4 0x00007f1f5a6f0537 abort (/lib/x86_64-linux-gnu/libc.so.6+0x25537)
    #5 0x000056419bf791c5 llvm::report_fatal_error(llvm::Twine const&, bool) (/opt/cross/clang-c46becf500/bin/lld+0x9db1c5)
    #6 0x000056419bf79308 (/opt/cross/clang-c46becf500/bin/lld+0x9db308)
    #7 0x000056419f1489f6 (/opt/cross/clang-c46becf500/bin/lld+0x3baa9f6)
    #8 0x000056419dbc518d llvm::detail::PassModel<llvm::Module, llvm::VerifierPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module> >::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/opt/cross/clang-c46becf500/bin/lld+0x262718d)
    #9 0x000056419f110a98 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module> >::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/opt/cross/clang-c46becf500/bin/lld+0x3b72a98)
   #10 0x000056419dbca473 runNewPMPasses(llvm::lto::Config const&, llvm::Module&, llvm::TargetMachine*, unsigned int, bool, llvm::ModuleSummaryIndex*, llvm::ModuleSummaryIndex const*) LTOBackend.cpp:0:0
   #11 0x000056419dbcd443 llvm::lto::opt(llvm::lto::Config const&, llvm::TargetMachine*, unsigned int, llvm::Module&, bool, llvm::ModuleSummaryIndex*, llvm::ModuleSummaryIndex const*, std::vector<unsigned char, std::allocator<unsigned char> > const&) (/opt/cross/clang-c46becf500/bin/lld+0x262f443)
   #12 0x000056419dbce3a5 llvm::lto::backend(llvm::lto::Config const&, std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream> > > (unsigned int)>, unsigned int, llvm::Module&, llvm::ModuleSummaryIndex&) (/opt/cross/clang-c46becf500/bin/lld+0x26303a5)
   #13 0x000056419dbc438f llvm::lto::LTO::runRegularLTO(std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream> > > (unsigned int)>) (/opt/cross/clang-c46becf500/bin/lld+0x262638f)
   #14 0x000056419dbc4833 llvm::lto::LTO::run(std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream> > > (unsigned int)>, std::function<llvm::Expected<std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream> > > (unsigned int)> > (unsigned int, llvm::StringRef)>) (/opt/cross/clang-c46becf500/bin/lld+0x2626833)
   #15 0x000056419c172aac lld::elf::BitcodeCompiler::compile() (/opt/cross/clang-c46becf500/bin/lld+0xbd4aac)
   #16 0x000056419c0e6276 void lld::elf::LinkerDriver::compileBitcodeFiles<llvm::object::ELFType<(llvm::support::endianness)1, true> >() (/opt/cross/clang-c46becf500/bin/lld+0xb48276)
   #17 0x000056419c100a5d void lld::elf::LinkerDriver::link<llvm::object::ELFType<(llvm::support::endianness)1, true> >(llvm::opt::InputArgList&) (/opt/cross/clang-c46becf500/bin/lld+0xb62a5d)
   #18 0x000056419c106f9a lld::elf::LinkerDriver::linkerMain(llvm::ArrayRef<char const*>) (/opt/cross/clang-c46becf500/bin/lld+0xb68f9a)
   #19 0x000056419c107d95 lld::elf::link(llvm::ArrayRef<char const*>, bool, llvm::raw_ostream&, llvm::raw_ostream&) (/opt/cross/clang-c46becf500/bin/lld+0xb69d95)
   #20 0x000056419bf5eae5 lldMain(int, char const**, llvm::raw_ostream&, llvm::raw_ostream&, bool) lld.cpp:0:0
   #21 0x000056419be97cda main (/opt/cross/clang-c46becf500/bin/lld+0x8f9cda)
   #22 0x00007f1f5a6f1d0a __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x26d0a)
   #23 0x000056419bf5d92a _start (/opt/cross/clang-c46becf500/bin/lld+0x9bf92a)
   Aborted

---
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: 29914 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* LLVM ERROR: Broken module found, compilation aborted!
@ 2021-11-20  1:20 ` kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-11-20  1:20 UTC (permalink / raw)
  To: kbuild-all

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

CC: linux-kernel(a)vger.kernel.org
TO: Geert Uytterhoeven <geert@linux-m68k.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9539ba4308ad5bdca6cb41c7b73cbb9f796dcdd7
commit: 0319b848b155185815724e1b46103c550627a845 binfmt: a.out: Fix bogus semicolon
date:   3 months ago
config: x86_64-randconfig-a011-20211119 (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/torvalds/linux.git/commit/?id=0319b848b155185815724e1b46103c550627a845
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 0319b848b155185815724e1b46103c550627a845
        # 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=x86_64 SHELL=/bin/bash

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

   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read2(i8* %24)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read2(i8* %27)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %30)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %33)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* bitcast (%struct.list_head* @fanout_list to i8*))
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %7)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %47)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %150)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_write4(i8* %40)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_write4(i8* %10)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %83)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_write4(i8* %14)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_write4(i8* %26)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %10)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %15)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_write4(i8* %52)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_write8(i8* %16)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_write8(i8* %11)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %46)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %20)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %11)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %4)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %9)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %16)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %22)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %5)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %10)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %13)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %18)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %12)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %17)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %4)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %9)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* %4)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %9)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_write8(i8* %10)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_write8(i8* %16)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_write4(i8* %9)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %12)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %19)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %13)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %20)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %23)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %30)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read2(i8* %7)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %32)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read1(i8* %34)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read8(i8* %277)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read1(i8* %279)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__tsan_read4(i8* bitcast (i32* @pci_probe to i8*))
>> LLVM ERROR: Broken module found, compilation aborted!
   PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
   Stack dump:
   0.	Program arguments: ld.lld -m elf_x86_64 -mllvm -import-instr-limit=5 -r -o vmlinux.o -T .tmp_initcalls.lds --whole-archive arch/x86/kernel/head_64.o arch/x86/kernel/head64.o arch/x86/kernel/ebda.o arch/x86/kernel/platform-quirks.o init/built-in.a usr/built-in.a arch/x86/built-in.a kernel/built-in.a certs/built-in.a mm/built-in.a fs/built-in.a ipc/built-in.a security/built-in.a crypto/built-in.a block/built-in.a lib/built-in.a arch/x86/lib/built-in.a lib/lib.a arch/x86/lib/lib.a drivers/built-in.a sound/built-in.a samples/built-in.a net/built-in.a virt/built-in.a arch/x86/pci/built-in.a arch/x86/power/built-in.a arch/x86/video/built-in.a --no-whole-archive --start-group --end-group
    #0 0x000056419bfe5f0f PrintStackTraceSignalHandler(void*) Signals.cpp:0:0
    #1 0x000056419bfe37ae SignalHandler(int) Signals.cpp:0:0
    #2 0x00007f1f5abf8140 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x14140)
    #3 0x00007f1f5a706ce1 raise (/lib/x86_64-linux-gnu/libc.so.6+0x3bce1)
    #4 0x00007f1f5a6f0537 abort (/lib/x86_64-linux-gnu/libc.so.6+0x25537)
    #5 0x000056419bf791c5 llvm::report_fatal_error(llvm::Twine const&, bool) (/opt/cross/clang-c46becf500/bin/lld+0x9db1c5)
    #6 0x000056419bf79308 (/opt/cross/clang-c46becf500/bin/lld+0x9db308)
    #7 0x000056419f1489f6 (/opt/cross/clang-c46becf500/bin/lld+0x3baa9f6)
    #8 0x000056419dbc518d llvm::detail::PassModel<llvm::Module, llvm::VerifierPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module> >::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/opt/cross/clang-c46becf500/bin/lld+0x262718d)
    #9 0x000056419f110a98 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module> >::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/opt/cross/clang-c46becf500/bin/lld+0x3b72a98)
   #10 0x000056419dbca473 runNewPMPasses(llvm::lto::Config const&, llvm::Module&, llvm::TargetMachine*, unsigned int, bool, llvm::ModuleSummaryIndex*, llvm::ModuleSummaryIndex const*) LTOBackend.cpp:0:0
   #11 0x000056419dbcd443 llvm::lto::opt(llvm::lto::Config const&, llvm::TargetMachine*, unsigned int, llvm::Module&, bool, llvm::ModuleSummaryIndex*, llvm::ModuleSummaryIndex const*, std::vector<unsigned char, std::allocator<unsigned char> > const&) (/opt/cross/clang-c46becf500/bin/lld+0x262f443)
   #12 0x000056419dbce3a5 llvm::lto::backend(llvm::lto::Config const&, std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream> > > (unsigned int)>, unsigned int, llvm::Module&, llvm::ModuleSummaryIndex&) (/opt/cross/clang-c46becf500/bin/lld+0x26303a5)
   #13 0x000056419dbc438f llvm::lto::LTO::runRegularLTO(std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream> > > (unsigned int)>) (/opt/cross/clang-c46becf500/bin/lld+0x262638f)
   #14 0x000056419dbc4833 llvm::lto::LTO::run(std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream> > > (unsigned int)>, std::function<llvm::Expected<std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream> > > (unsigned int)> > (unsigned int, llvm::StringRef)>) (/opt/cross/clang-c46becf500/bin/lld+0x2626833)
   #15 0x000056419c172aac lld::elf::BitcodeCompiler::compile() (/opt/cross/clang-c46becf500/bin/lld+0xbd4aac)
   #16 0x000056419c0e6276 void lld::elf::LinkerDriver::compileBitcodeFiles<llvm::object::ELFType<(llvm::support::endianness)1, true> >() (/opt/cross/clang-c46becf500/bin/lld+0xb48276)
   #17 0x000056419c100a5d void lld::elf::LinkerDriver::link<llvm::object::ELFType<(llvm::support::endianness)1, true> >(llvm::opt::InputArgList&) (/opt/cross/clang-c46becf500/bin/lld+0xb62a5d)
   #18 0x000056419c106f9a lld::elf::LinkerDriver::linkerMain(llvm::ArrayRef<char const*>) (/opt/cross/clang-c46becf500/bin/lld+0xb68f9a)
   #19 0x000056419c107d95 lld::elf::link(llvm::ArrayRef<char const*>, bool, llvm::raw_ostream&, llvm::raw_ostream&) (/opt/cross/clang-c46becf500/bin/lld+0xb69d95)
   #20 0x000056419bf5eae5 lldMain(int, char const**, llvm::raw_ostream&, llvm::raw_ostream&, bool) lld.cpp:0:0
   #21 0x000056419be97cda main (/opt/cross/clang-c46becf500/bin/lld+0x8f9cda)
   #22 0x00007f1f5a6f1d0a __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x26d0a)
   #23 0x000056419bf5d92a _start (/opt/cross/clang-c46becf500/bin/lld+0x9bf92a)
   Aborted

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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* LLVM ERROR: Broken module found, compilation aborted!
@ 2025-08-06 18:39 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2025-08-06 18:39 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "clang compiler bug"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: llvm@lists.linux.dev
BCC: lkp@intel.com

CC: linux-kernel@vger.kernel.org
TO: Alexander Potapenko <glider@google.com>
CC: Andrew Morton <akpm@linux-foundation.org>
CC: Linux Memory Management List <linux-mm@kvack.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   cca7a0aae8958c9b1cd14116cb8b2f22ace2205e
commit: b65e4b56e9f406f291656b3e92723952c180fbab kmsan: rework kmsan_in_runtime() handling in kmsan_report()
date:   3 months ago
:::::: branch date: 6 hours ago
:::::: commit date: 3 months ago
config: x86_64-buildonly-randconfig-002-20250806 (https://download.01.org/0day-ci/archive/20250807/202508070211.Ssgpi4JK-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250807/202508070211.Ssgpi4JK-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/r/202508070211.Ssgpi4JK-lkp@intel.com/

All errors (new ones prefixed by >>):

   inlinable function call in a function with debug info must have a !dbg location
     call void @__msan_warning(i32 %79) #22
   inlinable function call in a function with debug info must have a !dbg location
     call void @__msan_warning(i32 %232) #22
   inlinable function call in a function with debug info must have a !dbg location
     call void @__msan_warning(i32 %3298) #22
>> LLVM ERROR: Broken module found, compilation aborted!
>> PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
   Stack dump:
   0.	Running pass "verify" on module "vmlinux.a(scan.o at 1692798)"
   inlinable function call in a function with debug info must have a !dbg location
     call void @__msan_warning(i32 %593) #19
   inlinable function call in a function with debug info must have a !dbg location
     call void @__msan_warning(i32 %711) #19
   inlinable function call in a function with debug info must have a !dbg location
     call void @__msan_warning(i32 %1419) #19
   inlinable function call in a function with debug info must have a !dbg location
     call void @__msan_warning(i32 %1419) #19
   inlinable function call in a function with debug info must have a !dbg location
     call void @__msan_warning(i32 %2969) #19
   inlinable function call in a function with debug info must have a !dbg location
     call void @__msan_warning(i32 %4058) #19
   inlinable function call in a function with debug info must have a !dbg location
     call void @__msan_warning(i32 %4058) #19
   inlinable function call in a function with debug info must have a !dbg location
     call void @__msan_warning(i32 %2929) #19
   inlinable function call in a function with debug info must have a !dbg location
     call void @__msan_warning(i32 %8) #19
>> LLVM ERROR: Broken module found, compilation aborted!
   /bin/bash: line 1: 2687036 Aborted                 ld.lld -m elf_x86_64 -mllvm -import-instr-limit=5 --compress-debug-sections=zlib --mllvm=-enable-fs-discriminator=true --mllvm=-improved-fs-discriminator=true -plugin-opt=thinlto -plugin-opt=-split-machine-functions -z noexecstack -r -o vmlinux.o -T .tmp_initcalls.lds --whole-archive vmlinux.a --no-whole-archive --start-group lib/lib.a arch/x86/lib/lib.a --end-group

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-08-06 18:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-06 18:39 LLVM ERROR: Broken module found, compilation aborted! kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-11-20  1:20 kernel test robot
2021-11-20  1:20 ` kernel test robot

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.