From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C5DDE3851ABE; Fri, 18 Aug 2023 14:12:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C5DDE3851ABE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1692367928; bh=E02L11ZEZ6mjAIJHFGv1raQMn4CeIWW3Ma+3/hEMvSU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=NJsvakfkFkcQIcvsWrrzjeQuBkdMOrnuekoxJRFV4P4jpVy8wo4/y9RskPAetTCN3 3Fn/U+iIUDxBkN/WXWQ1bgAfEqovX8nKUog20vMTMIYKtJx34wD9QhK8j+kkwu0KQy b8KBeYJOcO2+UvBNL1122K6l95KNpnQ1+lfobGHQ= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug build/30751] [gdb/build] ODR violation for struct btrace_target_info Date: Fri, 18 Aug 2023 14:12:08 +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: tromey at sourceware 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: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30751 --- Comment #5 from Tom Tromey --- (In reply to Markus Metzger from comment #4) > but no -Wodr warnings nor any other warnings related to btrace. FWIW I can definitely reproduce on x86-64 Fedora 36 using the system gcc (12.2.1), e.g.: ../../binutils-gdb/gdb/nat/linux-btrace.h:84: warning: type 'struct btrace_target_info' violates the C++ One Definition Rule [-Wodr] --=20 You are receiving this mail because: You are on the CC list for the bug.=