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] ```
Fixed in commit 3674b8d35e26.
*** Bug 25852 has been marked as a duplicate of this bug. ***