public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/30839] New: ODR warnings in ada-exp.c.tmp/c-exp.c.tmp
@ 2023-09-11 20:02 sam at gentoo dot org
  2023-09-11 20:03 ` [Bug build/30839] " sam at gentoo dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: sam at gentoo dot org @ 2023-09-11 20:02 UTC (permalink / raw)
  To: gdb-prs

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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-09-27  7:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-11 20:02 [Bug build/30839] New: ODR warnings in ada-exp.c.tmp/c-exp.c.tmp sam at gentoo dot org
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

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).