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/6510] New: Execution of systemtap script gives compilation error with systemtap-20080510 snapshot.


Environment: Kernel 2.6.26-rc2, elfutils-0.131, arch ppc,
systemtap-20080510-snapshot.

================================================================
Execution of simple systemtap script gives compilation errors and hence all
tests in systemtap testcases fails. 
This bug along with bug#6429 is preventing me from running systemtap weekly
tests on ppc system from past 2 weeks.

[root@llm27lp1 src]# ./stap -vv -e 'probe syscall.open { printf("hi\n")}'
SystemTap translator/driver (version 0.7/0.131 non-git sources)
Copyright (C) 2005-2008 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
Created temporary directory "/tmp/stapmynMgU"
Searched '/usr/local/share/systemtap/tapset/ppc64/*.stp', found 1
Searched '/usr/local/share/systemtap/tapset/*.stp', found 38
Pass 1: parsed user script and 39 library script(s) in 360usr/0sys/407real ms.
probe sys_open@fs/open.c:1100 kernel section=.text pc=0xc0000000000f11dc
probe compat_sys_open@fs/compat.c:1206 kernel section=.text pc=0xc00000000013462c
Pass 2: analyzed script: 2 probe(s), 0 function(s), 14 embed(s), 0 global(s) in
600usr/80sys/802real ms.
probe_1107 locks nothing
probe_1108 elided, duplicates probe_1107
Pass 3: translated to C into
"/tmp/stapmynMgU/stap_1f77cab37be5800d43763c4a185051b8_11761.c" in
70usr/10sys/86real ms.
Running make -C "/lib/modules/2.6.26-rc2/build" M="/tmp/stapmynMgU" modules
>/dev/null
In file included from /usr/local/share/systemtap/runtime/transport/transport.c:22,
                 from /usr/local/share/systemtap/runtime/print.c:17,
                 from /usr/local/share/systemtap/runtime/runtime.h:82,
                 from
/tmp/stapmynMgU/stap_1f77cab37be5800d43763c4a185051b8_11761.c:41:
/usr/local/share/systemtap/runtime/transport/symbols.c: In function
'_stp_load_module_symbols':
/usr/local/share/systemtap/runtime/transport/symbols.c:407: error: dereferencing
pointer to incomplete type
/usr/local/share/systemtap/runtime/transport/symbols.c:425: error: dereferencing
pointer to incomplete type
/usr/local/share/systemtap/runtime/transport/symbols.c:427: error: dereferencing
pointer to incomplete type
/usr/local/share/systemtap/runtime/transport/symbols.c:456: error: dereferencing
pointer to incomplete type
/usr/local/share/systemtap/runtime/transport/symbols.c:457: error: dereferencing
pointer to incomplete type
/usr/local/share/systemtap/runtime/transport/symbols.c:460: error: dereferencing
pointer to incomplete type
make[1]: *** [/tmp/stapmynMgU/stap_1f77cab37be5800d43763c4a185051b8_11761.o] Error 1
make: *** [_module_/tmp/stapmynMgU] Error 2
Pass 4: compiled C into "stap_1f77cab37be5800d43763c4a185051b8_11761.ko" in
1910usr/250sys/2463real ms.
Pass 4: compilation failed.  Try again with more '-v' (verbose) options.
Running rm -rf /tmp/stapmynMgU

-- 
           Summary: Execution of systemtap script gives compilation error
                    with systemtap-20080510 snapshot.
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: critical
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: srinivasa at in dot ibm dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=6510

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


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