This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/18634] New: on rawhide, using timer probes gets a compilation error


https://sourceware.org/bugzilla/show_bug.cgi?id=18634

            Bug ID: 18634
           Summary: on rawhide, using timer probes gets a compilation
                    error
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: dsmith at redhat dot com
  Target Milestone: ---

On 4.2.0-0.rc0.git4.1.fc23.x86_64, I get the following:

====
stap -v -p4 -e 'probe timer.s(5) {exit()}'
Pass 1: parsed user script and 109 library script(s) using
232092virt/44188res/7068shr/36912data kb, in 210usr/100sys/304real ms.
Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 embed(s), 0 global(s)
using 232884virt/45220res/7324shr/37704data kb, in 0usr/0sys/7real ms.
Pass 3: translated to C into
"/tmp/stappCeG4j/stap_43a98ca53d900be8c821e350a2d2cb0b_1024_src.c" using
232884virt/45620res/7708shr/37704data kb, in 10usr/0sys/0real ms.
In file included from /usr/local/share/systemtap/runtime/timer.c:17:0,
                 from
/tmp/stappCeG4j/stap_43a98ca53d900be8c821e350a2d2cb0b_1024_src.c:175:
/usr/local/share/systemtap/runtime/linux/timer.c: In function
â_stp_hrtimer_initâ:
/usr/local/share/systemtap/runtime/linux/timer.c:19:2: error: implicit
declaration of function âhrtimer_get_resâ
[-Werror=implicit-function-declaration]
  hrtimer_get_res (CLOCK_MONOTONIC, &res);
  ^
cc1: all warnings being treated as errors
scripts/Makefile.build:258: recipe for target
'/tmp/stappCeG4j/stap_43a98ca53d900be8c821e350a2d2cb0b_1024_src.o' failed
make[1]: *** [/tmp/stappCeG4j/stap_43a98ca53d900be8c821e350a2d2cb0b_1024_src.o]
Error 1
Makefile:1386: recipe for target '_module_/tmp/stappCeG4j' failed
make: *** [_module_/tmp/stappCeG4j] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compiled C into "stap_43a98ca53d900be8c821e350a2d2cb0b_1024.ko" in
2310usr/2610sys/4367real ms.
Pass 4: compilation failed.  [man error::pass4]
====

-- 
You are receiving this mail because:
You are the assignee for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]