From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1505E385771E; Wed, 24 Jan 2024 15:40:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1505E385771E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1706110850; bh=eeimEYS9jufeC5EC+rFxCYR4Pq5tOZN0haNLu2B3rTU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=uvPK+ltWVtU8IWq4VqA1p/UGlp4PWsI/Gjw/O/Nx27Vif7/H9pVhKKaX9fAH0yNN2 gO40H4pyDmJ0w7tPG2v2A9nBfK0czu/bcGUlGW+d9KyG8w6DKWasfmirFMJ4p82yns e7XTPcCMUlRSLXH7QP7Xcy28zFlorVcFVtujeOto= From: "wcohen at redhat dot com" To: systemtap@sourceware.org Subject: [Bug runtime/31288] 5.0: build fails with gcc 14x Date: Wed, 24 Jan 2024 15:40:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wcohen at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution cc bug_status 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31288 William Cohen changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED CC| |wcohen at redhat dot com Status|UNCONFIRMED |RESOLVED --- Comment #1 from William Cohen --- The transposed calloc arguments were addressed by the recent git commits in upstream systemtap: commit 6c0b92b340db23ccc49e18007d4ecbdef3306bd6 Author: Frank Ch. Eigler Date: Thu Jan 18 16:37:39 2024 -0500 stapvirt.c: More gcc-14 -Werror=3Dcalloc-transposed-args compatibility commit 52596f023652114642faba5726c99488529029ce Author: Sergei Trofimovich Date: Thu Dec 21 10:00:06 2023 +0000 staprun: fix build against upcoming `gcc-14` (`-Werror=3Dcalloc-transposed-args`) `gcc-14` added a new `-Wcalloc-transposed-args` warning recently. It detected minor infelicity in `calloc()` API usage in `systemtap`: staprun.c: In function 'main': staprun.c:550:50: error: 'calloc' sizes specified with 'sizeof' in = the earlier argument and not in the later argument [-Werror=3Dcalloc-transposed= -args] 550 | char ** new_argv =3D calloc(sizeof(char *),argc+2); | ^~~~ --=20 You are receiving this mail because: You are the assignee for the bug.=