From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: /bin/bash: line 1: 2234372 Segmentation fault clang -Wp,-MMD,arch/mips/math-emu/.sp_tlong.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/...
Date: Tue, 03 Mar 2026 20:13:30 +0800 [thread overview]
Message-ID: <202603032025.96Ws1pHR-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: Brahmajit Das <listout@listout.xyz>
CC: Alexei Starovoitov <ast@kernel.org>
Hi Brahmajit,
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: af4e9ef3d78420feb8fe58cd9a1ab80c501b3c08
commit: a1e83d4c0361f4b0e3b7ef8b603bf5e5ef60af86 selftests/bpf: Fix redefinition of 'off' as different kind of symbol
date: 5 months ago
:::::: branch date: 19 hours ago
:::::: commit date: 5 months ago
config: mips-randconfig-r053-20260303 (https://download.01.org/0day-ci/archive/20260303/202603032025.96Ws1pHR-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 9a109fbb6e184ec9bcce10615949f598f4c974a9)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260303/202603032025.96Ws1pHR-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
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202603032025.96Ws1pHR-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, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: clang -Wp,-MMD,arch/mips/math-emu/.sp_tlong.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=0xffffffff80101000 -DLINKER_LOAD_ADDRESS=0x80101000 -DDATAOFFSET=0 -fmacro-prefix-map== -Wundef -DKBUILD_EXTRA_WARN1 -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -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 -O2 -fno-stack-protector -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-gnu -Wno-format-overflow-non-kprintf -Wno-format-truncation-non-kprintf -Wno-default-const-init-unsafe -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-type-limits -Wno-shift-negative-value -Wno-enum-enum-conversion -Wno-sign-compare -Wno-unused-parameter -DRANDSTRUCT -frandomize-layout-seed-file=./scripts/basic/randstruct.seed -fno-crash-diagnostics -Wno-error=return-type -Wreturn-type -funsigned-char -Wundef -falign-functions=64 -Iarch/mips/math-emu -Iarch/mips/math-emu -DKBUILD_MODFILE=\"arch/mips/math-emu/sp_tlong\" -DKBUILD_BASENAME=\"sp_tlong\" -DKBUILD_MODNAME=\"sp_tlong\" -D__KBUILD_MODNAME=kmod_sp_tlong -c -o arch/mips/math-emu/sp_tlong.o arch/mips/math-emu/sp_tlong.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'arch/mips/math-emu/sp_tlong.c'.
4. Running pass 'Branch Probability Basic Block Placement' on function '@ieee754sp_tlong'
#0 0x000055ade986d9fb llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (clang-23+0x41019fb)
#1 0x000055ade986b5c4 llvm::sys::CleanupOnSignal(unsigned long) (clang-23+0x40ff5c4)
#2 0x000055ade979fa60 CrashRecoverySignalHandler(int) CrashRecoveryContext.cpp:0:0
#3 0x00007fe5c593fdf0 (/lib/x86_64-linux-gnu/libc.so.6+0x3fdf0)
#4 0x000055ade8e162af llvm::TailDuplicator::shouldTailDuplicate(bool, llvm::MachineBasicBlock&) (.part.0) TailDuplicator.cpp:0:0
#5 0x000055ade8b23d14 (anonymous namespace)::MachineBlockPlacement::buildCFGChains() MachineBlockPlacement.cpp:0:0
#6 0x000055ade8b266f9 (anonymous namespace)::MachineBlockPlacement::run(llvm::MachineFunction&) MachineBlockPlacement.cpp:0:0
#7 0x000055ade8b297c1 (anonymous namespace)::MachineBlockPlacementLegacy::runOnMachineFunction(llvm::MachineFunction&) (.part.0) MachineBlockPlacement.cpp:0:0
#8 0x000055ade8b796e8 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (clang-23+0x340d6e8)
#9 0x000055ade9151ea9 llvm::FPPassManager::runOnFunction(llvm::Function&) (clang-23+0x39e5ea9)
#10 0x000055ade915204c llvm::FPPassManager::runOnModule(llvm::Module&) (clang-23+0x39e604c)
#11 0x000055ade91512b8 llvm::legacy::PassManagerImpl::run(llvm::Module&) (clang-23+0x39e52b8)
#12 0x000055ade9c613d4 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+0x44f53d4)
#13 0x000055adea2969d7 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (clang-23+0x4b2a9d7)
#14 0x000055adebbe34dc clang::ParseAST(clang::Sema&, bool, bool) (clang-23+0x64774dc)
#15 0x000055adea5d9d7a clang::FrontendAction::Execute() (clang-23+0x4e6dd7a)
#16 0x000055adea554ce6 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (clang-23+0x4de8ce6)
#17 0x000055adea6bcb87 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (clang-23+0x4f50b87)
#18 0x000055ade66b7315 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (clang-23+0xf4b315)
#19 0x000055ade66af013 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) driver.cpp:0:0
#20 0x000055ade66af053 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
#21 0x000055adea314e89 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
#22 0x000055ade979fdc3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (clang-23+0x4033dc3)
#23 0x000055adea3155b4 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
#24 0x000055adea2d5928 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (clang-23+0x4b69928)
#25 0x000055adea2d6882 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (clang-23+0x4b6a882)
#26 0x000055adea2e6fcc clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (clang-23+0x4b7afcc)
#27 0x000055ade66b3ca3 clang_main(int, char**, llvm::ToolContext const&) (clang-23+0xf47ca3)
#28 0x000055ade654ca69 main (clang-23+0xde0a69)
#29 0x00007fe5c5929ca8 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca8)
#30 0x00007fe5c5929d65 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d65)
#31 0x000055ade66aea51 _start (clang-23+0xf42a51)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
>> /bin/bash: line 1: 2234372 Segmentation fault clang -Wp,-MMD,arch/mips/math-emu/.sp_tlong.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=0xffffffff80101000 -DLINKER_LOAD_ADDRESS=0x80101000 -DDATAOFFSET=0 -fmacro-prefix-map== -Wundef -DKBUILD_EXTRA_WARN1 -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -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 -O2 -fno-stack-protector -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-gnu -Wno-format-overflow-non-kprintf -Wno-format-truncation-non-kprintf -Wno-default-const-init-unsafe -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-type-limits -Wno-shift-negative-value -Wno-enum-enum-conversion -Wno-sign-compare -Wno-unused-parameter -DRANDSTRUCT -frandomize-layout-seed-file=./scripts/basic/randstruct.seed -fno-crash-diagnostics -Wno-error=return-type -Wreturn-type -funsigned-char -Wundef -falign-functions=64 -Iarch/mips/math-emu -Iarch/mips/math-emu -DKBUILD_MODFILE='"arch/mips/math-emu/sp_tlong"' -DKBUILD_BASENAME='"sp_tlong"' -DKBUILD_MODNAME='"sp_tlong"' -D__KBUILD_MODNAME=kmod_sp_tlong -c -o arch/mips/math-emu/sp_tlong.o arch/mips/math-emu/sp_tlong.c
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-03-03 12:14 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=202603032025.96Ws1pHR-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.