This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10000] New: buildok/seventeen.stp fails "integer constant is too large"
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 25 Mar 2009 01:15:29 -0000
- Subject: [Bug translator/10000] New: buildok/seventeen.stp fails "integer constant is too large"
- Reply-to: sourceware-bugzilla at sourceware dot org
On kernel 2.6.29-0.258.rc8.git2.fc11.i686.PAE, I get:
# stap testsuite/buildok/seventeen.stp -p4 --vp 0002
Running make -C "/lib/modules/2.6.29-0.258.rc8.git2.fc11.i686.PAE/build"
M="/tmp/stapt2LDBM" modules >/dev/null
cc1: warnings being treated as errors
/tmp/stapt2LDBM/stap_e3cada033106fd44df1b94249aa5080e_1027.c: In function
?function__dwarf_tvar_get_write_pipefifo_fops_0?:
/tmp/stapt2LDBM/stap_e3cada033106fd44df1b94249aa5080e_1027.c:140: error: integer
constant is too large for ?long? type
/tmp/stapt2LDBM/stap_e3cada033106fd44df1b94249aa5080e_1027.c:140: error: large
integer implicitly truncated to unsigned type
make[1]: *** [/tmp/stapt2LDBM/stap_e3cada033106fd44df1b94249aa5080e_1027.o] Error 1
make: *** [_module_/tmp/stapt2LDBM] Error 2
Pass 4: compiled C into "stap_e3cada033106fd44df1b94249aa5080e_1027.ko" in
670usr/1060sys/3065real ms.
Pass 4: compilation failed. Try again with another '--vp 0001' option.
Running rm -rf /tmp/stapt2LDBM
That's in a loc2c-generated function to read from a global, whose body is:
136 intptr_t addr;
137 { // DWARF expression: 0x3(3228635952)
138 {
139 intptr_t s0;
140 s0 = ({ static unsigned long addr = 0; if (addr==0) addr =
_stp_module_relocate ("kernel","_stext",0xffffffff3ff0f330); addr; });
141 addr = s0;
142 }
143 }
144 { // DWARF expression: 0x23(4)
145 {
146 intptr_t s0;
147 s0 = addr;
148 s0 = s0 + 4UL;
149 addr = s0;
150 }
151 }
152 { // synthesized
153 { uint32_t value = deref (4, addr);addr = value; }
154 }
155 THIS->__retvalue = addr;
--
Summary: buildok/seventeen.stp fails "integer constant is too
large"
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: jistone at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10000
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.