public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug testsuite/6904] New: buildok/syscall.stp and buildok/aux_syscalls.stp started failing on ia64 and s390x
@ 2008-09-18 15:52 pmuller at redhat dot com
  2008-09-18 18:43 ` [Bug testsuite/6904] " mhiramat at redhat dot com
  2008-09-18 21:10 ` mjw at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: pmuller at redhat dot com @ 2008-09-18 15:52 UTC (permalink / raw)
  To: systemtap

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1554 bytes --]

After this change:

316ebf03eff7fcff893dc9913c4866ad991c0e85
Wed, 17 Sep 2008 16:39:48 +0000 (18:39 +0200)
Removed commented out code and unneeded embedded C-code from aux_syscalls.stp.

these testcases started failing (both in Pass 4):

buildok/syscall.stp on ia64
buildok/aux_syscalls.stp on ia64 and s390x

I didn't investigate what the issue really is, if the testcases are now broken 
(i find this more likely), or if the commit changed the testcase in a way that 
exhibit some possible bug.

Details:

In file included from include/asm/emergency-restart.h:4,
                 from include/linux/reboot.h:75,
                 from /tmp/stapK6fSYY/
stap_a7d55033d853401fc5d2ba0e6d444d2c_295153.c:15759:
include/asm-generic/emergency-restart.h: In function 
‘function__reboot_magic_str’:
include/asm-generic/emergency-restart.h:5: error: invalid storage class for 
function ‘machine_emergency_restart’

Environment:
kernel: 2.6.18-92.el5 (rhel5.2 one)
bundled elfutils 0.137

-- 
           Summary: buildok/syscall.stp and buildok/aux_syscalls.stp started
                    failing on ia64 and s390x
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: pmuller at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=6904

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug testsuite/6904] buildok/syscall.stp and buildok/aux_syscalls.stp started failing on ia64 and s390x
  2008-09-18 15:52 [Bug testsuite/6904] New: buildok/syscall.stp and buildok/aux_syscalls.stp started failing on ia64 and s390x pmuller at redhat dot com
@ 2008-09-18 18:43 ` mhiramat at redhat dot com
  2008-09-18 21:10 ` mjw at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: mhiramat at redhat dot com @ 2008-09-18 18:43 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mhiramat at redhat dot com  2008-09-18 18:42 -------
This is caused by including headers directly in embedded-c function, like

function ... %{
#include <header.h>
...

%}

if header.h including a definition of inline function,
the compiler can't compile this code.

above code pattern should be;

%{
#include <header>
%}

function ... %{
...
%}


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6904

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug testsuite/6904] buildok/syscall.stp and buildok/aux_syscalls.stp started failing on ia64 and s390x
  2008-09-18 15:52 [Bug testsuite/6904] New: buildok/syscall.stp and buildok/aux_syscalls.stp started failing on ia64 and s390x pmuller at redhat dot com
  2008-09-18 18:43 ` [Bug testsuite/6904] " mhiramat at redhat dot com
@ 2008-09-18 21:10 ` mjw at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: mjw at redhat dot com @ 2008-09-18 21:10 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mjw at redhat dot com  2008-09-18 21:09 -------
Sorry, I tested on different x86 and x86_64 kernels, but not on ia64 or s390.
I remove move the reboot.h include back out as suggested in comment #1.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|systemtap at sources dot    |mjw at redhat dot com
                   |redhat dot com              |
             Status|NEW                         |ASSIGNED


http://sourceware.org/bugzilla/show_bug.cgi?id=6904

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-18 21:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-18 15:52 [Bug testsuite/6904] New: buildok/syscall.stp and buildok/aux_syscalls.stp started failing on ia64 and s390x pmuller at redhat dot com
2008-09-18 18:43 ` [Bug testsuite/6904] " mhiramat at redhat dot com
2008-09-18 21:10 ` mjw 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).