http://bugzilla.opensuse.org/show_bug.cgi?id=1161296 Bug ID: 1161296 Summary: systemtap print_backtrace() Pass 4: compilation failed Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-maintainers@forge.provo.novell.com Reporter: francois.rigault@amadeus.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- As reported on other distributions (eg https://bugzilla.redhat.com/show_bug.cgi?id=1781471) using tumbleweed with kernel 5.4.10-1 and systemtap-4.2-1.1.x86_64: systemtap is unable to compile code containing print_backtrace: stap -ve 'probe module("af_packet").function("packet_snd") { print_backtrace(); }' Pass 1: parsed user script and 476 library scripts using 97380virt/88480res/6760shr/81864data kb, in 140usr/30sys/165real ms. Pass 2: analyzed script: 1 probe, 1 function, 0 embeds, 0 globals using 100080virt/92216res/7644shr/84564data kb, in 60usr/210sys/274real ms. Pass 3: translated to C into "/tmp/stapM7AiZq/stap_b43d9440761b51b24d0178b3b434f704_1179_src.c" using 100080virt/92492res/7900shr/84564data kb, in 70usr/210sys/282real ms. In file included from ./include/asm-generic/bug.h:5, from ./arch/x86/include/asm/bug.h:83, from ./include/linux/bug.h:5, from ./include/linux/mmdebug.h:5, from ./include/linux/gfp.h:5, from /usr/share/systemtap/runtime/linux/runtime_defines.h:20, from /usr/share/systemtap/runtime/runtime_defines.h:8, from /tmp/stapM7AiZq/stap_b43d9440761b51b24d0178b3b434f704_1179_src.c:11: /usr/share/systemtap/runtime/unwind/unwind.h: In function ‘read_ptr_sect’: ./include/linux/compiler.h:328:5: error: this statement may fall through [-Werror=implicit-fallthrough=] 328 | do { \ | ^ ./include/linux/compiler.h:338:2: note: in expansion of macro ‘__compiletime_assert’ 338 | __compiletime_assert(condition, msg, prefix, suffix) | ^~~~~~~~~~~~~~~~~~~~ ./include/linux/compiler.h:350:2: note: in expansion of macro ‘_compiletime_assert’ 350 | _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) | ^~~~~~~~~~~~~~~~~~~ ./include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ./include/linux/build_bug.h:50:2: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ /usr/share/systemtap/runtime/unwind/unwind.h:159:3: note: in expansion of macro ‘BUILD_BUG_ON’ 159 | BUILD_BUG_ON(sizeof(u64) != sizeof(value)); | ^~~~~~~~~~~~ In file included from /usr/share/systemtap/runtime/unwind.c:16, from /usr/share/systemtap/runtime/linux/runtime.h:255, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stapM7AiZq/stap_b43d9440761b51b24d0178b3b434f704_1179_src.c:27: /usr/share/systemtap/runtime/unwind/unwind.h:164:2: note: here 164 | case DW_EH_PE_absptr: | ^~~~ cc1: all warnings being treated as errors make[1]: *** [scripts/Makefile.build:266: /tmp/stapM7AiZq/stap_b43d9440761b51b24d0178b3b434f704_1179_src.o] Error 1 make: *** [Makefile:1667: /tmp/stapM7AiZq] Error 2 WARNING: kbuild exited with status: 2 Pass 4: compiled C into "stap_b43d9440761b51b24d0178b3b434f704_1179.ko" in 9070usr/1360sys/10930real ms. Pass 4: compilation failed. [man error::pass4] -- You are receiving this mail because: You are on the CC list for the bug.