From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E5914384B104; Mon, 20 Apr 2020 14:40:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E5914384B104 From: "me at serhei dot io" 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 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: translator X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: me at serhei dot io X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: systemtap@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Systemtap mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Apr 2020 14:40:30 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D25845 --- Comment #1 from Serhei Makarov --- The primary source of errors -Wpointer<->int-cast has been disabled in comm= it 4f9715d3b8=20 Remaining issues I can spot in the test output: - -Werror=3Doverflow 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 =E2=80=98determine_java_type=E2=80=99: /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 avo= id 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 =E2=80=98free_= sargs=E2=80=99: /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 --=20 You are receiving this mail because: You are the assignee for the bug.=