Integer constant is too large for 'long' type

naresh kamboju naresh.kernel@gmail.com
Thu Nov 5 10:42:00 GMT 2009


Hi Mark,

On Thu, Nov 5, 2009 at 2:16 PM, Mark Wielaard <mjw@redhat.com> wrote:
> 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.
>

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=9738

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



More information about the Systemtap mailing list