From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: /bin/bash: line 1: 1095456 Segmentation fault clang -Wp,-MMD,net/ipv6/.sit.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./includ...
Date: Sun, 12 Jul 2026 04:52:23 +0800 [thread overview]
Message-ID: <202607120443.9PdOP0WC-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: Mateusz Guzik <mjguzik@gmail.com>
CC: Christian Brauner <brauner@kernel.org>
CC: Jan Kara <jack@suse.cz>
Hi Mateusz,
FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: dd3210c47e8d3ac6b4e9141fc68acc03b38c0ba3
commit: ac8bcfc07d0ba68721a4ff750e7df12d203ae6ac fs: relocate and tidy up ihold()
date: 9 weeks ago
:::::: branch date: 18 hours ago
:::::: commit date: 9 weeks ago
config: mips-randconfig-r062-20260707 (https://download.01.org/0day-ci/archive/20260712/202607120443.9PdOP0WC-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 0a2fb2a2269da0e2a3e230beb6cad39ca314db33)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260712/202607120443.9PdOP0WC-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: ac8bcfc07d0b ("fs: relocate and tidy up ihold()")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202607120443.9PdOP0WC-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,net/ipv6/.sit.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 -EL -fno-stack-check -march=mips4 -Wa,--trap -DTOOLCHAIN_SUPPORTS_VIRT -Iarch/mips/include/asm/mach-rm -Iarch/mips/include/asm/mach-generic -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Os -fstack-protector-strong -ftrivial-auto-var-init=pattern -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 -g -gdwarf-5 -DRANDSTRUCT -frandomize-layout-seed-file=./scripts/basic/randstruct.seed -fno-crash-diagnostics -Wno-error=return-type -Wreturn-type -funsigned-char -Wundef -falign-functions=64 -fsanitize=array-bounds -fsanitize=shift -fsanitize=unreachable -fsanitize=bool -Inet/ipv6 -Inet/ipv6 -DKBUILD_MODFILE=\"net/ipv6/sit\" -DKBUILD_BASENAME=\"sit\" -DKBUILD_MODNAME=\"sit\" -D__KBUILD_MODNAME=sit -c -o net/ipv6/sit.o net/ipv6/sit.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'net/ipv6/sit.c'.
4. Running pass 'Branch Probability Basic Block Placement' on function '@ipip6_rcv'
#0 0x000055c1f34f76da llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (clang-23+0x3e266da)
#1 0x000055c1f34f52a4 llvm::sys::CleanupOnSignal(unsigned long) (clang-23+0x3e242a4)
#2 0x000055c1f342aa00 CrashRecoverySignalHandler(int) CrashRecoveryContext.cpp:0:0
#3 0x00007fc0f9d3edf0 (/lib/x86_64-linux-gnu/libc.so.6+0x3fdf0)
#4 0x000055c1f2b1b24f llvm::TailDuplicator::shouldTailDuplicate(bool, llvm::MachineBasicBlock&) (.part.0) TailDuplicator.cpp:0:0
#5 0x000055c1f286228e (anonymous namespace)::MachineBlockPlacement::precomputeTriangleChains() MachineBlockPlacement.cpp:0:0
#6 0x000055c1f286febb (anonymous namespace)::MachineBlockPlacement::run(llvm::MachineFunction&) MachineBlockPlacement.cpp:0:0
#7 0x000055c1f28732cc (anonymous namespace)::MachineBlockPlacementLegacy::runOnMachineFunction(llvm::MachineFunction&) (.part.0) MachineBlockPlacement.cpp:0:0
#8 0x000055c1f28b56b3 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (clang-23+0x31e46b3)
#9 0x000055c1f2e04979 llvm::FPPassManager::runOnFunction(llvm::Function&) (clang-23+0x3733979)
#10 0x000055c1f2e04dac llvm::FPPassManager::runOnModule(llvm::Module&) (clang-23+0x3733dac)
#11 0x000055c1f2e0594a (anonymous namespace)::MPPassManager::runOnModule(llvm::Module&) LegacyPassManager.cpp:0:0
#12 0x000055c1f2e0601c llvm::legacy::PassManagerImpl::run(llvm::Module&) (clang-23+0x373501c)
#13 0x000055c1f38a11af (anonymous namespace)::EmitAssemblyHelper::TimeCodegenPasses(llvm::function_ref<void ()>) BackendUtil.cpp:0:0
#14 0x000055c1f38b29f2 (anonymous namespace)::EmitAssemblyHelper::emitAssembly(clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>, clang::BackendConsumer*) (.constprop.0) BackendUtil.cpp:0:0
#15 0x000055c1f38b2c2f clang::emitBackendOutput(clang::CompilerInstance&, clang::CodeGenOptions&, llvm::StringRef, 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-23+0x41e1c2f)
#16 0x000055c1f3ee8907 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (clang-23+0x4817907)
#17 0x000055c1f58f2a8c clang::ParseAST(clang::Sema&, bool, bool) (clang-23+0x6221a8c)
#18 0x000055c1f424b35e clang::FrontendAction::Execute() (clang-23+0x4b7a35e)
#19 0x000055c1f41d675e clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (clang-23+0x4b0575e)
#20 0x000055c1f4334a07 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (clang-23+0x4c63a07)
#21 0x000055c1f053f4c8 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (clang-23+0xe6e4c8)
#22 0x000055c1f0537193 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) driver.cpp:0:0
#23 0x000055c1f05371d3 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 0x000055c1f3f61ff9 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 0x000055c1f342ad63 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (clang-23+0x3d59d63)
#26 0x000055c1f3f6354c 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 0x000055c1f3f1e848 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (clang-23+0x484d848)
#28 0x000055c1f3f1f7e2 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (clang-23+0x484e7e2)
#29 0x000055c1f3f3303c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (clang-23+0x486203c)
#30 0x000055c1f053be52 clang_main(int, char**, llvm::ToolContext const&) (clang-23+0xe6ae52)
#31 0x000055c1f04573f9 main (clang-23+0xd863f9)
#32 0x00007fc0f9d28ca8 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca8)
#33 0x00007fc0f9d28d65 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d65)
#34 0x000055c1f0536bf1 _start (clang-23+0xe65bf1)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
>> /bin/bash: line 1: 1095456 Segmentation fault clang -Wp,-MMD,net/ipv6/.sit.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 -EL -fno-stack-check -march=mips4 -Wa,--trap -DTOOLCHAIN_SUPPORTS_VIRT -Iarch/mips/include/asm/mach-rm -Iarch/mips/include/asm/mach-generic -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Os -fstack-protector-strong -ftrivial-auto-var-init=pattern -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 -g -gdwarf-5 -DRANDSTRUCT -frandomize-layout-seed-file=./scripts/basic/randstruct.seed -fno-crash-diagnostics -Wno-error=return-type -Wreturn-type -funsigned-char -Wundef -falign-functions=64 -fsanitize=array-bounds -fsanitize=shift -fsanitize=unreachable -fsanitize=bool -Inet/ipv6 -Inet/ipv6 -DKBUILD_MODFILE='"net/ipv6/sit"' -DKBUILD_BASENAME='"sit"' -DKBUILD_MODNAME='"sit"' -D__KBUILD_MODNAME=sit -c -o net/ipv6/sit.o net/ipv6/sit.c
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-07-11 20:52 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=202607120443.9PdOP0WC-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.