All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android12-5.4 9997/9999] LLVM ERROR: Broken module found, compilation aborted!
@ 2020-07-10  8:49 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-07-10  8:49 UTC (permalink / raw)
  To: kbuild-all

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

TO: cros-kernel-buildreports(a)googlegroups.com

tree:   https://android.googlesource.com/kernel/common android12-5.4
head:   a65bb671702d2c554eb8a23283e8e7aa33da0d21
commit: b303edc95d21ee4894ee5436635c162b1e7bb792 [9997/9999] ANDROID: GKI: update abi definitions
config: arm64-randconfig-r005-20200710 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 02946de3802d3bc65bc9f2eb9b8d4969b5a7add8)
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
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        git checkout b303edc95d21ee4894ee5436635c162b1e7bb792
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

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 @__sanitizer_cov_trace_const_cmp4(i32 -1, i32 %25)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__sanitizer_cov_trace_pc() #84
   inlinable function call in a function with debug info must have a !dbg location
     call void @__sanitizer_cov_trace_const_cmp4(i32 0, i32 %41)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__sanitizer_cov_trace_pc() #84
   inlinable function call in a function with debug info must have a !dbg location
     call void @__sanitizer_cov_trace_const_cmp4(i32 0, i32 %59)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__sanitizer_cov_trace_pc() #84
   inlinable function call in a function with debug info must have a !dbg location
     call void @__sanitizer_cov_trace_const_cmp4(i32 0, i32 %15)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__sanitizer_cov_trace_const_cmp4(i32 -1, i32 %44)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__sanitizer_cov_trace_pc() #84
   inlinable function call in a function with debug info must have a !dbg location
     call void @__sanitizer_cov_trace_const_cmp4(i32 131055, i32 %32)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__sanitizer_cov_trace_pc() #84
   !dbg attachment points at wrong subprogram for function
   !16944932 = distinct !DISubprogram(name: "remove_module_from_shadow", scope: !1026988, file: !1026988, line: 164, type: !16944933, scopeLine: 165, flags: DIFlagPrototyped | DIFlagAllCallsDescribed, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !1026983, retainedNodes: !16944935)
   void (%struct.cfi_shadow*, %struct.module.32063*)* @remove_module_from_shadow
     call void @llvm.dbg.value(metadata i32 -1, metadata !16784396, metadata !DIExpression()) #37, !dbg !16784398
   !16784398 = !DILocation(line: 0, scope: !16784392)
   !16784392 = distinct !DISubprogram(name: "__sanitizer_cov_trace_const_cmp4", scope: !760739, file: !760739, line: 272, type: !16784393, scopeLine: 273, flags: DIFlagPrototyped | DIFlagAllCallsDescribed, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !758104, retainedNodes: !16784395)
   !16784392 = distinct !DISubprogram(name: "__sanitizer_cov_trace_const_cmp4", scope: !760739, file: !760739, line: 272, type: !16784393, scopeLine: 273, flags: DIFlagPrototyped | DIFlagAllCallsDescribed, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !758104, retainedNodes: !16784395)
   conflicting debug info for argument
     call void @llvm.dbg.value(metadata i32 -1, metadata !16784396, metadata !DIExpression()) #37, !dbg !16784398
   !16944936 = !DILocalVariable(name: "s", arg: 1, scope: !16944932, file: !1026988, line: 164, type: !1026986)
   !16784396 = !DILocalVariable(name: "arg1", arg: 1, scope: !16784392, file: !760739, line: 272, type: !418)
   conflicting debug info for argument
     call void @llvm.dbg.value(metadata i32 %27, metadata !16784397, metadata !DIExpression()) #37, !dbg !16784398
   !16944937 = !DILocalVariable(name: "mod", arg: 2, scope: !16944932, file: !1026988, line: 164, type: !1027588)
   !16784397 = !DILocalVariable(name: "arg2", arg: 2, scope: !16784392, file: !760739, line: 272, type: !418)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__sanitizer_cov_trace_pc() #88
   conflicting debug info for argument
     call void @llvm.dbg.value(metadata i32 0, metadata !16784396, metadata !DIExpression()) #37, !dbg !16784398
   !16945000 = !DILocalVariable(name: "mod", arg: 1, scope: !16944994, file: !1026988, line: 185, type: !1027588)
   !16784396 = !DILocalVariable(name: "arg1", arg: 1, scope: !16784392, file: !760739, line: 272, type: !418)
   conflicting debug info for argument
     call void @llvm.dbg.value(metadata i32 %44, metadata !16784397, metadata !DIExpression()) #37, !dbg !16784398
   !16945001 = !DILocalVariable(name: "min_addr", arg: 2, scope: !16944994, file: !1026988, line: 185, type: !399)
   !16784397 = !DILocalVariable(name: "arg2", arg: 2, scope: !16784392, file: !760739, line: 272, type: !418)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__sanitizer_cov_trace_pc() #88
   inlinable function call in a function with debug info must have a !dbg location
     call void @__sanitizer_cov_trace_pc() #88
   conflicting debug info for argument
     call void @llvm.dbg.value(metadata i32 0, metadata !16784396, metadata !DIExpression()) #37, !dbg !16784398
   !16945173 = !DILocalVariable(name: "s", arg: 1, scope: !16945171, file: !1026988, line: 133, type: !1026986)
   !16784396 = !DILocalVariable(name: "arg1", arg: 1, scope: !16784392, file: !760739, line: 272, type: !418)
   conflicting debug info for argument
     call void @llvm.dbg.value(metadata i32 %17, metadata !16784397, metadata !DIExpression()) #37, !dbg !16784398
   !16945174 = !DILocalVariable(name: "mod", arg: 2, scope: !16945171, file: !1026988, line: 133, type: !1027588)
   !16784397 = !DILocalVariable(name: "arg2", arg: 2, scope: !16784392, file: !760739, line: 272, type: !418)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__sanitizer_cov_trace_pc() #88
   conflicting debug info for argument
     call void @llvm.dbg.value(metadata i32 131055, metadata !16784396, metadata !DIExpression()) #37, !dbg !16784398
   !16945275 = !DILocalVariable(name: "id", arg: 1, scope: !16945273, file: !1026988, line: 286, type: !2769)
   !16784396 = !DILocalVariable(name: "arg1", arg: 1, scope: !16784392, file: !760739, line: 272, type: !418)
   conflicting debug info for argument
     call void @llvm.dbg.value(metadata i32 %39, metadata !16784397, metadata !DIExpression()) #37, !dbg !16784398
   !16945276 = !DILocalVariable(name: "ptr", arg: 2, scope: !16945273, file: !1026988, line: 286, type: !397)
   !16784397 = !DILocalVariable(name: "arg2", arg: 2, scope: !16784392, file: !760739, line: 272, type: !418)
   inlinable function call in a function with debug info must have a !dbg location
     call void @__sanitizer_cov_trace_pc() #88
