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]

[Bug kprobes/2387] system crash on ppc64/2.6.15.4


------- Additional Comments From guanglei at cn dot ibm dot com  2006-03-02 05:48 -------
> I tried, and it worked. Thanks. It seems not crash any more.
> But there is some errors(in fact, warnings) when stap is compiling the module, I
> bypassed it by delete the -Werror in buildrun.cxx:
The error on 2.6.15.3 kernel will be(with -Werror in buildrun.cxx):

Running grep " [tT] " /proc/kallsyms | sort -k 1,8 -s -o
/tmp/stap5mvGWl/symbols.sorted
Pass 3: translated to C into "/tmp/stap5mvGWl/stap_12492.c" in
220usr/90sys/313real ms.
Running make -C "/lib/modules/2.6.15.3/build" M="/tmp/stap5mvGWl" modules V=1
make: Entering directory `/usr/src/linux-2.6.15.3'
mkdir -p /tmp/stap5mvGWl/.tmp_versions
make -f scripts/Makefile.build obj=/tmp/stap5mvGWl
  gcc -m64 -Wp,-MD,/tmp/stap5mvGWl/.stap_12492.o.d  -nostdinc -isystem
/usr/lib/gcc/ppc64-redhat-linux/3.4.5/include -D__KERNEL__ -Iinclude  -include
include/linux/autoconf.h  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -ffreestanding -Os     -fomit-frame-pointer -g
-msoft-float -pipe -mminimal-toc -mtraceback=none  -mcall-aixdesc -mtune=power4
-mno-altivec -funit-at-a-time -mstring -Wa,-maltivec
-Wdeclaration-after-statement  -Wno-unused -Werror -I
"/usr/local/share/systemtap/runtime" -I
"/usr/local/share/systemtap/runtime/relayfs"   -DMODULE
-DKBUILD_BASENAME=stap_12492 -DKBUILD_MODNAME=stap_12492 -c -o
/tmp/stap5mvGWl/.tmp_stap_12492.o /tmp/stap5mvGWl/stap_12492.c
In file included from /usr/local/share/systemtap/runtime/transport/transport.c:20,
                 from /usr/local/share/systemtap/runtime/io.c:14,
                 from /usr/local/share/systemtap/runtime/print.c:16,
                 from /usr/local/share/systemtap/runtime/runtime.h:61,
                 from /tmp/stap5mvGWl/stap_12492.c:30:
/usr/local/share/systemtap/runtime/transport/relayfs.c:77: warning:
initialization from incompatible pointer type
make[1]: *** [/tmp/stap5mvGWl/stap_12492.o] Error 1
make: *** [_module_/tmp/stap5mvGWl] Error 2
make: Leaving directory `/usr/src/linux-2.6.15.3'
Pass 4: compiled C into "stap_12492.ko" in 2210usr/250sys/2104real ms.
Pass 4: compilation failed.  Try again with more '-v' (verbose) options.
Running rm -rf /tmp/stap5mvGWl

So we need to do some explicit type cast to eliminate such warnings?


-- 


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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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