Bug 24303 - generate stapconf_*.h failed on kernel 5.0
Summary: generate stapconf_*.h failed on kernel 5.0
Status: RESOLVED WORKSFORME
Alias: None
Product: systemtap
Classification: Unclassified
Component: runtime (show other bugs)
Version: unspecified
: P2 critical
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-05 05:15 UTC by curu
Modified: 2019-03-27 00:34 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description curu 2019-03-05 05:15:21 UTC
Can't run on kernel 5.0, failed at pass 4:

root@debian:~# uname -r
5.0.0
root@debian:~# stap -ve 'probe begin { printf("hello\n"); }'
Pass 1: parsed user script and 472 library scripts using 111444virt/83764res/5228shr/78900data kb, in 160usr/30sys/188real ms.
Pass 2: analyzed script: 1 probe, 0 functions, 0 embeds, 0 globals using 113028virt/85412res/5300shr/80484data kb, in 10usr/0sys/6real ms.
Pass 3: translated to C into "/tmp/stapESGfzx/stap_773ec94902f7558ef6659ab574df47ba_793_src.c" using 113028virt/85412res/5300shr/80484data kb, in 0usr/0sys/0real ms.
cc1: fatal error: /tmp/stapESGfzx/stapconf_84f6d6c73e869a4b8ab762584ac21d3a_724.h: No such file or directory
cc1: fatal error: /tmp/stapESGfzx/stapconf_84f6d6c73e869a4b8ab762584ac21d3a_724.h: No such file or directory
compilation terminated.
compilation terminated.
scripts/Makefile.build:276: recipe for target '/tmp/stapESGfzx/stap_773ec94902f7558ef6659ab574df47ba_793_src.o' failed
make[1]: *** [/tmp/stapESGfzx/stap_773ec94902f7558ef6659ab574df47ba_793_src.o] Error 1
make[1]: *** Waiting for unfinished jobs....
scripts/Makefile.build:276: recipe for target '/tmp/stapESGfzx/stap_773ec94902f7558ef6659ab574df47ba_793_aux_0.o' failed
make[1]: *** [/tmp/stapESGfzx/stap_773ec94902f7558ef6659ab574df47ba_793_aux_0.o] Error 1
Makefile:1553: recipe for target '_module_/tmp/stapESGfzx' failed
make: *** [_module_/tmp/stapESGfzx] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compiled C into "stap_773ec94902f7558ef6659ab574df47ba_793.ko" in 390usr/170sys/556real ms.
Pass 4: compilation failed.  [man error::pass4]
Comment 1 Frank Ch. Eigler 2019-03-07 21:37:01 UTC
Please try with git master systemtap.  It has acquired linux-5.0 compatibility.
Comment 2 Frank Ch. Eigler 2019-03-27 00:34:45 UTC
git master is ok