public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/63253] New: boot strap failure due to ODR warnings
@ 2014-09-12 22:48 andi-gcc at firstfloor dot org
  2014-09-12 22:49 ` [Bug bootstrap/63253] " pinskia at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: andi-gcc at firstfloor dot org @ 2014-09-12 22:48 UTC (permalink / raw)
  To: gcc-bugs

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


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

* [Bug bootstrap/63253] boot strap failure due to ODR warnings
  2014-09-12 22:48 [Bug bootstrap/63253] New: boot strap failure due to ODR warnings andi-gcc at firstfloor dot org
@ 2014-09-12 22:49 ` pinskia at gcc dot gnu.org
  2014-09-13 18:58 ` andi-gcc at firstfloor dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-09-12 22:49 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
https://gcc.gnu.org/ml/gcc/2014-09/msg00161.html


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

* [Bug bootstrap/63253] boot strap failure due to ODR warnings
  2014-09-12 22:48 [Bug bootstrap/63253] New: boot strap failure due to ODR warnings andi-gcc at firstfloor dot org
  2014-09-12 22:49 ` [Bug bootstrap/63253] " pinskia at gcc dot gnu.org
@ 2014-09-13 18:58 ` andi-gcc at firstfloor dot org
  2014-09-13 19:17 ` trippels at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: andi-gcc at firstfloor dot org @ 2014-09-13 18:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Andi Kleen <andi-gcc at firstfloor dot org> ---
I still need to revert this commit to be able to bootstrap. With that it works.

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

        * common.opt (flto-odr-type-merging): New flag.
        * ipa-deivrt.c (hash_type_name): Use ODR names for hasing if availale.
        (types_same_for_odr): Likewise.
        (odr_subtypes_equivalent_p): Likewise.
        (add_type_duplicate): Do not walk type variants.
        (register_odr_type): New function.
        * ipa-utils.h (register_odr_type): Declare.
        (odr_type_p): New function.
        * langhooks.c (lhd_set_decl_assembler_name): Do


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

* [Bug bootstrap/63253] boot strap failure due to ODR warnings
  2014-09-12 22:48 [Bug bootstrap/63253] New: boot strap failure due to ODR warnings andi-gcc at firstfloor dot org
  2014-09-12 22:49 ` [Bug bootstrap/63253] " pinskia at gcc dot gnu.org
  2014-09-13 18:58 ` andi-gcc at firstfloor dot org
@ 2014-09-13 19:17 ` trippels at gcc dot gnu.org
  2014-09-15  9:05 ` [Bug bootstrap/63253] [5 Regression] LTO " rguenth at gcc dot gnu.org
  2014-09-26 15:49 ` hubicka at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-09-13 19:17 UTC (permalink / raw)
  To: gcc-bugs

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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trippels at gcc dot gnu.org

--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Andi Kleen from comment #2)
> I still need to revert this commit to be able to bootstrap. With that it
> works.

Or just use --disable-werror for now.


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

* [Bug bootstrap/63253] [5 Regression] LTO boot strap failure due to ODR warnings
  2014-09-12 22:48 [Bug bootstrap/63253] New: boot strap failure due to ODR warnings andi-gcc at firstfloor dot org
                   ` (2 preceding siblings ...)
  2014-09-13 19:17 ` trippels at gcc dot gnu.org
@ 2014-09-15  9:05 ` rguenth at gcc dot gnu.org
  2014-09-26 15:49 ` hubicka at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-09-15  9:05 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |5.0
            Summary|boot strap failure due to   |[5 Regression] LTO boot
                   |ODR warnings                |strap failure due to ODR
                   |                            |warnings


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

* [Bug bootstrap/63253] [5 Regression] LTO boot strap failure due to ODR warnings
  2014-09-12 22:48 [Bug bootstrap/63253] New: boot strap failure due to ODR warnings andi-gcc at firstfloor dot org
                   ` (3 preceding siblings ...)
  2014-09-15  9:05 ` [Bug bootstrap/63253] [5 Regression] LTO " rguenth at gcc dot gnu.org
@ 2014-09-26 15:49 ` hubicka at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: hubicka at gcc dot gnu.org @ 2014-09-26 15:49 UTC (permalink / raw)
  To: gcc-bugs

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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Bootstrap works for me with -Werror again.


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

end of thread, other threads:[~2014-09-26 15:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-12 22:48 [Bug bootstrap/63253] New: boot strap failure due to ODR warnings andi-gcc at firstfloor dot org
2014-09-12 22:49 ` [Bug bootstrap/63253] " pinskia at gcc dot gnu.org
2014-09-13 18:58 ` andi-gcc at firstfloor dot org
2014-09-13 19:17 ` trippels at gcc dot gnu.org
2014-09-15  9:05 ` [Bug bootstrap/63253] [5 Regression] LTO " rguenth at gcc dot gnu.org
2014-09-26 15:49 ` hubicka at gcc dot gnu.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).