This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/6410] New: New unwind code causes errors on ia64
- From: "mhiramat at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 15 Apr 2008 20:30:43 -0000
- Subject: [Bug runtime/6410] New: New unwind code causes errors on ia64
- Reply-to: sourceware-bugzilla at sourceware dot org
I've gotten following errors on ia64 with the latest systemtap.
---
$ stap -vve 'probe syscall.open{print("open")}'
SystemTap translator/driver (version 0.7/0.131 dist of git branch master, commit
8558d392)
Copyright (C) 2005-2008 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
Created temporary directory "/tmp/stapDeinE8"
Searched '/usr/share/systemtap/tapset/ia64/*.stp', found 1
Searched '/usr/share/systemtap/tapset/*.stp', found 38
Pass 1: parsed user script and 39 library script(s) in 252usr/4sys/255real ms.
probe sys_open@fs/open.c:1106 kernel section=.text pc=0xa0000001001604c0
Pass 2: analyzed script: 1 probe(s), 1 function(s), 14 embed(s), 0 global(s) in
473usr/48sys/523real ms.
probe_1060 locks nothing
Pass 3: translated to C into
"/tmp/stapDeinE8/stap_6c683725b7f890c59aea9d62153bb149_11848.c" in
31usr/9sys/40real ms.
Running make -C "/lib/modules/2.6.18-87.el5.hitachi53.2/build"
M="/tmp/stapDeinE8" modules >/dev/null
In file included from /usr/share/systemtap/runtime/unwind.c:16,
from /usr/share/systemtap/runtime/stack.c:26,
from
/tmp/stapDeinE8/stap_6c683725b7f890c59aea9d62153bb149_11848.c:44:
/usr/share/systemtap/runtime/unwind/unwind.h:21:2: error: #error "Unsupported
dwarf unwind architecture"
In file included from /usr/share/systemtap/runtime/unwind.c:16,
from /usr/share/systemtap/runtime/stack.c:26,
from
/tmp/stapDeinE8/stap_6c683725b7f890c59aea9d62153bb149_11848.c:44:
/usr/share/systemtap/runtime/unwind/unwind.h:39: error: 'UNW_REGISTER_INFO'
undeclared here (not in a function)
In file included from /usr/share/systemtap/runtime/stack.c:26,
from
/tmp/stapDeinE8/stap_6c683725b7f890c59aea9d62153bb149_11848.c:44:
/usr/share/systemtap/runtime/unwind.c: In function '_stp_create_unwind_hdr':
/usr/share/systemtap/runtime/unwind.c:116: error: implicit declaration of
function '_stp_put_unaligned'
/usr/share/systemtap/runtime/unwind.c: In function 'read_pointer':
/usr/share/systemtap/runtime/unwind.c:281: error: implicit declaration of
function '_stp_get_unaligned'
cc1: warnings being treated as errors
/usr/share/systemtap/runtime/unwind.c: At top level:
/usr/share/systemtap/runtime/unwind.c:674: warning: 'struct unwind_frame_info'
declared inside parameter list
/usr/share/systemtap/runtime/unwind.c:674: warning: its scope is only this
definition or declaration, which is probably not what you want
/usr/share/systemtap/runtime/unwind.c: In function 'unwind':
/usr/share/systemtap/runtime/unwind.c:679: error: implicit declaration of
function 'UNW_PC'
/usr/share/systemtap/runtime/unwind.c:679: error: dereferencing pointer to
incomplete type
/usr/share/systemtap/runtime/unwind.c:679: error: request for member
'call_frame' in something not a structure or union
/usr/share/systemtap/runtime/unwind.c:679: error: invalid operands to binary -
/usr/share/systemtap/runtime/unwind.c:679: warning: initialization makes integer
from pointer without a cast
/usr/share/systemtap/runtime/unwind.c:764: error: dereferencing pointer to
incomplete type
/usr/share/systemtap/runtime/unwind.c:764: error: request for member
'call_frame' in something not a structure or union
/usr/share/systemtap/runtime/unwind.c:782: error: dereferencing pointer to
incomplete type
/usr/share/systemtap/runtime/unwind.c:782: error: request for member
'call_frame' in something not a structure or union
/usr/share/systemtap/runtime/unwind.c:839: error: dereferencing pointer to
incomplete type
/usr/share/systemtap/runtime/unwind.c:839: error: request for member
'call_frame' in something not a structure or union
/usr/share/systemtap/runtime/unwind.c:839: error: implicit declaration of
function 'UNW_DEFAULT_RA'
/usr/share/systemtap/runtime/unwind.c:840: error: dereferencing pointer to
incomplete type
/usr/share/systemtap/runtime/unwind.c:840: error: request for member
'call_frame' in something not a structure or union
/usr/share/systemtap/runtime/unwind.c:843: error: implicit declaration of
function 'UNW_SP'
/usr/share/systemtap/runtime/unwind.c:846: error: implicit declaration of
function 'STACK_LIMIT'
/usr/share/systemtap/runtime/unwind.c:847: warning: comparison of distinct
pointer types lacks a cast
/usr/share/systemtap/runtime/unwind.c:848: warning: comparison of distinct
pointer types lacks a cast
/usr/share/systemtap/runtime/unwind.c:899: error: invalid lvalue in unary '&'
/usr/share/systemtap/runtime/unwind.c:899: warning: comparison of distinct
pointer types lacks a cast
/usr/share/systemtap/runtime/unwind.c:901: error: invalid lvalue in assignment
make[1]: *** [/tmp/stapDeinE8/stap_6c683725b7f890c59aea9d62153bb149_11848.o] Error 1
make: *** [_module_/tmp/stapDeinE8] Error 2
Pass 4: compiled C into "stap_6c683725b7f890c59aea9d62153bb149_11848.ko" in
1669usr/124sys/1785real ms.
Pass 4: compilation failed. Try again with more '-v' (verbose) options.
Running rm -rf /tmp/stapDeinE8
---
I think these errors could happen on the machine other than x86/x86-64.
--
Summary: New unwind code causes errors on ia64
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: mhiramat at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6410
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.