[Bug bootstrap/63253] New: boot strap failure due to ODR warnings

andi-gcc at firstfloor dot org gcc-bugzilla@gcc.gnu.org
Fri Sep 12 22:48:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63253

            Bug ID: 63253
           Summary: boot strap failure due to ODR warnings
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: andi-gcc at firstfloor dot org

I suppose it's Honza's commit

commit b99d67c130c18dc99bc123dcf3fb9b06784892db
Author: gccadmin <gccadmin@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Fri Sep 12 00:16:51 2014 +0000

    Daily bump.

    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215199
138bc75d-0d04-0410-961f-82ee72b054a4

commit d585ba22a6b4250b0d819d3d7da72f7dd37e2981
Author: hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Thu Sep 11 23:16:42 2014 +0000


../../gcc/gcc/tlink.c:62:16: error: type 'struct file_hash_entry' violates one
definition rule [-Werror=odr]
 typedef struct file_hash_entry
                ^
../../gcc/libcpp/files.c:143:8: note: a different type is defined in another
translation unit
 struct file_hash_entry
        ^
../../gcc/gcc/tlink.c:64:15: note: the first difference of corresponding
definitions is field 'key'
   const char *key;
               ^
../../gcc/libcpp/files.c:145:27: note: a field with different name is defined
in another translation unit
   struct file_hash_entry *next;
                           ^
lto1: all warnings being treated as errors



More information about the Gcc-bugs mailing list