public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/13445] New: control.c:137: error: the frame size of 264 bytes is larger than 256 bytes
@ 2011-11-28 11:30 mjw at redhat dot com
  2011-11-28 11:34 ` [Bug runtime/13445] " mjw at redhat dot com
  2011-11-28 13:01 ` fche at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: mjw at redhat dot com @ 2011-11-28 11:30 UTC (permalink / raw)
  To: systemtap

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.

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

* [Bug runtime/13445] control.c:137: error: the frame size of 264 bytes is larger than 256 bytes
  2011-11-28 11:30 [Bug runtime/13445] New: control.c:137: error: the frame size of 264 bytes is larger than 256 bytes mjw at redhat dot com
@ 2011-11-28 11:34 ` mjw at redhat dot com
  2011-11-28 13:01 ` fche at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: mjw at redhat dot com @ 2011-11-28 11:34 UTC (permalink / raw)
  To: systemtap

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

Mark Wielaard <mjw at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fche at redhat dot com

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug runtime/13445] control.c:137: error: the frame size of 264 bytes is larger than 256 bytes
  2011-11-28 11:30 [Bug runtime/13445] New: control.c:137: error: the frame size of 264 bytes is larger than 256 bytes mjw at redhat dot com
  2011-11-28 11:34 ` [Bug runtime/13445] " mjw at redhat dot com
@ 2011-11-28 13:01 ` fche at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2011-11-28 13:01 UTC (permalink / raw)
  To: systemtap

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

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> 2011-11-28 13:01:24 UTC ---
commit 6e5026f

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

end of thread, other threads:[~2011-11-28 13:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-28 11:30 [Bug runtime/13445] New: control.c:137: error: the frame size of 264 bytes is larger than 256 bytes mjw at redhat dot com
2011-11-28 11:34 ` [Bug runtime/13445] " mjw at redhat dot com
2011-11-28 13:01 ` fche 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).