This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/13445] New: control.c:137: error: the frame size of 264 bytes is larger than 256 bytes
- From: "mjw at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Mon, 28 Nov 2011 11:30:09 +0000
- Subject: [Bug runtime/13445] New: control.c:137: error: the frame size of 264 bytes is larger than 256 bytes
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13445
Bug #: 13445
Summary: control.c:137: error: the frame size of 264 bytes is
larger than 256 bytes
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap@sourceware.org
ReportedBy: mjw@redhat.com
Classification: Unclassified
After commit 5137a7 'PR13354: remote_id() and remote_uri() tapset functions', I
get the following on s390x (linux kernel 2.6.32-220.el6.s390x with gcc 4.4.6
20110731):
cc1: warnings being treated as errors
In file included from
/root/install/share/systemtap/runtime/transport/transport.c:64,
from /root/install/share/systemtap/runtime/print.c:17,
from
/root/install/share/systemtap/runtime/runtime_context.h:16,
from
/tmp/stapxAwe7M/stap_1dec37041fd9e653dbc51ff80f43b08b_11496_src.c:760:
/root/install/share/systemtap/runtime/transport/control.c: In function
'_stp_ctl_write_cmd':
/root/install/share/systemtap/runtime/transport/control.c:137: error: the frame
size of 264 bytes is larger than 256 bytes
make[4]: ***
[/tmp/stapxAwe7M/stap_1dec37041fd9e653dbc51ff80f43b08b_11496_src.o] Error 1
make[3]: *** [_module_/tmp/stapxAwe7M] Error 2
Warning: make exited with status: 2
Pass 4: compilation failed. Try again with another '--vp 0001' option.
cc1: warnings being treated as errors
In file included from
/root/install/share/systemtap/runtime/transport/transport.c:64,
from /root/install/share/systemtap/runtime/print.c:17,
from
/root/install/share/systemtap/runtime/runtime_context.h:16,
from
/tmp/stapRqzvga/stap_a144ec68e3c5391511845677ec024c53_11000_src.c:760:
/root/install/share/systemtap/runtime/transport/control.c: In function
'_stp_ctl_write_cmd':
/root/install/share/systemtap/runtime/transport/control.c:137: error: the frame
size of 264 bytes is larger than 256 bytes
make[4]: ***
[/tmp/stapRqzvga/stap_a144ec68e3c5391511845677ec024c53_11000_src.o] Error 1
make[3]: *** [_module_/tmp/stapRqzvga] Error 2
Warning: make exited with status: 2
Pass 4: compilation failed. Try again with another '--vp 0001' option.
This is caused by the handling of STP_REMOTE_ID in _stp_ctl_write_cmd which
places a struct _stp_msg_remote_id rem; on the stack. Which is rather large:
#define STP_REMOTE_URI_LEN 128
struct _stp_msg_remote_id
{
int32_t remote_id;
char remote_uri[STP_REMOTE_URI_LEN];
};
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.