From: "fche at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sources.redhat.com
Subject: [Bug translator/11074] New: loc2c/vta: synthetic address range warning/error during -p4
Date: Wed, 09 Dec 2009 17:24:00 -0000 [thread overview]
Message-ID: <20091209172439.11074.fche@redhat.com> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1789 bytes --]
utrace/master git kernel build (commit #g938482e
git systemtap
gcc rawhide 4.4.2 20091027
./stap -p4 -e 'probe kernel.function("build_zonelists_node") {println($pgdat)}'
cc1: warnings being treated as errors
/var/tmp/stapaEBDoB/stap_e2d2cd60c17ba18011c161e1c932409d_1093.c: In function
âfunction__dwarf_tvar_get_pgdat_0â:
/var/tmp/stapaEBDoB/stap_e2d2cd60c17ba18011c161e1c932409d_1093.c:148: error:
this decimal constant is unsigned only in ISO C90
make[1]: *** [/var/tmp/stapaEBDoB/stap_e2d2cd60c17ba18011c161e1c932409d_1093.o]
Error 1
make: *** [_module_/var/tmp/stapaEBDoB] Error 2
Pass 4: compilation failed. Try again with another '--vp 0001' option.
static void function__dwarf_tvar_get_pgdat_0 (struct context* __restrict__ c) {
struct function__dwarf_tvar_get_pgdat_0_locals * __restrict__ l =
& c->locals[c->nesting+1].function__dwarf_tvar_get_pgdat_0;
...
{
intptr_t addr;
{ // synthesized
addr = 3231800064L;
}
{ // synthesized
{ uint32_t value = addr; addr = value; }
}
THIS->__retvalue = addr;
}
The addr literal is out of range for a signed 32-bit long.
Even with the needed cast inserted, such an address may need to be
relocated with _stp_relocate() at run time.
--
Summary: loc2c/vta: synthetic address range warning/error during
-p4
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: fche at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=11074
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
next reply other threads:[~2009-12-09 17:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-09 17:24 fche at redhat dot com [this message]
2009-12-09 17:27 ` [Bug translator/11074] loc2c/vta: synthetic address range warning/error during -p4 for dwarf const_value fche at redhat dot com
2009-12-09 18:42 ` mjw at redhat dot com
2009-12-09 18:51 ` fche at redhat dot com
2009-12-09 21:04 ` mjw at redhat dot com
2009-12-09 21:10 ` fche at redhat dot com
2009-12-09 21:48 ` mjw at redhat dot com
2009-12-09 22:53 ` roland at gnu dot org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091209172439.11074.fche@redhat.com \
--to=sourceware-bugzilla@sourceware.org \
--cc=systemtap@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).