From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BDFFE385DC0B; Thu, 17 Aug 2023 15:10:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BDFFE385DC0B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1692285014; bh=kZHc/YADPngQAUOHgbTiklMhtG9KLAXbBLGGX8EtoRY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ayaoJ4vTvfx7nUmWXIi9e1/N6uUNZ9OfUbPtdUeVR0P6SMqEHhnQO5MjMUYt1r13A ycY21OPHyLAxii3JnPsbZatrr9G+yc5gJRk6yYCVuk7Tj1kY2zWrZ1i1q1rToisbD3 SbXhs0ua/FzBDNJc+JHwqqJeIU1T/n1RJCBoJw3g= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug build/22395] ODR violations Date: Thu, 17 Aug 2023 15:10:12 +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: cvs-commit at gcc dot gnu.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=3D22395 --- Comment #20 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Tom de Vries : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D0c9546b152f6= b01756475ce259c895d3fa446774 commit 0c9546b152f6b01756475ce259c895d3fa446774 Author: Tom de Vries Date: Thu Aug 17 17:09:39 2023 +0200 [gdb/build] Fix yysymbol_kind_t odr violation When building gdb with -O2 -flto on openSUSE Tumbleweed (using bison 3.= 8.2) I run into: ... ada-exp.c.tmp:653: warning: type 'yysymbol_kind_t' violates the C++ One= \ Definition Rule [-Wodr] c-exp.c.tmp:398: note: an enum with different value name is defined in \ another translation unit ada-exp.c.tmp:660: note: name 'YYSYMBOL_NULL_PTR' differs from name \ 'YYSYMBOL_COMPLEX_INT' defined in another translation unit c-exp.c.tmp:405: note: mismatching definition ... Fix this by renaming to ada_exp_yysymbol_kind_t and likewise for other = .y files. Tested on x86_64-linux. PR build/22395 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D22395 --=20 You are receiving this mail because: You are on the CC list for the bug.=