From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C88D93858036; Wed, 6 Oct 2021 00:19:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C88D93858036 From: "simark at simark dot ca" To: gdb-prs@sourceware.org Subject: [Bug build/28413] string_view-selftests.c build error on macOS Date: Wed, 06 Oct 2021 00:19:01 +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: simark at simark dot ca 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: 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: Wed, 06 Oct 2021 00:19:03 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28413 --- Comment #6 from Simon Marchi --- (In reply to Bruno Haible from comment #5) > (In reply to Simon Marchi from comment #4) > > /home/simark/src/binutils-gdb/gdb/../gdbsupport/common-defs.h:95: > > ../gnulib/import/string.h:693:1: error: reference to overloaded function > > could not be resolved; did you mean to call it? > > _GL_CXXALIASWARN (memchr); > > ^~~~~~~~~~~~~~~~~~~~~~~~~ >=20 > On which platform do you see this? Gnulib's string.in.h protects this line > with >=20 > # elif __GLIBC__ >=3D 2 > _GL_CXXALIASWARN (memchr); > # endif >=20 > So, on macOS systems, there should be no '_GL_CXXALIASWARN (memchr);' > invocation. Sorry that wasn't clear. This one is on an Arch Linux system, updated a few weeks ago. It has: - gcc 11.1.0-1 - glibc 2.33-5 --=20 You are receiving this mail because: You are on the CC list for the bug.=