This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/11726] New: on ppc, systemtap.printf/memory1.exp fails with compile errors
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 18 Jun 2010 18:40:34 -0000
- Subject: [Bug runtime/11726] New: on ppc, systemtap.printf/memory1.exp fails with compile errors
- Reply-to: sourceware-bugzilla at sourceware dot org
On ppc (RHEL5), when the systemtap.printf/memory1.exp testcase is run, it will
fail like this:
Running /root/src/testsuite/systemtap.printf/memory1.exp ...
executing: stap /root/src/testsuite/systemtap.printf/memory1.stp
FAIL: systemtap.printf/memory1.stp
line 1: expected "Test passed"
Got "cc1: warnings being treated as errors"
testcase /root/src/testsuite/systemtap.printf/memory1.exp completed in 2 seconds
When the script the testcase uses is compiled directly, I get:
# stap -vp4 systemtap.printf/memory1.stp
Pass 1: parsed user script and 70 library script(s) using
27328virt/20096res/6144shr kb, in 360usr/0sys/366real ms.
Pass 2: analyzed script: 2 probe(s), 6 function(s), 19 embed(s), 0 global(s)
using 91904virt/69632res/45760shr kb, in 380usr/10sys/385real ms.
Pass 3: translated to C into
"/tmp/stapfGMNUb/stap_ed7d278c674d772665862eaeeaaaba1c_22694.c" using
91904virt/70208res/46336shr kb, in 740usr/20sys/763real ms.
cc1: warnings being treated as errors
/tmp/stapfGMNUb/stap_ed7d278c674d772665862eaeeaaaba1c_22694.c: In function
?probe_2082?:
/tmp/stapfGMNUb/stap_ed7d278c674d772665862eaeeaaaba1c_22694.c:1616: warning:
format ?%lld? expects type ?long long int?, but argument 4 has type ?int64_t?
/tmp/stapfGMNUb/stap_ed7d278c674d772665862eaeeaaaba1c_22694.c:1685: warning:
format ?%lld? expects type ?long long int?, but argument 4 has type ?int64_t?
/tmp/stapfGMNUb/stap_ed7d278c674d772665862eaeeaaaba1c_22694.c:2154: warning:
format ?%lld? expects type ?long long int?, but argument 4 has type ?int64_t?
/tmp/stapfGMNUb/stap_ed7d278c674d772665862eaeeaaaba1c_22694.c:2228: warning:
format ?%lld? expects type ?long long int?, but argument 4 has type ?int64_t?
/tmp/stapfGMNUb/stap_ed7d278c674d772665862eaeeaaaba1c_22694.c:2291: warning:
format ?%lld? expects type ?long long int?, but argument 4 has type ?int64_t?
/tmp/stapfGMNUb/stap_ed7d278c674d772665862eaeeaaaba1c_22694.c:2354: warning:
format ?%lld? expects type ?long long int?, but argument 4 has type ?int64_t?
/tmp/stapfGMNUb/stap_ed7d278c674d772665862eaeeaaaba1c_22694.c:2480: warning:
format ?%lld? expects type ?long long int?, but argument 4 has type ?long int?
make[1]: *** [/tmp/stapfGMNUb/stap_ed7d278c674d772665862eaeeaaaba1c_22694.o] Error 1
make: *** [_module_/tmp/stapfGMNUb] Error 2
Pass 4: compiled C into "stap_ed7d278c674d772665862eaeeaaaba1c_22694.ko" in
560usr/80sys/658real ms.
Pass 4: compilation failed. Try again with another '--vp 0001' option.
These compile errors should not happen.
--
Summary: on ppc, systemtap.printf/memory1.exp fails with compile
errors
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: dsmith at redhat dot com
GCC host triplet: ppc
http://sourceware.org/bugzilla/show_bug.cgi?id=11726
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.