This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Integer constant is too large for 'long' type


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]