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: systemtap in xen enabled kernel gives compilation error


yashwanth <yashwanth.reddy@atc.tcs.com> writes:

> Dear all,
>      while building kernel object using systemtap(»¿version 0.6.2/0.131)
> in xen enabled kernel(2.6.21-7.fc7xen) i am getting warnings which are
> treated as errors due to -Werror set inside stap Makefile. [...]
> cc1: warnings being treated as errors
> In file included from include/linux/list.h:8,
>                  from include/linux/module.h:10,
>                  from /usr/share/systemtap/runtime/runtime.h:14,
>
> from /tmp/staprXvPjg/stap_fb2dadc85c9f006e93459e4a44ed8875_234.c:42:
> include/linux/prefetch.h: In function 'prefetch_range':
> include/linux/prefetch.h:62: warning: pointer of type 'void *' used in
> arithmetic
> [...]

You could comment out the '-Werror' part in stap src/buildrun.cxx.  Or
if you can find a gcc flag to suppress that particular warning, we
could add it.


- FChE


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