This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/6405] New: New unwind code uses nsection field unavailable in earlier kernels
- From: "wcohen at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 14 Apr 2008 19:50:19 -0000
- Subject: [Bug runtime/6405] New: New unwind code uses nsection field unavailable in earlier kernels
- Reply-to: sourceware-bugzilla at sourceware dot org
The new unwind code makes use of the nsections field in struct
module_sect_attrs. On RHEL 5 (2.6.18-85.el5) and RHEL4 kernel end up getting
error messages like the following when trying to build instrumentation:
Running make -C "/lib/modules/2.6.18-85.el5/build" M="/tmp/stapKFGpdQ" modules
>/dev/null
In file included from
/home/wcohen/systemtap_write/install/share/systemtap/runtime/transport/transport.c:22,
from
/home/wcohen/systemtap_write/install/share/systemtap/runtime/print.c:17,
from
/home/wcohen/systemtap_write/install/share/systemtap/runtime/runtime.h:86,
from
/tmp/stapKFGpdQ/stap_1a82096793b7628df9623091266543e6_453.c:42:
/home/wcohen/systemtap_write/install/share/systemtap/runtime/transport/symbols.c: In
function '_stp_load_module_symbols':
/home/wcohen/systemtap_write/install/share/systemtap/runtime/transport/symbols.c:411:
error: 'struct module_sect_attrs' has no member named 'nsections'
/home/wcohen/systemtap_write/install/share/systemtap/runtime/transport/symbols.c:441:
error: 'struct module_sect_attrs' has no member named 'nsections'
Looking through git found the patch that introduced that additional field to the
struct:
http://git.kernel.org/?p=linux/kernel/git/eranian/linux-2.6.git;a=commitdiff;h=04b1db9fd7eea63c9663072feece616ea41b0a79
--
Summary: New unwind code uses nsection field unavailable in
earlier kernels
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: wcohen at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6405
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.