From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: /bin/bash: line 1: 1611721 Segmentation fault clang -Wp,-MMD,drivers/hwmon/.ltc2992.o.d -nostdinc -Iarch/mips/include -I./arch/mips/include/generated -Iinclude -I./include -Iarch/mips/include/uapi -I./arch/mips/include/generated/uapi -Iinclude/uapi -...
Date: Sun, 11 Oct 2026 05:50:50 +0200 [thread overview]
Message-ID: <202610110541.QfROE72r-lkp@intel.com> (raw)
::::::
:::::: Manual check reason: "clang compiler bug"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Sanman Pradhan <psanman@juniper.net>
CC: Guenter Roeck <linux@roeck-us.net>
Hi Sanman,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a5ebb76233b79db01e82e061173cb73c6d2b5c6b
commit: d6cc7c99bf1f73eda7d565d224d791d16239bb41 hwmon: (ltc2992) Clamp threshold writes to hardware range
date: 5 months ago
:::::: branch date: 4 hours ago
:::::: commit date: 5 months ago
config: mips-randconfig-r2100-20261011 (https://download.01.org/0day-ci/archive/20261011/202610110541.QfROE72r-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 762316e293d1db4f495bdbb545c31d588a1a2d62)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261011/202610110541.QfROE72r-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
| Fixes: d6cc7c99bf1f ("hwmon: (ltc2992) Clamp threshold writes to hardware range")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202610110541.QfROE72r-lkp@intel.com/
Note: functions only called from assembly code should be annotated with the asmlinkage attribute
All errors (new ones prefixed by >>):
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
Stack dump:
0. Program arguments: clang -Wp,-MMD,drivers/hwmon/.ltc2992.o.d -nostdinc -Iarch/mips/include -I./arch/mips/include/generated -Iinclude -I./include -Iarch/mips/include/uapi -I./arch/mips/include/generated/uapi -Iinclude/uapi -I./include/generated/uapi -include include/linux/compiler-version.h -include include/linux/kconfig.h -include include/linux/compiler_types.h -D__KERNEL__ --target=mipsel-linux-gnu -fintegrated-as -Werror=unknown-warning-option -Werror=ignored-optimization-argument -Werror=option-ignored -Werror=unused-command-line-argument -DVMLINUX_LOAD_ADDRESS=0xffffffff84000000 -DLINKER_LOAD_ADDRESS=0x84000000 -DDATAOFFSET=0 -fmacro-prefix-map== -Wundef -DKBUILD_EXTRA_WARN1 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -std=gnu11 -fms-anonymous-structs -Wno-gnu -Wno-microsoft-anon-tag -mno-check-zero-division -mabi=32 -G 0 -mno-abicalls -fno-pic -pipe -msoft-float -Wa,-msoft-float -ffreestanding -EB -fno-stack-check -march=mips3 -Wa,--trap -DTOOLCHAIN_SUPPORTS_VIRT -Iarch/mips/include/asm/mach-n64 -Iarch/mips/include/asm/mach-generic -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Os -fstack-protector-strong -ftrivial-auto-var-init=zero -fexperimental-late-parse-attributes -fdiagnostics-show-inlining-chain -pg -fstrict-flex-arrays=3 -fno-strict-overflow -fno-stack-check -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wno-format-overflow-non-kprintf -Wno-format-truncation-non-kprintf -Wno-default-const-init-unsafe -Wno-type-limits -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wimplicit-fallthrough -Werror=date-time -Werror=incompatible-pointer-types -Wenum-conversion -Wunused -Wmissing-format-attribute -Wmissing-include-dirs -Wunused-const-variable -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-enum-enum-conversion -Wno-sign-compare -Wno-unused-parameter -gsplit-dwarf -g -DRANDSTRUCT -frandomize-layout-seed-file=./scripts/basic/randstruct.seed -fno-crash-diagnostics -Wno-error=return-type -Wreturn-type -funsigned-char -Wundef -falign-functions=64 -Idrivers/hwmon -Idrivers/hwmon -DMODULE -mlong-calls -DKBUILD_BASENAME=\"ltc2992\" -DKBUILD_MODNAME=\"ltc2992\" -D__KBUILD_MODNAME=ltc2992 -c -o drivers/hwmon/ltc2992.o drivers/hwmon/ltc2992.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'drivers/hwmon/ltc2992.c'.
4. Running pass 'Shrink Wrapping analysis' on function '@ltc2992_write'
#0 0x00005601a7e370ca llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (clang-24+0x3a560ca)
#1 0x00005601a7e34ca4 llvm::sys::CleanupOnSignal(unsigned long) (clang-24+0x3a53ca4)
#2 0x00005601a7d65680 CrashRecoverySignalHandler(int) CrashRecoveryContext.cpp:0:0
#3 0x00007f48574c3df0 (/lib/x86_64-linux-gnu/libc.so.6+0x3fdf0)
#4 0x00005601a73cde91 (anonymous namespace)::ShrinkWrapImpl::useOrDefCSROrFI(llvm::MachineInstr const&, llvm::RegScavenger*, bool) const ShrinkWrap.cpp:0:0
#5 0x00005601a73d119c (anonymous namespace)::ShrinkWrapImpl::run(llvm::MachineFunction&) (.constprop.0) ShrinkWrap.cpp:0:0
#6 0x00005601a73d2e3d (anonymous namespace)::ShrinkWrapLegacy::runOnMachineFunction(llvm::MachineFunction&) (.part.0) ShrinkWrap.cpp:0:0
#7 0x00005601a71bf8a3 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (clang-24+0x2dde8a3)
#8 0x00005601a7728301 llvm::FPPassManager::runOnFunction(llvm::Function&) (clang-24+0x3347301)
#9 0x00005601a772876c llvm::FPPassManager::runOnModule(llvm::Module&) (clang-24+0x334776c)
#10 0x00005601a772930e (anonymous namespace)::MPPassManager::runOnModule(llvm::Module&) LegacyPassManager.cpp:0:0
#11 0x00005601a7729c3c llvm::legacy::PassManagerImpl::run(llvm::Module&) (clang-24+0x3348c3c)
#12 0x00005601a8f7df22 runCodeGenPipelineLegacy(llvm::TargetMachine&, llvm::Module&, llvm::raw_pwrite_stream&, std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile>>&, llvm::CodeGenFileType, bool, bool) RunCodeGen.cpp:0:0
#13 0x00005601a8f7dfa9 llvm::runCodeGenPipeline(llvm::TargetMachine&, llvm::Module&, llvm::raw_pwrite_stream&, std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile>>&, llvm::CodeGenFileType, bool, bool, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) (clang-24+0x4b9cfa9)
#14 0x00005601a81fdf82 (anonymous namespace)::EmitAssemblyHelper::emitAssembly(clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>, clang::BackendConsumer*) BackendUtil.cpp:0:0
#15 0x00005601a81fe4de clang::emitBackendOutput(clang::CompilerInstance&, clang::CodeGenOptions&, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>, clang::BackendConsumer*) (clang-24+0x3e1d4de)
#16 0x00005601a882195b clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (clang-24+0x444095b)
#17 0x00005601aa2c33cc clang::ParseAST(clang::Sema&, bool, bool) (clang-24+0x5ee23cc)
#18 0x00005601a8b73bde clang::FrontendAction::Execute() (clang-24+0x4792bde)
#19 0x00005601a8b0252e clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (clang-24+0x472152e)
#20 0x00005601a8c3d217 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (clang-24+0x485c217)
#21 0x00005601a4ca0cd8 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (clang-24+0x8bfcd8)
#22 0x00005601a4c989c3 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) driver.cpp:0:0
#23 0x00005601a4c98a07 int llvm::function_ref<int (llvm::SmallVectorImpl<char const*>&)>::callback_fn<clang_main(int, char**, llvm::ToolContext const&)::'lambda'(llvm::SmallVectorImpl<char const*>&)>(long, llvm::SmallVectorImpl<char const*>&) driver.cpp:0:0
#24 0x00005601a889e889 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const::'lambda'()>(long) Job.cpp:0:0
#25 0x00005601a7d659b3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (clang-24+0x39849b3)
#26 0x00005601a889fe0c clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const (.part.0) Job.cpp:0:0
#27 0x00005601a885dea8 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (clang-24+0x447cea8)
#28 0x00005601a8862612 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (clang-24+0x4481612)
#29 0x00005601a88727dc clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (clang-24+0x44917dc)
#30 0x00005601a4c9d672 clang_main(int, char**, llvm::ToolContext const&) (clang-24+0x8bc672)
#31 0x00005601a4bf49e2 main (clang-24+0x8139e2)
#32 0x00007f48574adca8 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca8)
#33 0x00007f48574add65 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d65)
#34 0x00005601a4c98421 _start (clang-24+0x8b7421)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
>> /bin/bash: line 1: 1611721 Segmentation fault clang -Wp,-MMD,drivers/hwmon/.ltc2992.o.d -nostdinc -Iarch/mips/include -I./arch/mips/include/generated -Iinclude -I./include -Iarch/mips/include/uapi -I./arch/mips/include/generated/uapi -Iinclude/uapi -I./include/generated/uapi -include include/linux/compiler-version.h -include include/linux/kconfig.h -include include/linux/compiler_types.h -D__KERNEL__ --target=mipsel-linux-gnu -fintegrated-as -Werror=unknown-warning-option -Werror=ignored-optimization-argument -Werror=option-ignored -Werror=unused-command-line-argument -DVMLINUX_LOAD_ADDRESS=0xffffffff84000000 -DLINKER_LOAD_ADDRESS=0x84000000 -DDATAOFFSET=0 -fmacro-prefix-map== -Wundef -DKBUILD_EXTRA_WARN1 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -std=gnu11 -fms-anonymous-structs -Wno-gnu -Wno-microsoft-anon-tag -mno-check-zero-division -mabi=32 -G 0 -mno-abicalls -fno-pic -pipe -msoft-float -Wa,-msoft-float -ffreestanding -EB -fno-stack-check -march=mips3 -Wa,--trap -DTOOLCHAIN_SUPPORTS_VIRT -Iarch/mips/include/asm/mach-n64 -Iarch/mips/include/asm/mach-generic -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Os -fstack-protector-strong -ftrivial-auto-var-init=zero -fexperimental-late-parse-attributes -fdiagnostics-show-inlining-chain -pg -fstrict-flex-arrays=3 -fno-strict-overflow -fno-stack-check -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wno-format-overflow-non-kprintf -Wno-format-truncation-non-kprintf -Wno-default-const-init-unsafe -Wno-type-limits -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wimplicit-fallthrough -Werror=date-time -Werror=incompatible-pointer-types -Wenum-conversion -Wunused -Wmissing-format-attribute -Wmissing-include-dirs -Wunused-const-variable -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-enum-enum-conversion -Wno-sign-compare -Wno-unused-parameter -gsplit-dwarf -g -DRANDSTRUCT -frandomize-layout-seed-file=./scripts/basic/randstruct.seed -fno-crash-diagnostics -Wno-error=return-type -Wreturn-type -funsigned-char -Wundef -falign-functions=64 -Idrivers/hwmon -Idrivers/hwmon -DMODULE -mlong-calls -DKBUILD_BASENAME='"ltc2992"' -DKBUILD_MODNAME='"ltc2992"' -D__KBUILD_MODNAME=ltc2992 -c -o drivers/hwmon/ltc2992.o drivers/hwmon/ltc2992.c
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-10-11 3:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202610110541.QfROE72r-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.