From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4998 invoked by alias); 5 Nov 2009 10:42:37 -0000 Received: (qmail 4990 invoked by uid 22791); 5 Nov 2009 10:42:36 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-px0-f200.google.com (HELO mail-px0-f200.google.com) (209.85.216.200) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 05 Nov 2009 10:42:33 +0000 Received: by pxi38 with SMTP id 38so5350507pxi.10 for ; Thu, 05 Nov 2009 02:42:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.248.6 with SMTP id v6mr281453wfh.348.1257417751340; Thu, 05 Nov 2009 02:42:31 -0800 (PST) In-Reply-To: <1257410818.2529.6.camel@hermans.wildebeest.org> References: <1257410818.2529.6.camel@hermans.wildebeest.org> Date: Thu, 05 Nov 2009 10:42:00 -0000 Message-ID: Subject: Re: Integer constant is too large for 'long' type From: naresh kamboju To: Mark Wielaard Cc: systemtap@sources.redhat.com, "Frank Ch. Eigler" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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-q4/txt/msg00420.txt.bz2 Hi Mark, On Thu, Nov 5, 2009 at 2:16 PM, Mark Wielaard wrote: > Hi Naresh, > > On Thu, 2009-11-05 at 14:10 +0530, naresh kamboju wrote: >> # stap -a arm -B CROSS_COMPILE=3D/usr/local/arm/cross/devel/bin/arm-dev- >> -p4 =A0-r 2.6.29.4-kzm-arm11-g8de6eff -m five five.stp =A0-vv >> SystemTap translator/driver (version 1.0/0.137 non-git sources) > > 0.137 is a pretty old version of elfutils, you might want to upgrade to > something newer. > yes. it is older version. i have selected this version because in the previous discussion links they have over come few of errors by using elfutils 0.137 version as per the below link http://sourceware.org/bugzilla/show_bug.cgi?id=3D9738 however. suggest me the best compatible version of elfutils with SystemTap-= 1.0 . >> In file included from /tmp/stapBF1Ti1/five.c:754: >> /tmp/stapBF1Ti1/stap-symbols.h:66980: error: integer constant is too >> large for 'long' type >> /tmp/stapBF1Ti1/stap-symbols.h:66980: error: large integer implicitly >> truncated to unsigned type > > Could you build with stap -k, which keeps the temporary file, and post > what code is around stap-symbols.h:66980? i'll try with "stap -k" and debug the issue. > > Thanks, > > Mark > > Best regards, Naresh Kamboju