* [Bug runtime/21984] New: on 32-bit systems, getting gcc "cast to pointer from integer of different size" errors
@ 2017-08-21 14:13 dsmith at redhat dot com
2017-08-22 15:16 ` [Bug runtime/21984] " dsmith at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: dsmith at redhat dot com @ 2017-08-21 14:13 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=21984
Bug ID: 21984
Summary: on 32-bit systems, getting gcc "cast to pointer from
integer of different size" errors
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
Assignee: systemtap at sourceware dot org
Reporter: dsmith at redhat dot com
Target Milestone: ---
On 32-bit systems (like RHEL6 i686), I'm seeing lots of errors like these in
the testsuite log file:
====
Running /root/src.copy/testsuite/systemtap.base/deref.exp ...
executing: stap -v -g /root/src.copy/testsuite/systemtap.base/deref.stp
spawn stap -v -g /root/src.copy/testsuite/systemtap.base/deref.stp
Pass 1: parsed user script and 459 library scripts using
39608virt/27796res/2716
shr/27296data kb, in 330usr/20sys/356real ms.
Pass 2: analyzed script: 4 probes, 17 functions, 0 embeds, 1 global using
40004v
irt/28704res/3180shr/27692data kb, in 10usr/0sys/10real ms.
Pass 3: translated to C into
"/tmp/stapEIwfns/stap_f7d1c06cf3b724241e904a494b024
1fe_4881_src.c" using 40004virt/29120res/3560shr/27692data kb, in
10usr/0sys/2re
al ms.
cc1: warnings being treated as errors
/tmp/stapEIwfns/stap_f7d1c06cf3b724241e904a494b0241fe_4881_src.c: In function
'f
unction___global_kread_const_ptr__overload_0':
/tmp/stapEIwfns/stap_f7d1c06cf3b724241e904a494b0241fe_4881_src.c:723: error:
cas
t to pointer from integer of different size
/tmp/stapEIwfns/stap_f7d1c06cf3b724241e904a494b0241fe_4881_src.c: In function
'f
unction___global_kread_ptr__overload_0':
/tmp/stapEIwfns/stap_f7d1c06cf3b724241e904a494b0241fe_4881_src.c:943: error:
cas
t to pointer from integer of different size
make[4]: *** [/tmp/stapEIwfns/stap_f7d1c06cf3b724241e904a494b0241fe_4881_src.o]
Error 1
make[3]: *** [_module_/tmp/stapEIwfns] Error 2
WARNING: kbuild exited with status: 2
====
This is because the (post-bpf) kderef/uderef() macros always return a 64-bit
value.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug runtime/21984] on 32-bit systems, getting gcc "cast to pointer from integer of different size" errors
2017-08-21 14:13 [Bug runtime/21984] New: on 32-bit systems, getting gcc "cast to pointer from integer of different size" errors dsmith at redhat dot com
@ 2017-08-22 15:16 ` dsmith at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: dsmith at redhat dot com @ 2017-08-22 15:16 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=21984
David Smith <dsmith at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from David Smith <dsmith at redhat dot com> ---
Fixed in commit f6b623f63.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-22 15:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-21 14:13 [Bug runtime/21984] New: on 32-bit systems, getting gcc "cast to pointer from integer of different size" errors dsmith at redhat dot com
2017-08-22 15:16 ` [Bug runtime/21984] " dsmith 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).