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 Mark,

On Fri, Nov 6, 2009 at 5:43 PM, Mark Wielaard <mjw@redhat.com> wrote:
> On Thu, 2009-11-05 at 16:12 +0530, naresh kamboju wrote:
>> >> 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 .
>
> I quickly looked at that bug, I think that isn't related to the problem
> you are seeing (with current systemtap/elfutils it fails differently).
> In general the latest elfutils release (currently 0.143) is preferred
> (later versions are also required for some of the newer features of
> systemtap).

I have build latest systemtap/elfutils
SystemTap translator/driver (version 1.0/0.143 non-git sources)
found following example build issues.

Error:
In file included from /tmp/stap45yApj/five.c:754:
/tmp/stap45yApj/stap-symbols.h:67606: error: integer constant is too
large for 'long' type
/tmp/stap45yApj/stap-symbols.h:67606: error: large integer implicitly
truncated to unsigned type.


discussed same issue with Frank,
I think you have gone through following discussion.

http://sourceware.org/ml/systemtap/2009-q4/msg00418.html
http://sourceware.org/ml/systemtap/2009-q4/msg00419.html
http://sourceware.org/ml/systemtap/2009-q4/msg00420.html
http://sourceware.org/ml/systemtap/2009-q4/msg00436.html
http://sourceware.org/ml/systemtap/2009-q4/msg00437.html
http://sourceware.org/ml/systemtap/2009-q4/msg00438.html
http://sourceware.org/ml/systemtap/2009-q4/msg00439.html
http://sourceware.org/ml/systemtap/2009-q4/msg00441.html

if you have any inputs regarding this issues please provide.

Best regards,
Naresh Kamboju

>
> Cheers,
>
> Mark
>
>


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