You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, the open source 7.x version has not been released yet, we don't recommend to use 7.x content, we still recommend to use the latest LTS v6.6 branch for compilation; moreover, since compilation environments vary, we provide a mirror specifically for compilation, can you please refer to this link to try it again: https://mp.weixin.qq.com/s/-jWYq2rTRaTueuN0sAb3lA
Search before asking
DeepFlow Component
Agent
What you expected to happen
Generate file user/socket_trace_bpf_5_2_plus.c
Clang/LLVM 11.0.1
COMPILE ELF kernel version kfunc
BPF socket_trace.bpf.elf
LLVM ERROR: Cannot select: intrinsic %llvm.preserve.struct.access.index
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0. Program arguments: /usr/bin/llc -march=bpf -filetype=obj -mcpu=v2 -o socket_trace.bpf.elf socket_trace.bpf.ll
#0 0x0000565187880afd llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/bin/llc+0x1864afd)
#1 0x000056518787ea14 llvm::sys::RunSignalHandlers() (/usr/bin/llc+0x1862a14)
#2 0x000056518787eb9e SignalHandler(int) (/usr/bin/llc+0x1862b9e)
#3 0x00007fee750ff900 (/usr/bin/../lib/libpthread.so.0+0x13900)
#4 0x00007fee74ba7fd1 raise (/usr/bin/../lib/libc.so.6+0x3cfd1)
#5 0x00007fee74b91546 abort (/usr/bin/../lib/libc.so.6+0x26546)
#6 0x0000565187806dda llvm::report_fatal_error(llvm::Twine const&, bool) (/usr/bin/llc+0x17eadda)
#7 0x0000565187806f3e (/usr/bin/llc+0x17eaf3e)
#8 0x00005651876ef10f llvm::SelectionDAGISel::CannotYetSelect(llvm::SDNode*) (/usr/bin/llc+0x16d310f)
#9 0x00005651876f04c7 llvm::SelectionDAGISel::SelectCodeCommon(llvm::SDNode*, unsigned char const*, unsigned int) (/usr/bin/llc+0x16d44c7)
#10 0x00005651876edb67 llvm::SelectionDAGISel::DoInstructionSelection() (/usr/bin/llc+0x16d1b67)
#11 0x00005651876f5d35 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/usr/bin/llc+0x16d9d35)
#12 0x00005651876f85a8 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/usr/bin/llc+0x16dc5a8)
#13 0x00005651876fa71d llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (/usr/bin/llc+0x16de71d)
#14 0x0000565186ed42b7 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (.part.0) (/usr/bin/llc+0xeb82b7)
#15 0x000056518722772d llvm::FPPassManager::runOnFunction(llvm::Function&) (/usr/bin/llc+0x120b72d)
#16 0x0000565187227eb3 llvm::FPPassManager::runOnModule(llvm::Module&) (/usr/bin/llc+0x120beb3)
#17 0x0000565187227182 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/usr/bin/llc+0x120b182)
#18 0x000056518662f12f compileModule(char**, llvm::LLVMContext&) (/usr/bin/llc+0x61312f)
#19 0x00005651865b08ba main (/usr/bin/llc+0x5948ba)
#20 0x00007fee74b92f0a __libc_start_main (/usr/bin/../lib/libc.so.6+0x27f0a)
#21 0x00005651866286ba _start (/usr/bin/llc+0x60c6ba)
make[1]: *** [Makefile:59: socket_trace.bpf.elf] Aborted (core dumped)
How to reproduce
Try compiling it on linux with kernel version
5.10.234-4
, Clang - 11.0.1 and rustc - 1.84.1DeepFlow version
v7.0.2
DeepFlow agent list
No response
Kubernetes CNI
No response
Operation-System/Kernel version
No response
Anything else
No response
Are you willing to submit a PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: