This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Integer constant is too large for 'long' type
- From: Mark Wielaard <mjw at redhat dot com>
- To: naresh kamboju <naresh dot kernel at gmail dot com>
- Cc: systemtap at sources dot redhat dot com, "Frank Ch. Eigler" <fche at redhat dot com>
- Date: Thu, 05 Nov 2009 09:46:58 +0100
- Subject: Re: Integer constant is too large for 'long' type
- References: <f5a7b3810911050040w573c404ft619d6ebb53edd267@mail.gmail.com>
Hi Naresh,
On Thu, 2009-11-05 at 14:10 +0530, naresh kamboju wrote:
> # stap -a arm -B CROSS_COMPILE=/usr/local/arm/cross/devel/bin/arm-dev-
> -p4 -r 2.6.29.4-kzm-arm11-g8de6eff -m five five.stp -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.
> 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?
Thanks,
Mark