From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B0DC73858C39; Sun, 6 Nov 2022 07:22:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B0DC73858C39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1667719334; bh=FLr/jxrVtbPSGBnZXu58vbe6qNly/ADs+1rXuA5UTg8=; h=From:To:Subject:Date:From; b=OhYA5FZOUtnx2zZRYX7pZ3I2M7c+yK/37lvz4jf7/quViNVo0FCu4xbvvlQfwVEjT +bycmvspELaBYUfuQBQY93YwaEM7zA0rFHzjNhMYAuB56x0lPW57pHmOW6tZeJd1cs 9A1re0gIJks+IDkXT4KVuptvdp4YTngKTLKMdO8Y= From: "sam at gentoo dot org" To: gdb-prs@sourceware.org Subject: [Bug sim/29752] New: Build failure with upcoming Clang 16 (-Wincompatible-function-pointer-types, -Wimplicit-function-declaration) Date: Sun, 06 Nov 2022 07:22:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: sim X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sam at gentoo dot org X-Bugzilla-Status: NEW 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 attachments.created 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=3D29752 Bug ID: 29752 Summary: Build failure with upcoming Clang 16 (-Wincompatible-function-pointer-types, -Wimplicit-function-declaration) Product: gdb Version: unknown Status: NEW Severity: normal Priority: P2 Component: sim Assignee: unassigned at sourceware dot org Reporter: sam at gentoo dot org CC: vapier at gentoo dot org Target Milestone: --- Created attachment 14434 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D14434&action=3Ded= it build.log.xz (12.1) Clang 16 will make -Wimplicit-function-declaration, -Wimplicit-int, -Wincompatible-function-pointer-declarations error by default. You can emulate its behaviour _mostly_ by just setting those in your *FLAGS. GDB 12 seems to have quite a large number of failures with Clang 16, unfortunately :( Originally reported downstream in Gentoo at https://bugs.gentoo.org/871543. For more information, see LWN.net [0] or LLVM's Discourse [1], gentoo-dev@ = [2], or the (new) c-std-porting mailing list [3]. [0] https://lwn.net/Articles/913505/ [1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-= implicit-function-declaration/65213 [2] https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6= e240 [3] hosted at lists.linux.dev. --=20 You are receiving this mail because: You are on the CC list for the bug.=