[Bug runtime/30401] New: s390x specific: invalid application of ‘sizeof’ to incomplete type ‘struct stack_frame’
mcermak at redhat dot com
sourceware-bugzilla@sourceware.org
Fri Apr 28 12:33:54 GMT 2023
https://sourceware.org/bugzilla/show_bug.cgi?id=30401
Bug ID: 30401
Summary: s390x specific: invalid application of ‘sizeof’ to
incomplete type ‘struct stack_frame’
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
Assignee: systemtap at sourceware dot org
Reporter: mcermak at redhat dot com
Target Milestone: ---
Recent 5.14.0-302.el9.s390x latest upstream stap
386aba5769bcba3e1149c277f36baab50bbbbb0c shows:
9 s390x # stap -e 'probe process("/bin/bash").function("main") { printf("%x\n",
int_arg(1)) }'
WARNING: cannot find module /usr/bin/bash debuginfo: No DWARF information found
[man warning::debuginfo]
Missing separate debuginfos, use: debuginfo-install bash-5.1.8-6.el9_1.s390x
/tmp/staplihN2Y/stap_7f17fea67823b1d8d78574779801cb03_8083_src.c: In function
‘function___global__stp_get_kernel_stack_param__overload_0’:
/tmp/staplihN2Y/stap_7f17fea67823b1d8d78574779801cb03_8083_src.c:1033:58:
error: invalid application of ‘sizeof’ to incomplete type ‘struct stack_frame’
1033 | addr = (_stp_kernel_stack_pointer(regs) + sizeof(struct
stack_frame)
| ^~~~~~
/tmp/staplihN2Y/stap_7f17fea67823b1d8d78574779801cb03_8083_src.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-infinite-recursion’ may have
been intended to silence earlier diagnostics
make[1]: *** [scripts/Makefile.build:297:
/tmp/staplihN2Y/stap_7f17fea67823b1d8d78574779801cb03_8083_src.o] Error 1
make: *** [Makefile:1923: /tmp/staplihN2Y] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compilation failed. [man error::pass4]
9 s390x #
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list