* [Bug runtime/26673] New: The kernel backtrace dumper should not use stack array which may lead to compilation errors @ 2020-09-28 19:36 agentzh at gmail dot com 2020-09-28 20:59 ` [Bug runtime/26673] " agentzh at gmail dot com ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: agentzh at gmail dot com @ 2020-09-28 19:36 UTC (permalink / raw) To: systemtap https://sourceware.org/bugzilla/show_bug.cgi?id=26673 Bug ID: 26673 Summary: The kernel backtrace dumper should not use stack array which may lead to compilation errors Product: systemtap Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: runtime Assignee: systemtap at sourceware dot org Reporter: agentzh at gmail dot com Target Milestone: --- Consider the following example when using a MAXBACKTRACE macro value larger than 60 and the kernel backtrace dumper in the stap runtime, it will lead to compilation errors due to the on-stack array "entries" in the function of the stap runt ``` $ /opt/stap/bin/stap -DMAXBACKTRACE=61 -e 'probe begin { print_backtrace() }' In file included from /tmp/stapy7pTmc/stap_ec9093ee0dc3ecaa0481bbf9075a06bf_1049_src.c:79: /opt/stap/share/systemtap/runtime/stack.c: In function ‘_stp_stack_print_fallback.isra.33.constprop’: /opt/stap/share/systemtap/runtime/stack.c:235:1: error: the frame size of 520 bytes is larger than 512 bytes [-Werror=frame-larger-than=] } ^ cc1: all warnings being treated as errors make[1]: *** [scripts/Makefile.build:276: /tmp/stapy7pTmc/stap_ec9093ee0dc3ecaa0481bbf9075a06bf_1049_src.o] Error 1 make: *** [Makefile:1581: _module_/tmp/stapy7pTmc] Error 2 WARNING: kbuild exited with status: 2 Pass 4: compilation failed. [man error::pass4] ``` -- You are receiving this mail because: You are the assignee for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug runtime/26673] The kernel backtrace dumper should not use stack array which may lead to compilation errors 2020-09-28 19:36 [Bug runtime/26673] New: The kernel backtrace dumper should not use stack array which may lead to compilation errors agentzh at gmail dot com @ 2020-09-28 20:59 ` agentzh at gmail dot com 2020-09-28 21:13 ` agentzh at gmail dot com 2020-09-28 21:13 ` agentzh at gmail dot com 2 siblings, 0 replies; 4+ messages in thread From: agentzh at gmail dot com @ 2020-09-28 20:59 UTC (permalink / raw) To: systemtap https://sourceware.org/bugzilla/show_bug.cgi?id=26673 agentzh <agentzh at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |NOTABUG Status|UNCONFIRMED |RESOLVED --- Comment #1 from agentzh <agentzh at gmail dot com> --- Fixed in commit 3674b8d35e26. -- You are receiving this mail because: You are the assignee for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug runtime/26673] The kernel backtrace dumper should not use stack array which may lead to compilation errors 2020-09-28 19:36 [Bug runtime/26673] New: The kernel backtrace dumper should not use stack array which may lead to compilation errors agentzh at gmail dot com 2020-09-28 20:59 ` [Bug runtime/26673] " agentzh at gmail dot com @ 2020-09-28 21:13 ` agentzh at gmail dot com 2020-09-28 21:13 ` agentzh at gmail dot com 2 siblings, 0 replies; 4+ messages in thread From: agentzh at gmail dot com @ 2020-09-28 21:13 UTC (permalink / raw) To: systemtap https://sourceware.org/bugzilla/show_bug.cgi?id=26673 --- Comment #2 from agentzh <agentzh at gmail dot com> --- *** Bug 25852 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug runtime/26673] The kernel backtrace dumper should not use stack array which may lead to compilation errors 2020-09-28 19:36 [Bug runtime/26673] New: The kernel backtrace dumper should not use stack array which may lead to compilation errors agentzh at gmail dot com 2020-09-28 20:59 ` [Bug runtime/26673] " agentzh at gmail dot com 2020-09-28 21:13 ` agentzh at gmail dot com @ 2020-09-28 21:13 ` agentzh at gmail dot com 2 siblings, 0 replies; 4+ messages in thread From: agentzh at gmail dot com @ 2020-09-28 21:13 UTC (permalink / raw) To: systemtap https://sourceware.org/bugzilla/show_bug.cgi?id=26673 agentzh <agentzh at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|NOTABUG |FIXED -- You are receiving this mail because: You are the assignee for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-09-28 21:13 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-09-28 19:36 [Bug runtime/26673] New: The kernel backtrace dumper should not use stack array which may lead to compilation errors agentzh at gmail dot com 2020-09-28 20:59 ` [Bug runtime/26673] " agentzh at gmail dot com 2020-09-28 21:13 ` agentzh at gmail dot com 2020-09-28 21:13 ` agentzh at gmail 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).