* [Bug tapsets/9896] New: Systemtap source compilation failure on latest Ubuntu
@ 2009-02-25 9:35 ankita at in dot ibm dot com
2009-02-25 9:52 ` [Bug tapsets/9896] " mjw at redhat dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: ankita at in dot ibm dot com @ 2009-02-25 9:35 UTC (permalink / raw)
To: systemtap
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1129 bytes --]
When compiling the latest systemtap tarball, v 0;9 with 0.140 elfutils package,
gives the following compile time warning:
tapsets.cxx: In member function std::string
dwflpp::express_as_string(std::string, std::string, location*):
tapsets.cxx:2299: error: format not a string literal and no format arguments
tapsets.cxx:2301: error: format not a string literal and no format arguments
Since the Makefile passes the -Werror flag, warnings are treated as errors and
the compilation aborts.
This was seen on a x86_64 system on Ubuntu Intrepid (8.10), running 2.6.29-rc4
kernel, with gcc version 4.3.2.
--
Summary: Systemtap source compilation failure on latest Ubuntu
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: tapsets
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: ankita at in dot ibm dot com
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tapsets/9896] Systemtap source compilation failure on latest Ubuntu
2009-02-25 9:35 [Bug tapsets/9896] New: Systemtap source compilation failure on latest Ubuntu ankita at in dot ibm dot com
@ 2009-02-25 9:52 ` mjw at redhat dot com
2009-02-25 9:52 ` ananth at in dot ibm dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: mjw at redhat dot com @ 2009-02-25 9:52 UTC (permalink / raw)
To: systemtap
------- Additional Comments From mjw at redhat dot com 2009-02-25 09:50 -------
(In reply to comment #1)
> The following patch fixes the problem for Ankita. Do we want this fix or is
> removing -Werror preferred?
IMHO we want this fix and keep -Werror, it catches important stuff.
--
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tapsets/9896] Systemtap source compilation failure on latest Ubuntu
2009-02-25 9:35 [Bug tapsets/9896] New: Systemtap source compilation failure on latest Ubuntu ankita at in dot ibm dot com
2009-02-25 9:52 ` [Bug tapsets/9896] " mjw at redhat dot com
@ 2009-02-25 9:52 ` ananth at in dot ibm dot com
2009-02-25 10:22 ` mjw at redhat dot com
2009-02-25 10:33 ` ananth at in dot ibm dot com
3 siblings, 0 replies; 5+ messages in thread
From: ananth at in dot ibm dot com @ 2009-02-25 9:52 UTC (permalink / raw)
To: systemtap
------- 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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tapsets/9896] Systemtap source compilation failure on latest Ubuntu
2009-02-25 9:35 [Bug tapsets/9896] New: Systemtap source compilation failure on latest Ubuntu ankita at in dot ibm dot com
2009-02-25 9:52 ` [Bug tapsets/9896] " mjw at redhat dot com
2009-02-25 9:52 ` ananth at in dot ibm dot com
@ 2009-02-25 10:22 ` mjw at redhat dot com
2009-02-25 10:33 ` ananth at in dot ibm dot com
3 siblings, 0 replies; 5+ messages in thread
From: mjw at redhat dot com @ 2009-02-25 10:22 UTC (permalink / raw)
To: systemtap
------- Additional Comments From mjw at redhat dot com 2009-02-25 09:52 -------
*** Bug 9898 has been marked as a duplicate of this bug. ***
--
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tapsets/9896] Systemtap source compilation failure on latest Ubuntu
2009-02-25 9:35 [Bug tapsets/9896] New: Systemtap source compilation failure on latest Ubuntu ankita at in dot ibm dot com
` (2 preceding siblings ...)
2009-02-25 10:22 ` mjw at redhat dot com
@ 2009-02-25 10:33 ` ananth at in dot ibm dot com
3 siblings, 0 replies; 5+ messages in thread
From: ananth at in dot ibm dot com @ 2009-02-25 10:33 UTC (permalink / raw)
To: systemtap
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|systemtap at sources dot |ananth at in dot ibm dot com
|redhat dot com |
Status|NEW |ASSIGNED
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-02-25 10:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-25 9:35 [Bug tapsets/9896] New: Systemtap source compilation failure on latest Ubuntu ankita at in dot ibm dot com
2009-02-25 9:52 ` [Bug tapsets/9896] " mjw at redhat dot com
2009-02-25 9:52 ` ananth at in dot ibm dot com
2009-02-25 10:22 ` mjw at redhat dot com
2009-02-25 10:33 ` ananth at in dot ibm dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).