>> 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 -EL -maarch64elf -mllvm -import-instr-limit=5 -r -o vmlinux.o -T .tmp_lto.lds --whole-archive arch/arm64/kernel/head.o init/built-in.a usr/built-in.a arch/arm64/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 arch/arm64/lib/built-in.a lib/built-in.a drivers/built-in.a sound/built-in.a net/built-in.a virt/built-in.a --no-whole-archive --start-group arch/arm64/lib/lib.a lib/lib.a --end-group 
    #0 0x00005561e551dd0a llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/opt/cross/clang-02946de380/bin/lld+0x8d5d0a)
    #1 0x00005561e551bc15 llvm::sys::RunSignalHandlers() (/opt/cross/clang-02946de380/bin/lld+0x8d3c15)
    #2 0x00005561e551bd32 SignalHandler(int) (/opt/cross/clang-02946de380/bin/lld+0x8d3d32)
    #3 0x00007fda9fd6b730 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x12730)
    #4 0x00007fda9f89d7bb raise (/lib/x86_64-linux-gnu/libc.so.6+0x377bb)
    #5 0x00007fda9f888535 abort (/lib/x86_64-linux-gnu/libc.so.6+0x22535)
    #6 0x00005561e54d8563 llvm::report_fatal_error(llvm::Twine const&, bool) (/opt/cross/clang-02946de380/bin/lld+0x890563)
    #7 0x00005561e54d8678 (/opt/cross/clang-02946de380/bin/lld+0x890678)
    #8 0x00005561e7deb882 (anonymous namespace)::VerifierLegacyPass::doFinalization(llvm::Module&) (/opt/cross/clang-02946de380/bin/lld+0x31a3882)
    #9 0x00005561e7d6bc91 llvm::FPPassManager::doFinalization(llvm::Module&) (.localalias.515) (/opt/cross/clang-02946de380/bin/lld+0x3123c91)
   #10 0x00005561e7d76ef8 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/opt/cross/clang-02946de380/bin/lld+0x312eef8)
   #11 0x00005561e6c57d29 (anonymous namespace)::opt(llvm::lto::Config const&, llvm::TargetMachine*, unsigned int, llvm::Module&, bool, llvm::ModuleSummaryIndex*, llvm::ModuleSummaryIndex const*) (/opt/cross/clang-02946de380/bin/lld+0x200fd29)
   #12 0x00005561e6c58e31 llvm::lto::backend(llvm::lto::Config const&, std::function<std::unique_ptr<llvm::lto::NativeObjectStream, std::default_delete<llvm::lto::NativeObjectStream> > (unsigned int)>, unsigned int, std::unique_ptr<llvm::Module, std::default_delete<llvm::Module> >, llvm::ModuleSummaryIndex&) (/opt/cross/clang-02946de380/bin/lld+0x2010e31)
   #13 0x00005561e6c4e812 llvm::lto::LTO::runRegularLTO(std::function<std::unique_ptr<llvm::lto::NativeObjectStream, std::default_delete<llvm::lto::NativeObjectStream> > (unsigned int)>) (/opt/cross/clang-02946de380/bin/lld+0x2006812)
   #14 0x00005561e6c4ebb2 llvm::lto::LTO::run(std::function<std::unique_ptr<llvm::lto::NativeObjectStream, std::default_delete<llvm::lto::NativeObjectStream> > (unsigned int)>, std::function<std::function<std::unique_ptr<llvm::lto::NativeObjectStream, std::default_delete<llvm::lto::NativeObjectStream> > (unsigned int)> (unsigned int, llvm::StringRef)>) (/opt/cross/clang-02946de380/bin/lld+0x2006bb2)
   #15 0x00005561e5667c4b lld::elf::BitcodeCompiler::compile() (/opt/cross/clang-02946de380/bin/lld+0xa1fc4b)
   #16 0x00005561e55ee135 void lld::elf::LinkerDriver::compileBitcodeFiles<llvm::object::ELFType<(llvm::support::endianness)1, true> >() (/opt/cross/clang-02946de380/bin/lld+0x9a6135)
   #17 0x00005561e55fefad void lld::elf::LinkerDriver::link<llvm::object::ELFType<(llvm::support::endianness)1, true> >(llvm::opt::InputArgList&) (/opt/cross/clang-02946de380/bin/lld+0x9b6fad)
   #18 0x00005561e5419808 lld::elf::LinkerDriver::main(llvm::ArrayRef<char const*>) (/opt/cross/clang-02946de380/bin/lld+0x7d1808)
   #19 0x00005561e56030da lld::elf::link(llvm::ArrayRef<char const*>, bool, llvm::raw_ostream&, llvm::raw_ostream&) (/opt/cross/clang-02946de380/bin/lld+0x9bb0da)
   #20 0x00005561e541671f main (/opt/cross/clang-02946de380/bin/lld+0x7ce71f)
   #21 0x00007fda9f88a09b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2409b)
   #22 0x00005561e54c4b9a _start (/opt/cross/clang-02946de380/bin/lld+0x87cb9a)
   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: 32978 bytes --]

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

only message in thread, other threads:[~2020-07-10  8:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-10  8:49 [android-common:android12-5.4 9997/9999] LLVM ERROR: Broken module found, compilation aborted! 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.