From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8C2003858C2C; Fri, 11 Feb 2022 13:11:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8C2003858C2C From: "levraiphilippeblain at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug build/28413] string_view-selftests.c build error on macOS Date: Fri, 11 Feb 2022 13:11:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: levraiphilippeblain 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: cc 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: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Feb 2022 13:11:58 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28413 Philippe Blain changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |levraiphilippeblain at gma= il dot c | |om --- Comment #9 from Philippe Blain -= -- I can confirm the original build error reported by Enze Li (fdopen on macOS) still occurs for current master with both (macOS 10.11 + clang 13) and (mac= OS 10.15 + clang 12) [1]. The patch sent to gnulib (link in [2] above) was not well received, and Bru= no indicated that gnulib does not support '-Werror' [3], which is automatically applied for GDB builds from Git if I'm not mistaken.=20 I'm not sure of what could be done to fix the issue...=20 It seems weird that gnulib issues a warning for a system include (here libc= ++), as this would be outside the control of projects using gnulib, so maybe it could be disabled somehow for system includes ? [1] https://github.com/phil-blain/binutils-gdb/runs/5145831559?check_suite_focu= s=3Dtrue#step:5:4227 [2] https://sourceware.org/bugzilla/show_bug.cgi?id=3D28413#c2 [3] https://lists.gnu.org/archive/html/bug-gnulib/2021-10/msg00005.html --=20 You are receiving this mail because: You are on the CC list for the bug.=