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]

Integer constant is too large for 'long' type


Hi,

I have notice following warning for the most of stp example files
under testsuite directory.
Warnings being treated as errors and coming out from the build.


/*******************************************************************/
# 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)
Copyright (C) 2005-2009 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
Session arch: arm release: 2.6.29.4-kzm-arm11-g8de6eff
Created temporary directory "/tmp/stapBF1Ti1"
Searched '/usr/local/arm/cross/devel/share/systemtap/tapset/*.stp', found 56
Pass 1: parsed user script and 56 library script(s) in 270usr/20sys/340real ms.
probe schedule@kernel/sched.c:4699 kernel reloc=.dynamic pc=0xc0310c84
probe schedule@kernel/sched.c:4699 kernel reloc=.dynamic pc=0xc0310c84
Pass 2: analyzed script: 2 probe(s), 1 function(s), 0 embed(s), 0
global(s) in 400usr/20sys/509real ms.
function recursion-analysis: max-nesting 0 non-recursive
probe_1784 locks nothing
probe_1785 locks nothing
stap_dwarf_probe module[7]
stap_dwarf_probe section[7]
stap_dwarf_probe pp[59]
dump_unwindsyms kernel index=0 base=0x0
Found build-id in kernel, length 20, end at 0x24
Found kernel _stext extra offset 0xc0008000
Pass 3: translated to C into "/tmp/stapBF1Ti1/five.c" in
570usr/20sys/601real ms.
Running make -C "/lib/modules/2.6.29.4-kzm-arm11-g8de6eff/build"
M="/tmp/stapBF1Ti1" ARCH="arm"
"CROSS_COMPILE=/usr/local/arm/cross/devel/bin/arm-dev-" modules
--no-print-directory
  CC [M]  /tmp/stapBF1Ti1/five.o
cc1: warnings being treated as errors
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
make[1]: *** [/tmp/stapBF1Ti1/five.o] Error 1
make: *** [_module_/tmp/stapBF1Ti1] Error 2
Pass 4: compiled C into "five.ko" in 3210usr/900sys/4604real ms.
Pass 4: compilation failed.  Try again with another '--vp 0001' option.
Running rm -rf /tmp/stapBF1Ti1
/*******************************************************************/
SystemTap-1.0
elfutils-0.137
gcc version 4.3.3
glibc-2.9
Kernel 2.6.29
/*******************************************************************/

Please provide if you any information related to this.


Best regards,
Naresh Kamboju


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