From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 870D93858C74; Tue, 9 Jan 2024 15:07:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 870D93858C74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1704812841; bh=3iCrFz9/OGTbsMPJhHkIgscioc49oOJ01jawWoNkMHI=; h=From:To:Subject:Date:From; b=a7OckD0isyV2we3qDLXpIHlmdtBeBWhHIhxu4vgilqbCdTTVPWpv+rHm3FG917/lt IpoZa3p3X7uvnzEDdPKRLuz304G1WSilQb7/GWgmGgKgIS2IVAjPwT5fg8hiEVpZkW egXTp8fqkAokCu/ih6lCyg+qBEMEbQSiYxWGjr3M= From: "pexu at sourceware dot mail.kapsi.fi" To: gdb-prs@sourceware.org Subject: [Bug build/31223] New: gdb/dwarf2/read.c: m_failed and m_reported not available unless CXX_STD_THREAD defined Date: Tue, 09 Jan 2024 15:07:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: pexu at sourceware dot mail.kapsi.fi 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 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=3D31223 Bug ID: 31223 Summary: gdb/dwarf2/read.c: m_failed and m_reported not available unless CXX_STD_THREAD defined Product: gdb Version: HEAD Status: UNCONFIRMED Severity: normal Priority: P2 Component: build Assignee: unassigned at sourceware dot org Reporter: pexu at sourceware dot mail.kapsi.fi Target Milestone: --- Hi. cooked_index_worker members m_failed and m_reported are currently only available if CXX_STD_THREAD guard is defined and non-zero. There are unguarded references to these members at gdb/dwarf2/read.c. Given the context, I wonder if these members should be always available. m_failed: lines 4925 and 5047, 5050 and 5051. m_reported: lines 5039 and 5041. https://sourceware.org/git/?p=3Dbinutils-gdb.git;a=3Dblob;f=3Dgdb/dwarf2/re= ad.c;h=3De055371dc6a1b9d63920dcc72a9e63efcd8297bc --=20 You are receiving this mail because: You are on the CC list for the bug.=