* [Bug runtime/5947] New: make systemtap 0.6.2/0.131 work on F8 2.6.21.7-2.fc8xen
@ 2008-03-17 3:27 eteo at redhat dot com
2008-03-17 3:29 ` [Bug runtime/5947] " eteo at redhat dot com
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: eteo at redhat dot com @ 2008-03-17 3:27 UTC (permalink / raw)
To: systemtap
There were numerous warnings treated as errors when using systemtap and kernel
of the following versions:
fluffy: ~/code/systemtap$ stap -V
SystemTap translator/driver (version 0.6.2/0.131 built 2008-03-16)
Copyright (C) 2005-2008 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
fluffy: ~/code/systemtap$ uname -rm
2.6.21.7-2.fc8xen x86_64
The following commands were executed:
stap -ve 'probe begin { printf("hello world\n") }' -v &>log.txt
stap -DSTAPCONF_INODE_PRIVATE -ve 'probe begin { printf("hello world\n") }' -v
&>log2.txt
The errors are saved in log.txt and log2.txt.
Thanks,
Eugene
--
Summary: make systemtap 0.6.2/0.131 work on F8 2.6.21.7-2.fc8xen
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: eteo at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=5947
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug runtime/5947] make systemtap 0.6.2/0.131 work on F8 2.6.21.7-2.fc8xen
2008-03-17 3:27 [Bug runtime/5947] New: make systemtap 0.6.2/0.131 work on F8 2.6.21.7-2.fc8xen eteo at redhat dot com
@ 2008-03-17 3:29 ` eteo at redhat dot com
2008-03-17 3:29 ` eteo at redhat dot com
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: eteo at redhat dot com @ 2008-03-17 3:29 UTC (permalink / raw)
To: systemtap
------- Additional Comments From eteo at redhat dot com 2008-03-17 03:28 -------
Created an attachment (id=2329)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2329&action=view)
stap -ve 'probe begin { printf("hello world\n") }' -v &>log.txt
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5947
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug runtime/5947] make systemtap 0.6.2/0.131 work on F8 2.6.21.7-2.fc8xen
2008-03-17 3:27 [Bug runtime/5947] New: make systemtap 0.6.2/0.131 work on F8 2.6.21.7-2.fc8xen eteo at redhat dot com
2008-03-17 3:29 ` [Bug runtime/5947] " eteo at redhat dot com
@ 2008-03-17 3:29 ` eteo at redhat dot com
2008-03-17 13:41 ` fche at redhat dot com
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: eteo at redhat dot com @ 2008-03-17 3:29 UTC (permalink / raw)
To: systemtap
------- Additional Comments From eteo at redhat dot com 2008-03-17 03:29 -------
Created an attachment (id=2330)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2330&action=view)
stap -DSTAPCONF_INODE_PRIVATE -ve 'probe begin { printf("hello world\n") }' -v
&>log2.txt
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5947
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug runtime/5947] make systemtap 0.6.2/0.131 work on F8 2.6.21.7-2.fc8xen
2008-03-17 3:27 [Bug runtime/5947] New: make systemtap 0.6.2/0.131 work on F8 2.6.21.7-2.fc8xen eteo at redhat dot com
2008-03-17 3:29 ` [Bug runtime/5947] " eteo at redhat dot com
2008-03-17 3:29 ` eteo at redhat dot com
@ 2008-03-17 13:41 ` fche at redhat dot com
2008-03-17 14:01 ` eteo at redhat dot com
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: fche at redhat dot com @ 2008-03-17 13:41 UTC (permalink / raw)
To: systemtap
------- Additional Comments From fche at redhat dot com 2008-03-17 13:40 -------
The operative gcc warning is "warning: pointer of type 'void *' used in
arithmetic", which is a consequence of -Wpointer-arith. I don't know
why this warning is turned on in your build.
Regardless, our own code should not calculate with uncast void*'s, which
appears to be gnu-c-ism, but rather cast to char*'s first.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5947
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug runtime/5947] make systemtap 0.6.2/0.131 work on F8 2.6.21.7-2.fc8xen
2008-03-17 3:27 [Bug runtime/5947] New: make systemtap 0.6.2/0.131 work on F8 2.6.21.7-2.fc8xen eteo at redhat dot com
` (2 preceding siblings ...)
2008-03-17 13:41 ` fche at redhat dot com
@ 2008-03-17 14:01 ` eteo at redhat dot com
2008-03-17 14:14 ` eteo at redhat dot com
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: eteo at redhat dot com @ 2008-03-17 14:01 UTC (permalink / raw)
To: systemtap
------- Additional Comments From eteo at redhat dot com 2008-03-17 14:00 -------
Looks like -Wpointer-arith is from /lib/modules/2.6.21.7-2.fc8xen/build/Makefile:
315 CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
316 -fno-strict-aliasing -fno-common \
317 -Werror-implicit-function-declaration -Wpointer-arith
Removing -Wpointer-arith, and running scripts, will trigger the following error:
stap_872252efaf2a43c17f3b0b219f69fcf2_15559: Unknown symbol tsc_khz
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5947
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug runtime/5947] make systemtap 0.6.2/0.131 work on F8 2.6.21.7-2.fc8xen
2008-03-17 3:27 [Bug runtime/5947] New: make systemtap 0.6.2/0.131 work on F8 2.6.21.7-2.fc8xen eteo at redhat dot com
` (3 preceding siblings ...)
2008-03-17 14:01 ` eteo at redhat dot com
@ 2008-03-17 14:14 ` eteo at redhat dot com
2008-03-17 14:38 ` eteo at redhat dot com
2008-03-17 15:08 ` eteo at redhat dot com
6 siblings, 0 replies; 8+ messages in thread
From: eteo at redhat dot com @ 2008-03-17 14:14 UTC (permalink / raw)
To: systemtap
------- Additional Comments From eteo at redhat dot com 2008-03-17 14:14 -------
$ uname -rm
2.6.21.7-2.fc8xen x86_64
tsc_khz is not exported.
$ cat runtime/autoconf-tsc-khz.c
#include <linux/version.h>
#include <asm/tsc.h>
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)) && defined(__i386__) <---
removing the arch test will work. x64 is not tested, and so it assumes that
tsc_khz is exported when it's not.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5947
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug runtime/5947] make systemtap 0.6.2/0.131 work on F8 2.6.21.7-2.fc8xen
2008-03-17 3:27 [Bug runtime/5947] New: make systemtap 0.6.2/0.131 work on F8 2.6.21.7-2.fc8xen eteo at redhat dot com
` (4 preceding siblings ...)
2008-03-17 14:14 ` eteo at redhat dot com
@ 2008-03-17 14:38 ` eteo at redhat dot com
2008-03-17 15:08 ` eteo at redhat dot com
6 siblings, 0 replies; 8+ messages in thread
From: eteo at redhat dot com @ 2008-03-17 14:38 UTC (permalink / raw)
To: systemtap
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
http://sourceware.org/bugzilla/show_bug.cgi?id=5947
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug runtime/5947] make systemtap 0.6.2/0.131 work on F8 2.6.21.7-2.fc8xen
2008-03-17 3:27 [Bug runtime/5947] New: make systemtap 0.6.2/0.131 work on F8 2.6.21.7-2.fc8xen eteo at redhat dot com
` (5 preceding siblings ...)
2008-03-17 14:38 ` eteo at redhat dot com
@ 2008-03-17 15:08 ` eteo at redhat dot com
6 siblings, 0 replies; 8+ messages in thread
From: eteo at redhat dot com @ 2008-03-17 15:08 UTC (permalink / raw)
To: systemtap
------- Additional Comments From eteo at redhat dot com 2008-03-17 15:08 -------
runtime/autoconf* change committed:
http://sources.redhat.com/ml/systemtap-cvs/2008-q1/msg00202.html
-Wpointer-arith in kernel-xen reported:
https://bugzilla.redhat.com/show_bug.cgi?id=437807
Thanks,
Eugene
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|systemtap at sources dot |eteo at redhat dot com
|redhat dot com |
http://sourceware.org/bugzilla/show_bug.cgi?id=5947
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-03-17 15:08 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-17 3:27 [Bug runtime/5947] New: make systemtap 0.6.2/0.131 work on F8 2.6.21.7-2.fc8xen eteo at redhat dot com
2008-03-17 3:29 ` [Bug runtime/5947] " eteo at redhat dot com
2008-03-17 3:29 ` eteo at redhat dot com
2008-03-17 13:41 ` fche at redhat dot com
2008-03-17 14:01 ` eteo at redhat dot com
2008-03-17 14:14 ` eteo at redhat dot com
2008-03-17 14:38 ` eteo at redhat dot com
2008-03-17 15:08 ` eteo at redhat 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).