* [Bug runtime/6967] systemtap broken on s390x, compilation error
2008-10-20 13:53 [Bug runtime/6967] New: systemtap broken on s390x, compilation error pmuller at redhat dot com
@ 2008-10-20 18:24 ` jkenisto at us dot ibm dot com
2008-10-20 18:54 ` jkenisto at us dot ibm dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jkenisto at us dot ibm dot com @ 2008-10-20 18:24 UTC (permalink / raw)
To: systemtap
------- Additional Comments From jkenisto at us dot ibm dot com 2008-10-20 18:23 -------
I think the problem is that asm-s390/irqflags.h calls typecheck() (unlike the
other asm/irqflags.h files). typecheck() is defined in linux/kernel.h. Could
you try the following fix?
In runtime/autoconf-oneachcpu-retry.c, change
#include <linux/stddef.h>
to
#include <linux/kernel.h>
Thanks.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6967
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug runtime/6967] systemtap broken on s390x, compilation error
2008-10-20 13:53 [Bug runtime/6967] New: systemtap broken on s390x, compilation error pmuller at redhat dot com
2008-10-20 18:24 ` [Bug runtime/6967] " jkenisto at us dot ibm dot com
@ 2008-10-20 18:54 ` jkenisto at us dot ibm dot com
2008-10-21 12:56 ` pmuller at redhat dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jkenisto at us dot ibm dot com @ 2008-10-20 18:54 UTC (permalink / raw)
To: systemtap
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
http://sourceware.org/bugzilla/show_bug.cgi?id=6967
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug runtime/6967] systemtap broken on s390x, compilation error
2008-10-20 13:53 [Bug runtime/6967] New: systemtap broken on s390x, compilation error pmuller at redhat dot com
2008-10-20 18:24 ` [Bug runtime/6967] " jkenisto at us dot ibm dot com
2008-10-20 18:54 ` jkenisto at us dot ibm dot com
@ 2008-10-21 12:56 ` pmuller at redhat dot com
2008-10-22 0:24 ` jkenisto at us dot ibm dot com
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pmuller at redhat dot com @ 2008-10-21 12:56 UTC (permalink / raw)
To: systemtap
------- Additional Comments From pmuller at redhat dot com 2008-10-21 12:55 -------
Tried to make this change, rebuild and test again - seen the same error
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6967
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug runtime/6967] systemtap broken on s390x, compilation error
2008-10-20 13:53 [Bug runtime/6967] New: systemtap broken on s390x, compilation error pmuller at redhat dot com
` (2 preceding siblings ...)
2008-10-21 12:56 ` pmuller at redhat dot com
@ 2008-10-22 0:24 ` jkenisto at us dot ibm dot com
2008-10-22 0:30 ` jkenisto at us dot ibm dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jkenisto at us dot ibm dot com @ 2008-10-22 0:24 UTC (permalink / raw)
To: systemtap
------- Additional Comments From jkenisto at us dot ibm dot com 2008-10-22 00:22 -------
Created an attachment (id=3013)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=3013&action=view)
test module
Given the to-be-attached Makefile, does this module build cleanly? If not,
what are the error messages?
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6967
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug runtime/6967] systemtap broken on s390x, compilation error
2008-10-20 13:53 [Bug runtime/6967] New: systemtap broken on s390x, compilation error pmuller at redhat dot com
` (3 preceding siblings ...)
2008-10-22 0:24 ` jkenisto at us dot ibm dot com
@ 2008-10-22 0:30 ` jkenisto at us dot ibm dot com
2008-10-22 10:08 ` pmuller at redhat dot com
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jkenisto at us dot ibm dot com @ 2008-10-22 0:30 UTC (permalink / raw)
To: systemtap
------- Additional Comments From jkenisto at us dot ibm dot com 2008-10-22 00:28 -------
Created an attachment (id=3014)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=3014&action=view)
Makefile for building test module
Given this Makefile and m6967.c, please run
$ make > log 2>&1
and post the log file. That should help us understand why
runtime/autoconf-oneachcpu-retry.c isn't compiling successfully.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6967
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug runtime/6967] systemtap broken on s390x, compilation error
2008-10-20 13:53 [Bug runtime/6967] New: systemtap broken on s390x, compilation error pmuller at redhat dot com
` (4 preceding siblings ...)
2008-10-22 0:30 ` jkenisto at us dot ibm dot com
@ 2008-10-22 10:08 ` pmuller at redhat dot com
2008-10-24 19:08 ` jkenisto at us dot ibm dot com
2008-10-29 0:54 ` fche at redhat dot com
7 siblings, 0 replies; 9+ messages in thread
From: pmuller at redhat dot com @ 2008-10-22 10:08 UTC (permalink / raw)
To: systemtap
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1131 bytes --]
------- Additional Comments From pmuller at redhat dot com 2008-10-22 10:07 -------
That compiles cleanly. However, I've modified the Makefile generated by
systemtap do do not throw away the stap_check_build output, and I saw the
following error:
In file included from include/linux/
irqflags.h:46,
from /usr/local/share/systemtap/runtime/autoconf-oneachcpu-
retry.c:2:
include/asm/irqflags.h: In function
raw_irqs_disabled_flags:
include/asm/irqflags.h:49: error: __FLAG_SHIFT undeclared (first use in this
function)
And indeed, if I do a hack and directly include <asm/system.h> (where
__FLAGS_SHIFT is defined) to runtime/autoconf-oneachcpu-retry.c, things start
to work, and systemtap starts to work correctly.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6967
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug runtime/6967] systemtap broken on s390x, compilation error
2008-10-20 13:53 [Bug runtime/6967] New: systemtap broken on s390x, compilation error pmuller at redhat dot com
` (5 preceding siblings ...)
2008-10-22 10:08 ` pmuller at redhat dot com
@ 2008-10-24 19:08 ` jkenisto at us dot ibm dot com
2008-10-29 0:54 ` fche at redhat dot com
7 siblings, 0 replies; 9+ messages in thread
From: jkenisto at us dot ibm dot com @ 2008-10-24 19:08 UTC (permalink / raw)
To: systemtap
------- Additional Comments From jkenisto at us dot ibm dot com 2008-10-24 19:07 -------
Created an attachment (id=3023)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=3023&action=view)
proposed fix
Here's a patch that's intended to address the behaviors described so far. It
seems to work on i386 and x86_64.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6967
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug runtime/6967] systemtap broken on s390x, compilation error
2008-10-20 13:53 [Bug runtime/6967] New: systemtap broken on s390x, compilation error pmuller at redhat dot com
` (6 preceding siblings ...)
2008-10-24 19:08 ` jkenisto at us dot ibm dot com
@ 2008-10-29 0:54 ` fche at redhat dot com
7 siblings, 0 replies; 9+ messages in thread
From: fche at redhat dot com @ 2008-10-29 0:54 UTC (permalink / raw)
To: systemtap
------- Additional Comments From fche at redhat dot com 2008-10-29 00:53 -------
commit 68c7faf
tested on rhel5 s390x|ia64|x86_64|x86 and fedora9 x86_64
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=6967
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 9+ messages in thread