All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-stable-rc:linux-4.19.y 9753/9999] clang-11: error: unable to execute command: Segmentation fault
@ 2020-04-16  4:17 kbuild test robot
  2020-04-16  7:02 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2020-04-16  4:17 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
head:   53a9f76066d0832721801cd2fe2431facf1b8cab
commit: 621f2ded601546119fabccd1651b1ae29d26cd38 [9753/9999] scripts/dtc: Remove redundant YYLOC global declaration
config: powerpc-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project bee6c234ed28ae7349cb83afa322dfd8394590ee)
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install powerpc cross compiling tool for clang build
        # apt-get install binutils-powerpc-linux-gnu
        git checkout 621f2ded601546119fabccd1651b1ae29d26cd38
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild 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, preprocessed source, and associated run script.
   Stack dump:
   0. Program arguments: /opt/cross/clang-bee6c234ed/bin/clang-11 -cc1 -triple powerpc64-unknown-linux-gnu -S -disable-free -disable-llvm-verifier -discard-value-names -main-file-name cavium.c -mrelocation-model static -mthread-model posix -fno-delete-null-pointer-checks -mllvm -warn-stack-size=2048 -mframe-pointer=all -relaxed-aliasing -fmath-errno -fno-rounding-math -no-integrated-as -mconstructor-aliases -mcmodel=medium -target-cpu pwr5 -target-feature -altivec -target-feature -vsx -target-feature -spe -target-feature -hard-float -msoft-float -mfloat-abi soft -target-abi elfv1 -dwarf-column-info -fno-split-dwarf-inlining -debugger-tuning=gdb -ffunction-sections -fdata-sections -nostdsysteminc -nobuiltininc -resource-dir /opt/cross/clang-bee6c234ed/lib/clang/11.0.0 -dependency-file drivers/mmc/host/.cavium.o.d -MT drivers/mmc/host/cavium.o -sys-header-deps -isystem /opt/cross/clang-bee6c234ed/lib/clang/11.0.0/include -include include/linux/kconfig.h -include include/linux/compiler_types.h -I arch/powerpc/include -I ./arch/powerpc/include/generated -I include -I ./include -I arch/powerpc/include/uapi -I ./arch/powerpc/include/generated/uapi -I include/uapi -I ./include/generated/uapi -I drivers/mmc/host -I drivers/mmc/host -D __KERNEL__ -I arch/powerpc -D HAVE_AS_ATHIGH=1 -I arch/powerpc -D KBUILD_BASENAME="cavium" -D KBUILD_MODNAME="thunderx_mmc" -fmacro-prefix-map== -O2 -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration -Wno-format-security -Werror=unknown-warning-option -Wno-frame-address -Wno-int-in-bool-context -Wno-address-of-packed-member -Wno-format-invalid-specifier -Wno-gnu -Wno-tautological-compare -Wno-unused-const-variable -Wdeclaration-after-statement -Wno-pointer-sign -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Wno-initializer-overrides -Wno-unused-value -Wno-format -Wno-sign-compare -Wno-format-zero-length -Wno-uninitialized -Wno-pointer-to-enum-cast -std=gnu89 -fno-dwarf-directory-asm -fdebug-compilation-dir /kbuild/obj/consumer/powerpc-allyesconfig -ferror-limit 19 -pg -fwrapv -fno-signed-char -fwchar-type=short -fno-signed-wchar -fgnuc-version=4.2.1 -vectorize-loops -vectorize-slp -o /tmp/cavium-1ccaff.s -x c drivers/mmc/host/cavium.c
   1. <eof> parser at end of file
   2. Code generation
   3. Running pass 'Function Pass Manager' on module 'drivers/mmc/host/cavium.c'.
   4. Running pass 'Simple Register Coalescing' on function '@cvm_mmc_request'
   #0 0x000055fc023db9aa llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x2ad59aa)
   #1 0x000055fc023d9965 llvm::sys::RunSignalHandlers() (/opt/cross/clang-bee6c234ed/bin/clang-11+0x2ad3965)
   #2 0x000055fc023d9a82 SignalHandler(int) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x2ad3a82)
   #3 0x00007f2bde1fa110 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x14110)
   #4 0x000055fc01ad4c67 llvm::LiveRange::Query(llvm::SlotIndex) const (/opt/cross/clang-bee6c234ed/bin/clang-11+0x21cec67)
   #5 0x000055fc01b5730e (anonymous namespace)::JoinVals::computeAssignment(unsigned int, (anonymous namespace)::JoinVals&) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x225130e)
   #6 0x000055fc01b57a99 (anonymous namespace)::JoinVals::mapValues((anonymous namespace)::JoinVals&) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x2251a99)
   #7 0x000055fc01b5b17d (anonymous namespace)::RegisterCoalescer::joinVirtRegs(llvm::CoalescerPair&) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x225517d)
   #8 0x000055fc01b5bc7f (anonymous (/opt/cross/clang-bee6c234ed/bin/clang-11+0x2255c7f)
   #9 0x000055fc01b602b7 (anonymous namespace)::RegisterCoalescer::runOnMachineFunction(llvm::MachineFunction&) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x225a2b7)
   #10 0x000055fc01a48887 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (.part.41) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x2142887)
   #11 0x000055fc01db4ffb llvm::FPPassManager::runOnFunction(llvm::Function&) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x24aeffb)
   #12 0x000055fc01db5633 llvm::FPPassManager::runOnModule(llvm::Module&) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x24af633)
   #13 0x000055fc01db598b llvm::legacy::PassManagerImpl::run(llvm::Module&) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x24af98b)
   #14 0x000055fc026142a2 (anonymous namespace)::EmitAssemblyHelper::EmitAssembly(clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream> >) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x2d0e2a2)
   #15 0x000055fc02615bf5 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream> >) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x2d0fbf5)
   #16 0x000055fc0307cbfd clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x3776bfd)
   #17 0x000055fc03879179 clang::ParseAST(clang::Sema&, bool, bool) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x3f73179)
   #18 0x000055fc02b184b9 clang::FrontendAction::Execute() (/opt/cross/clang-bee6c234ed/bin/clang-11+0x32124b9)
   #19 0x000055fc02ad9ba8 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x31d3ba8)
   #20 0x000055fc02bba281 (/opt/cross/clang-bee6c234ed/bin/clang-11+0x32b4281)
   #21 0x000055fc007d4f1c cc1_main(llvm::ArrayRef<char char (/opt/cross/clang-bee6c234ed/bin/clang-11+0xecef1c)
   #22 0x000055fc007d2007 ExecuteCC1Tool(llvm::SmallVectorImpl<char (/opt/cross/clang-bee6c234ed/bin/clang-11+0xecc007)
   #23 0x000055fc00720b63 main (/opt/cross/clang-bee6c234ed/bin/clang-11+0xe1ab63)
   #24 0x00007f2bddd0be0b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x26e0b)
   #25 0x000055fc007d1a8a _start (/opt/cross/clang-bee6c234ed/bin/clang-11+0xecba8a)
