From: "me at serhei dot io" <sourceware-bugzilla@sourceware.org>
To: systemtap@sourceware.org
Subject: [Bug translator/25845] buildrun: type-conversion warnings 32-bit with recent gcc
Date: Mon, 20 Apr 2020 14:40:29 +0000 [thread overview]
Message-ID: <bug-25845-6586-32azv4t2sj@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-25845-6586@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=25845
--- Comment #1 from Serhei Makarov <me at serhei dot io> ---
The primary source of errors -Wpointer<->int-cast has been disabled in commit
4f9715d3b8
Remaining issues I can spot in the test output:
- -Werror=overflow in the rlimit.exp testcase (see previous post)
- -Wpointer-to-int-cast warnings when compiling java/HelperSDT.c
CC HelperSDT.o
/notnfs/smakarov/stap-checkout/java/HelperSDT.c: In function
‘determine_java_type’:
/notnfs/smakarov/stap-checkout/java/HelperSDT.c:50:12: warning: cast from
pointer to integer of di\
fferent size [-Wpointer-to-int-cast]
50 | return (int64_t) strdup("(null)"); /* need a real string to avoid
user_string_warn get\
ting upset */
| ^
/notnfs/smakarov/stap-checkout/java/HelperSDT.c:90:10: warning: cast from
pointer to integer of di\
fferent size [-Wpointer-to-int-cast]
90 | return (int64_t) get_java_tostring(env, _arg);
| ^
/notnfs/smakarov/stap-checkout/java/HelperSDT.c: In function ‘free_sargs’:
/notnfs/smakarov/stap-checkout/java/HelperSDT.c:109:12: warning: cast to
pointer from integer of d\
ifferent size [-Wint-to-pointer-cast]
109 | free((void *) sargs[i]);
| ^
CCLD libHelperSDT.so
--
You are receiving this mail because:
You are the assignee for the bug.
prev parent reply other threads:[~2020-04-20 14:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-17 19:31 [Bug translator/25845] New: " me at serhei dot io
2020-04-20 14:40 ` me at serhei dot io [this message]
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=bug-25845-6586-32azv4t2sj@http.sourceware.org/bugzilla/ \
--to=sourceware-bugzilla@sourceware.org \
--cc=systemtap@sourceware.org \
/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).