From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30105 invoked by alias); 2 Mar 2006 05:48:15 -0000 Received: (qmail 30090 invoked by uid 48); 2 Mar 2006 05:48:13 -0000 Date: Thu, 02 Mar 2006 05:48:00 -0000 Message-ID: <20060302054813.30089.qmail@sourceware.org> From: "guanglei at cn dot ibm dot com" To: systemtap@sources.redhat.com In-Reply-To: <20060223094047.2387.guanglei@cn.ibm.com> References: <20060223094047.2387.guanglei@cn.ibm.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug kprobes/2387] system crash on ppc64/2.6.15.4 X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2006-q1/txt/msg00677.txt.bz2 ------- 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.