This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/9896] Systemtap source compilation failure on latest Ubuntu
- From: "ananth at in dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 25 Feb 2009 09:35:42 -0000
- Subject: [Bug tapsets/9896] Systemtap source compilation failure on latest Ubuntu
- References: <20090225080041.9896.ankita@in.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From ananth at in dot ibm dot com 2009-02-25 09:35 -------
The following patch fixes the problem for Ankita. Do we want this fix or is
removing -Werror preferred?
---
tapsets.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: systemtap-20feb/tapsets.cxx
===================================================================
--- systemtap-20feb.orig/tapsets.cxx
+++ systemtap-20feb/tapsets.cxx
@@ -2296,9 +2296,9 @@ struct dwflpp
assert(memstream);
fprintf(memstream, "{\n");
- fprintf(memstream, prelude.c_str());
+ fprintf(memstream, "%s", prelude.c_str());
bool deref = c_emit_location (memstream, head, 1);
- fprintf(memstream, postlude.c_str());
+ fprintf(memstream, "%s", postlude.c_str());
fprintf(memstream, " goto out;\n");
// dummy use of deref_fault label, to disable warning if deref() not used
--
http://sourceware.org/bugzilla/show_bug.cgi?id=9896
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.