From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6E5663858D38; Wed, 24 Jan 2024 08:00:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6E5663858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1706083225; bh=kp0HWWuDw5d921gLLolfq+nmTI0oE2WeCDfn940bHc0=; h=From:To:Subject:Date:From; b=OBugMBsXMv08rgaj0Nke3hcgzSjUfej1i9ZwrainL+LbEWRD+SmUK3naY6eNaN1Mt 4ZYVC+4vFf+jvEICn4KsyIA3RpRLIGkkWPQh/O4sUgNHdl2na1VT3g47+dNKJ3g5Dg 55GHYsYbtiR21GCfQZc98AcDIAUMX/NS6G7NCN9E= From: "kloczko.tomasz at gmail dot com" To: elfutils-devel@sourceware.org Subject: [Bug general/31287] New: 0.190: test suite build fails with gcc 14.x Date: Wed, 24 Jan 2024 08:00:24 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: general X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kloczko.tomasz at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: 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=3D31287 Bug ID: 31287 Summary: 0.190: test suite build fails with gcc 14.x Product: elfutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: general Assignee: unassigned at sourceware dot org Reporter: kloczko.tomasz at gmail dot com CC: elfutils-devel at sourceware dot org Target Milestone: --- Looks like 0.190 test suite is not gcc 14.x ready /usr/bin/gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR=3D'"/usr/share/local= e"' -I. -I.. -I. -I. -I../lib -I.. -I../libasm -I../libdw -I../libdwfl -I../libdwelf -I../libebl -I../libelf -I../lib -I.. -std=3Dgnu99 -Wall -Ws= hadow -Wformat=3D2 -Wold-style-definition -Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=3D5 -Wuse-after-free=3D3 -Werror -Wunused -Wextra -Wstack-usage=3D262144 -m64 -mtune=3Dgeneric -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=3D/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=3Dauto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3D3 -Wp,-D_GLIBCXX_ASS= ERTIONS -Wall -Werror=3Dformat-security -Wformat -Wno-error=3Dstack-usage=3D -c -o elfstrmerge.o elfstrmerge.c elfstrmerge.c: In function =E2=80=98main=E2=80=99: elfstrmerge.c:450:32: error: =E2=80=98calloc=E2=80=99 sizes specified with = =E2=80=98sizeof=E2=80=99 in the earlier argument and not in the later argument [-Werror=3Dcalloc-transposed= -args] 450 | newscnbufs =3D calloc (sizeof (void *), newshnums); | ^~~~ elfstrmerge.c:450:32: note: earlier argument should specify number of eleme= nts, later size of each element cc1: all warnings being treated as errors --=20 You are receiving this mail because: You are on the CC list for the bug.=