From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30405 invoked by alias); 16 Jan 2009 07:08:35 -0000 Received: (qmail 30370 invoked by uid 48); 16 Jan 2009 07:08:23 -0000 Date: Fri, 16 Jan 2009 08:24:00 -0000 Message-ID: <20090116070823.30369.qmail@sourceware.org> From: "mahesh at linux dot vnet dot ibm 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/msg00156.txt.bz2 ------- Additional Comments From mahesh at linux dot vnet dot ibm dot com 2009-01-16 07:08 ------- > /tmp/stapu0EBq0/stap_16672.c:144: > s0 = ({ static unsigned long addr = 0; if (addr==0) addr = _stp_module_relocate > ("kernel","_stext",0xffffffff400f6618); addr; }); The above line is genarated by tapsets.cxx:1647, The statement reads as: obstack_printf (pool, "if (addr==0) addr = _stp_module_relocate (\"%s\",\"%s\",%#" PRIx64 "); ", modname, secname, address); The variable 'address' is of type Dwarf_Addr which in turn of type unint64_t Investigating how %#" PRIx64 " works on 32 bit platfrom. Comments are welcome. -- 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.