>> clang-11: error: unable to execute command: Segmentation fault
   clang-11: error: clang frontend command failed due to signal (use -v to see invocation)
   clang version 11.0.0 (git://gitmirror/llvm_project bee6c234ed28ae7349cb83afa322dfd8394590ee)
   Target: powerpc64-unknown-linux-gnu
   Thread model: posix
   InstalledDir: /opt/cross/clang-bee6c234ed/bin
   clang-11: note: diagnostic msg:
   Makefile arch drivers include kernel scripts source
--
   PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
   Stack dump:
   0. Program arguments: /opt/cross/clang-bee6c234ed/bin/clang-11 -cc1 -triple powerpc64-unknown-linux-gnu -S -disable-free -disable-llvm-verifier -discard-value-names -main-file-name cavium.c -mrelocation-model static -mthread-model posix -fno-delete-null-pointer-checks -mllvm -warn-stack-size=2048 -mframe-pointer=all -relaxed-aliasing -fmath-errno -fno-rounding-math -no-integrated-as -mconstructor-aliases -mcmodel=medium -target-cpu pwr5 -target-feature -altivec -target-feature -vsx -target-feature -spe -target-feature -hard-float -msoft-float -mfloat-abi soft -target-abi elfv1 -dwarf-column-info -fno-split-dwarf-inlining -debugger-tuning=gdb -ffunction-sections -fdata-sections -nostdsysteminc -nobuiltininc -resource-dir /opt/cross/clang-bee6c234ed/lib/clang/11.0.0 -dependency-file drivers/mmc/host/.cavium.o.d -MT drivers/mmc/host/cavium.o -sys-header-deps -isystem /opt/cross/clang-bee6c234ed/lib/clang/11.0.0/include -include include/linux/kconfig.h -include include/linux/compiler_types.h -I arch/powerpc/include -I ./arch/powerpc/include/generated -I include -I ./include -I arch/powerpc/include/uapi -I ./arch/powerpc/include/generated/uapi -I include/uapi -I ./include/generated/uapi -I drivers/mmc/host -I drivers/mmc/host -D __KERNEL__ -I arch/powerpc -D HAVE_AS_ATHIGH=1 -I arch/powerpc -D KBUILD_BASENAME="cavium" -D KBUILD_MODNAME="thunderx_mmc" -fmacro-prefix-map== -O2 -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration -Wno-format-security -Werror=unknown-warning-option -Wno-frame-address -Wno-int-in-bool-context -Wno-address-of-packed-member -Wno-format-invalid-specifier -Wno-gnu -Wno-tautological-compare -Wno-unused-const-variable -Wdeclaration-after-statement -Wno-pointer-sign -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Wno-initializer-overrides -Wno-unused-value -Wno-format -Wno-sign-compare -Wno-format-zero-length -Wno-uninitialized -Wno-pointer-to-enum-cast -std=gnu89 -fno-dwarf-directory-asm -fdebug-compilation-dir /kbuild/obj/consumer/powerpc-allyesconfig -ferror-limit 19 -pg -fwrapv -fno-signed-char -fwchar-type=short -fno-signed-wchar -fgnuc-version=4.2.1 -vectorize-loops -vectorize-slp -o /tmp/cavium-ff1806.s -x c drivers/mmc/host/cavium.c
   1. <eof> parser at end of file
   2. Code generation
   3. Running pass 'Function Pass Manager' on module 'drivers/mmc/host/cavium.c'.
   4. Running pass 'Simple Register Coalescing' on function '@cvm_mmc_request'
   #0 0x00005626dbf7b9aa llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x2ad59aa)
   #1 0x00005626dbf79965 llvm::sys::RunSignalHandlers() (/opt/cross/clang-bee6c234ed/bin/clang-11+0x2ad3965)
   #2 0x00005626dbf79a82 SignalHandler(int) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x2ad3a82)
   #3 0x00007f87bfb27110 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x14110)
   #4 0x00005626db674c67 llvm::LiveRange::Query(llvm::SlotIndex) const (/opt/cross/clang-bee6c234ed/bin/clang-11+0x21cec67)
   #5 0x00005626db6f730e (anonymous namespace)::JoinVals::computeAssignment(unsigned int, (anonymous namespace)::JoinVals&) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x225130e)
   #6 0x00005626db6f7a99 (anonymous namespace)::JoinVals::mapValues((anonymous namespace)::JoinVals&) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x2251a99)
   #7 0x00005626db6fb17d (anonymous namespace)::RegisterCoalescer::joinVirtRegs(llvm::CoalescerPair&) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x225517d)
   #8 0x00005626db6fbc7f (anonymous (/opt/cross/clang-bee6c234ed/bin/clang-11+0x2255c7f)
   #9 0x00005626db7002b7 (anonymous namespace)::RegisterCoalescer::runOnMachineFunction(llvm::MachineFunction&) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x225a2b7)
   #10 0x00005626db5e8887 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (.part.41) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x2142887)
   #11 0x00005626db954ffb llvm::FPPassManager::runOnFunction(llvm::Function&) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x24aeffb)
   #12 0x00005626db955633 llvm::FPPassManager::runOnModule(llvm::Module&) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x24af633)
   #13 0x00005626db95598b llvm::legacy::PassManagerImpl::run(llvm::Module&) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x24af98b)
   #14 0x00005626dc1b42a2 (anonymous namespace)::EmitAssemblyHelper::EmitAssembly(clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream> >) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x2d0e2a2)
   #15 0x00005626dc1b5bf5 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream> >) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x2d0fbf5)
   #16 0x00005626dcc1cbfd clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x3776bfd)
   #17 0x00005626dd419179 clang::ParseAST(clang::Sema&, bool, bool) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x3f73179)
   #18 0x00005626dc6b84b9 clang::FrontendAction::Execute() (/opt/cross/clang-bee6c234ed/bin/clang-11+0x32124b9)
   #19 0x00005626dc679ba8 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/opt/cross/clang-bee6c234ed/bin/clang-11+0x31d3ba8)
   #20 0x00005626dc75a281 (/opt/cross/clang-bee6c234ed/bin/clang-11+0x32b4281)
   #21 0x00005626da374f1c cc1_main(llvm::ArrayRef<char char (/opt/cross/clang-bee6c234ed/bin/clang-11+0xecef1c)
   #22 0x00005626da372007 ExecuteCC1Tool(llvm::SmallVectorImpl<char (/opt/cross/clang-bee6c234ed/bin/clang-11+0xecc007)
   #23 0x00005626da2c0b63 main (/opt/cross/clang-bee6c234ed/bin/clang-11+0xe1ab63)
   #24 0x00007f87bf638e0b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x26e0b)
   #25 0x00005626da371a8a _start (/opt/cross/clang-bee6c234ed/bin/clang-11+0xecba8a)
>> clang-11: error: unable to execute command: Segmentation fault
   clang-11: error: clang frontend command failed due to signal (use -v to see invocation)
   clang version 11.0.0 (git://gitmirror/llvm_project bee6c234ed28ae7349cb83afa322dfd8394590ee)
   Target: powerpc64-unknown-linux-gnu
   Thread model: posix
   InstalledDir: /opt/cross/clang-bee6c234ed/bin
   clang-11: note: diagnostic msg:
   Makefile arch drivers include kernel scripts source

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

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

end of thread, other threads:[~2020-04-16  7:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-16  4:17 [linux-stable-rc:linux-4.19.y 9753/9999] clang-11: error: unable to execute command: Segmentation fault kbuild test robot
2020-04-16  7:02 ` Greg Kroah-Hartman
2020-04-16  7:07   ` Philip Li

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.