public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/66009] New: [6 Regression] Bootstrap failure on x86
@ 2015-05-04 19:12 hjl.tools at gmail dot com
  2015-05-04 23:14 ` [Bug bootstrap/66009] " law at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2015-05-04 19:12 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 66009
           Summary: [6 Regression] Bootstrap failure on x86
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

On Linux/x86 configured with

--with-arch=corei7 --with-cpu=corei7 --prefix=/usr/6.0.0 --enable-clocale=gnu
--with-system-zlib --enable-shared --with-demangler-in-ld i686-linux
--with-fpmath=sse --enable-languages=c,c++,fortran,java,lto,objc

r222771 failed to bootstrap:

Bootstrap comparison failure!
gcc/fold-const.o differs
gcc/c-family/c-common.o differs
make[5]: *** [compare] Error 1
make[5]: Leaving directory `/export/gnu/import/git/gcc-test-ia32corei7/bld'
make[4]: *** [stage3-bubble] Error 2
make[4]: Leaving directory `/export/gnu/import/git/gcc-test-ia32corei7/bld'
make[3]: *** [bootstrap] Error 2


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

* [Bug bootstrap/66009] [6 Regression] Bootstrap failure on x86
  2015-05-04 19:12 [Bug bootstrap/66009] New: [6 Regression] Bootstrap failure on x86 hjl.tools at gmail dot com
@ 2015-05-04 23:14 ` law at redhat dot com
  2015-05-04 23:47 ` law at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: law at redhat dot com @ 2015-05-04 23:14 UTC (permalink / raw)
  To: gcc-bugs

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

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |law at redhat dot com

--- Comment #1 from Jeffrey A. Law <law at redhat dot com> ---
Thanks.  I'm trying to confirm my patch as the culprit right now.


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

* [Bug bootstrap/66009] [6 Regression] Bootstrap failure on x86
  2015-05-04 19:12 [Bug bootstrap/66009] New: [6 Regression] Bootstrap failure on x86 hjl.tools at gmail dot com
  2015-05-04 23:14 ` [Bug bootstrap/66009] " law at redhat dot com
@ 2015-05-04 23:47 ` law at redhat dot com
  2015-05-06  7:40 ` rguenth at gcc dot gnu.org
  2015-05-07  4:20 ` law at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: law at redhat dot com @ 2015-05-04 23:47 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Jeffrey A. Law <law at redhat dot com> ---
Yup, it's my patch.  Reverted while I figure out what went wrong.


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

* [Bug bootstrap/66009] [6 Regression] Bootstrap failure on x86
  2015-05-04 19:12 [Bug bootstrap/66009] New: [6 Regression] Bootstrap failure on x86 hjl.tools at gmail dot com
  2015-05-04 23:14 ` [Bug bootstrap/66009] " law at redhat dot com
  2015-05-04 23:47 ` law at redhat dot com
@ 2015-05-06  7:40 ` rguenth at gcc dot gnu.org
  2015-05-07  4:20 ` law at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-05-06  7:40 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |6.0

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.


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

* [Bug bootstrap/66009] [6 Regression] Bootstrap failure on x86
  2015-05-04 19:12 [Bug bootstrap/66009] New: [6 Regression] Bootstrap failure on x86 hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2015-05-06  7:40 ` rguenth at gcc dot gnu.org
@ 2015-05-07  4:20 ` law at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: law at redhat dot com @ 2015-05-07  4:20 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Jeffrey A. Law <law at redhat dot com> ---
Hahaha, finally figured out what was going on here.

The definition of types_match and single_use violate the C++ ODR in a
non-optimizing compilation (ie, then they do not get inlined).  There'll be two
implementations of each function -- with different semantics and the linker
will just pick one willy-nilly.

Easily fixed by making them static inlines.

Doh!


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

end of thread, other threads:[~2015-05-07  4:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-04 19:12 [Bug bootstrap/66009] New: [6 Regression] Bootstrap failure on x86 hjl.tools at gmail dot com
2015-05-04 23:14 ` [Bug bootstrap/66009] " law at redhat dot com
2015-05-04 23:47 ` law at redhat dot com
2015-05-06  7:40 ` rguenth at gcc dot gnu.org
2015-05-07  4:20 ` law at redhat dot com

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