public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "sam at gentoo dot org" <sourceware-bugzilla@sourceware.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 [thread overview] Message-ID: <bug-30839-4717@http.sourceware.org/bugzilla/> (raw) https://sourceware.org/bugzilla/show_bug.cgi?id=30839 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=odr] 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 definitions is field 'l_base' c-exp.c.tmp:3930:21: note: a field of same name but different type is defined in another translation unit ada-exp.c.tmp:1747:3: note: type name 'ada_exp_YYSTYPE' should match type name '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=22395 [Bug 22395] ODR violations -- You are receiving this mail because: You are on the CC list for the bug.
next reply other threads:[~2023-09-11 20:02 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-09-11 20:02 sam at gentoo dot org [this message] 2023-09-11 20:03 ` [Bug build/30839] " sam at gentoo dot org 2023-09-11 20:48 ` vries at gcc dot gnu.org 2023-09-11 21:17 ` sam at gentoo dot org 2023-09-11 21:25 ` vries at gcc dot gnu.org 2023-09-12 10:50 ` vries at gcc dot gnu.org 2023-09-27 7:35 ` cvs-commit at gcc dot gnu.org 2023-09-27 7:36 ` sam at gentoo dot org 2023-09-27 7:36 ` sam at gentoo dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-30839-4717@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).