CC: linux-kernel(a)vger.kernel.org
TO: Geert Uytterhoeven <geert(a)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...
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(a)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