From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2A67F3858D3C; Mon, 11 Sep 2023 20:02:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2A67F3858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1694462571; bh=3nOqykyl33MZEfBZ7fbOvypJInfX3FYOHNfPQI5k97I=; h=From:To:Subject:Date:From; b=XPur9NPg1ToH3aBQunGdIS6WGlr0aoIJ4pK4flAgrga+7PHWpfgBUlb+kfe8k+QSY nTz3nQGdQQAO9RePYRVWLAMgJR9RngfGDFbtuIYvYxPkkjSUSzJcX3hiXaSPjYzLN4 E2+2Jz5cjW4DiaoDYddEFeYlkXt3vXNmgfAOwh9c= From: "sam at gentoo dot org" To: gdb-prs@sourceware.org Subject: [Bug build/30839] New: ODR warnings in ada-exp.c.tmp/c-exp.c.tmp Date: Mon, 11 Sep 2023 20:02:50 +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: 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 blocked 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=3D30839 Bug ID: 30839 Summary: ODR warnings in ada-exp.c.tmp/c-exp.c.tmp Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: build Assignee: unassigned at sourceware dot org Reporter: sam at gentoo dot org Blocks: 22395 Target Milestone: --- >From today at commit 9a343d2bb57c4555dedad9b43907aeeda7b51dae: ``` ada-exp.c.tmp:1747:3: error: type 'struct YYSTACKDATA' violates the C++ One Definition Rule [-Werror=3Dodr] c-exp.c.tmp:3936:3: note: a different type is defined in another translation unit ada-exp.c.tmp:1741:23: note: the first difference of corresponding definiti= ons is field 'l_base' c-exp.c.tmp:3930:21: note: a field of same name but different type is defin= ed in another translation unit ada-exp.c.tmp:1747:3: note: type name 'ada_exp_YYSTYPE' should match type n= ame 'c_exp_YYSTYPE' lto1: some warnings being treated as errors lto-wrapper: fatal error: /usr/bin/x86_64-pc-linux-gnu-g++ returned 1 exit status compilation terminated. /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status ``` Referenced Bugs: https://sourceware.org/bugzilla/show_bug.cgi?id=3D22395 [Bug 22395] ODR violations --=20 You are receiving this mail because: You are on the CC list for the bug.=