This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc stop compiling a large stap generated c file


Li Guanglei wrote:
Hi,

I tried: stap -e 'probe addevent.* {}' -bM -v
on ppc64/RHEL4u4/gcc-3.4.6, and got a lot of errors of "operand out of range".


the generated c file is really big:

root:/tmp/stapRl4mJy> ll -h
total 7.5M
-rw-r--r--  1 root root  128 Oct  9 17:53 Makefile
-rw-r--r--  1 root root 6.3M Oct  9 17:53 stap_11644.c
-rw-r--r--  1 root root 714K Oct  9 17:53 stap-symbols.h
-rw-r--r--  1 root root 527K Oct  9 17:53 symbols.sorted

I searched gcc bugzilla, and found someone reported the same kind of error on gcc 4.1:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28904

This bug was seen and reported a while ago in systemtap as well: http://sources.redhat.com/bugzilla/show_bug.cgi?id=2910


- Mike



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]