public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/30401] New: s390x specific: invalid application of ‘sizeof’ to incomplete type ‘struct stack_frame’
@ 2023-04-28 12:33 mcermak at redhat dot com
  2023-10-06 21:03 ` [Bug runtime/30401] " wcohen at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mcermak at redhat dot com @ 2023-04-28 12:33 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-10-12 17:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-28 12:33 [Bug runtime/30401] New: s390x specific: invalid application of ‘sizeof’ to incomplete type ‘struct stack_frame’ mcermak at redhat dot com
2023-10-06 21:03 ` [Bug runtime/30401] " wcohen at redhat dot com
2023-10-12  3:45 ` wcohen at redhat dot com
2023-10-12  9:17 ` sam at gentoo dot org
2023-10-12 17:59 ` wcohen at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).