public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/10000] New: buildok/seventeen.stp fails "integer constant is too large"
@ 2009-03-25  2:01 jistone at redhat dot com
  2009-03-25  9:11 ` [Bug translator/10000] " fche at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jistone at redhat dot com @ 2009-03-25  2:01 UTC (permalink / raw)
  To: systemtap

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2184 bytes --]

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-03-25 14:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-25  2:01 [Bug translator/10000] New: buildok/seventeen.stp fails "integer constant is too large" jistone at redhat dot com
2009-03-25  9:11 ` [Bug translator/10000] " fche at redhat dot com
2009-03-25 13:21 ` roland at gnu dot org
2009-03-25 14:27 ` wenji dot huang at oracle dot com
2009-03-25 17:55 ` fche at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).