From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28813 invoked by alias); 16 Jan 2009 09:44:20 -0000 Received: (qmail 28774 invoked by uid 48); 16 Jan 2009 09:44:07 -0000 Date: Fri, 16 Jan 2009 09:49:00 -0000 Message-ID: <20090116094407.28773.qmail@sourceware.org> From: "wenji dot huang at oracle dot com" To: systemtap@sources.redhat.com In-Reply-To: <20090113103055.9738.mahesh@linux.vnet.ibm.com> References: <20090113103055.9738.mahesh@linux.vnet.ibm.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug translator/9738] Running a stap script throws up compilation error X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2009-q1/txt/msg00159.txt.bz2 ------- Additional Comments From wenji dot huang at oracle dot com 2009-01-16 09:44 ------- (In reply to comment #7) > (In reply to comment #5) > > I did some tests on x86. They all works fine, not only > > stap tree d294a64913b810cbe067655e06ea46a0184f99dc > > but also > > stap tree aa5951be9f4f12139cdcec4a501754a62b88c28b > > Seems the problem is specific to ppc. > > But, I am seeing this issue on x86. My systems is x86 with F10 installed. Strange that I couldn't reproduce it on my F10. [wjhuang@localhost systemtap]$ uname -r 2.6.27.9-159.fc10.i686 [wjhuang@localhost systemtap]$ cat /etc/redhat-release Fedora release 10 (Cambridge) [wjhuang@localhost systemtap]$ sudo ./stap -ve 'probe kernel.function("do_settimeofday"){printf("%u\n",$xtime->tv_sec)}' Pass 1: parsed user script and 47 library script(s) in 230usr/20sys/264real ms. Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 embed(s), 0 global(s) in 1120usr/2270sys/4810real ms. Pass 3: translated to C into "/tmp/stapLF1DV9/stap_bc3e8911137ace8b71d347a1bbdc04e2_939.c" in 2120usr/4390sys/7918real ms. Pass 4: compiled C into "stap_bc3e8911137ace8b71d347a1bbdc04e2_939.ko" in 13290usr/5050sys/22142real ms. Pass 5: starting run. ^CPass 5: run completed in 10usr/130sys/8939real ms. [wjhuang@localhost systemtap]$ ./stap -V SystemTap translator/driver (version 0.8/0.137 git branch master, commit d294a649) Copyright (C) 2005-2008 Red Hat, Inc. and others This is free software; see the source for copying conditions. Seems the obvious difference is the version of elfutlils. Could be a bug of elfutils-0.138 ? -- http://sourceware.org/bugzilla/show_bug.cgi?id=9738 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.