[llvm-bugs] [Bug 49145] New: LLVM ERROR: Unsupported dynamic stack allocation
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Feb 11 05:47:24 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=49145
Bug ID: 49145
Summary: LLVM ERROR: Unsupported dynamic stack allocation
Product: libraries
Version: 11.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: BPF
Assignee: unassignedbugs at nondot.org
Reporter: sbezverk at cisco.com
CC: llvm-bugs at lists.llvm.org
Hello,
I am getting core dump when I try to compile ebpf code.
Stack dump:
0. Program arguments: llc-11 -march=bpf -mcpu=probe -filetype=obj -o
interceptor.o
1. Running pass 'Function Pass Manager' on module '<stdin>'.
2. Running pass 'BPF DAG->DAG Pattern Instruction Selection' on function
'@egress_interceptor'
#0 0x00007f854314b51f llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/lib/x86_64-linux-gnu/libLLVM-11.so.1+0xaa651f)
#1 0x00007f8543149880 llvm::sys::RunSignalHandlers()
(/lib/x86_64-linux-gnu/libLLVM-11.so.1+0xaa4880)
#2 0x00007f854314b9f5 (/lib/x86_64-linux-gnu/libLLVM-11.so.1+0xaa69f5)
#3 0x00007f85426973c0 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x153c0)
#4 0x00007f854218b18b raise
/build/glibc-eX1tMB/glibc-2.31/signal/../sysdeps/unix/sysv/linux/raise.c:51:1
#5 0x00007f854216a859 abort /build/glibc-eX1tMB/glibc-2.31/stdlib/abort.c:81:7
#6 0x00007f854309ed18 (/lib/x86_64-linux-gnu/libLLVM-11.so.1+0x9f9d18)
#7 0x00007f854309eb38 (/lib/x86_64-linux-gnu/libLLVM-11.so.1+0x9f9b38)
#8 0x00007f8544bdd6ff (/lib/x86_64-linux-gnu/libLLVM-11.so.1+0x25386ff)
#9 0x00007f8543683165 (/lib/x86_64-linux-gnu/libLLVM-11.so.1+0xfde165)
#10 0x00007f85436828c4 llvm::SelectionDAG::Legalize()
(/lib/x86_64-linux-gnu/libLLVM-11.so.1+0xfdd8c4)
#11 0x00007f85437ad1c5 llvm::SelectionDAGISel::CodeGenAndEmitDAG()
(/lib/x86_64-linux-gnu/libLLVM-11.so.1+0x11081c5)
#12 0x00007f85437ac612
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&)
(/lib/x86_64-linux-gnu/libLLVM-11.so.1+0x1107612)
#13 0x00007f85437aa311
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&)
(/lib/x86_64-linux-gnu/libLLVM-11.so.1+0x1105311)
#14 0x00007f854341d4ae
llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
(/lib/x86_64-linux-gnu/libLLVM-11.so.1+0xd784ae)
#15 0x00007f854325a689 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/lib/x86_64-linux-gnu/libLLVM-11.so.1+0xbb5689)
#16 0x00007f854325fc33 llvm::FPPassManager::runOnModule(llvm::Module&)
(/lib/x86_64-linux-gnu/libLLVM-11.so.1+0xbbac33)
#17 0x00007f854325aca0 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/lib/x86_64-linux-gnu/libLLVM-11.so.1+0xbb5ca0)
#18 0x000000000040d792 main (/usr/lib/llvm-11/bin/llc+0x40d792)
#19 0x00007f854216c0b3 __libc_start_main
/build/glibc-eX1tMB/glibc-2.31/csu/../csu/libc-start.c:342:3
#20 0x000000000040b0ce _start (/usr/lib/llvm-11/bin/llc+0x40b0ce)
Aborted (core dumped)
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210211/b7c9c7a9/attachment.html>
More information about the llvm-bugs
mailing list