public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/37091]  New: Rev 138207 causes ICE using bootstrap for crt for win64
@ 2008-08-12  4:44 nightstrike at gmail dot com
  2008-08-12  4:47 ` [Bug bootstrap/37091] " nightstrike at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: nightstrike at gmail dot com @ 2008-08-12  4:44 UTC (permalink / raw)
  To: gcc-bugs

Building for a target of win64 on cygwin results in an ICE while building the
crt for the toolchain.  Using this sequence:

binutils
all-gcc
crt
gcc

The crt phase dies as follows:

x86_64-pc-mingw32-gcc -DHAVE_CONFIG_H -I.
-I/var/lib/buildbot/slave-vista64-cyg32/cygwin-x86/build/mingw/obj/../mingw-w64-crt
-I/var/lib/buildbot/slave-vista64-cyg32/cygwin-x86/build/mingw/obj/../mingw-w64-crt/include64
-D_CRTBLD
-I/var/lib/buildbot/slave-vista64-cyg32/cygwin-x86/build/root/mingw/include
 -pipe  -Wall -std=gnu99 -g -O2 -MT gdtoa/lib64_libmingwex_a-gethex.o -MD -MP
-MF gdtoa/.deps/lib64_libmingwex_a-gethex.Tpo -c -o
gdtoa/lib64_libmingwex_a-gethex.o `test -f 'gdtoa/gethex.c' || echo
'/var/lib/buildbot/slave-vista64-cyg32/cygwin-x86/build/mingw/obj/../mingw-w64-crt/'`gdtoa/gethex.c
/var/lib/buildbot/slave-vista64-cyg32/cygwin-x86/build/mingw/obj/../mingw-w64-crt/gdtoa/gethex.c:
In function '__gethex_D2A':
/var/lib/buildbot/slave-vista64-cyg32/cygwin-x86/build/mingw/obj/../mingw-w64-crt/gdtoa/gethex.c:45:
internal compiler error: tree check: accessed elt 4 of tree_vec with 3
elts in find_switch_asserts, at tree-vrp.c:4346
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [gdtoa/lib64_libmingwex_a-gethex.o] Error 1
make[1]: Leaving directory
`/var/lib/buildbot/slave-vista64-cyg32/cygwin-x86/build/mingw/obj'
make: *** [all] Error 2


Here's the file:

http://mingw-w64.svn.sourceforge.net/viewvc/mingw-w64/trunk/mingw-w64-crt/gdtoa/gethex.c?view=markup


At this stage, the newly built gcc is used to build the crt, so it's the stage
1 gcc that is dying.


-- 
           Summary: Rev 138207 causes ICE using bootstrap for crt for win64
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: nightstrike at gmail dot com
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: x86_64-pc-mingw32


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37091


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

* [Bug bootstrap/37091] Rev 138207 causes ICE using bootstrap for crt for win64
  2008-08-12  4:44 [Bug bootstrap/37091] New: Rev 138207 causes ICE using bootstrap for crt for win64 nightstrike at gmail dot com
@ 2008-08-12  4:47 ` nightstrike at gmail dot com
  2008-08-12  4:47 ` nightstrike at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: nightstrike at gmail dot com @ 2008-08-12  4:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from nightstrike at gmail dot com  2008-08-12 04:46 -------
Created an attachment (id=16057)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16057&action=view)
Preprocessed source

This is the preprocessed source for the file that causes the ICE


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37091


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

* [Bug bootstrap/37091] Rev 138207 causes ICE using bootstrap for crt for win64
  2008-08-12  4:44 [Bug bootstrap/37091] New: Rev 138207 causes ICE using bootstrap for crt for win64 nightstrike at gmail dot com
  2008-08-12  4:47 ` [Bug bootstrap/37091] " nightstrike at gmail dot com
@ 2008-08-12  4:47 ` nightstrike at gmail dot com
  2008-08-12  5:03 ` aaronavay62 at aaronwl dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: nightstrike at gmail dot com @ 2008-08-12  4:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from nightstrike at gmail dot com  2008-08-12 04:46 -------
Preprocessed source added as attachment.  Also note that the bootstrap gcc was
built with cygwin's gcc, which is a modified 3.4.4.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37091


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

* [Bug bootstrap/37091] Rev 138207 causes ICE using bootstrap for crt for win64
  2008-08-12  4:44 [Bug bootstrap/37091] New: Rev 138207 causes ICE using bootstrap for crt for win64 nightstrike at gmail dot com
  2008-08-12  4:47 ` [Bug bootstrap/37091] " nightstrike at gmail dot com
  2008-08-12  4:47 ` nightstrike at gmail dot com
@ 2008-08-12  5:03 ` aaronavay62 at aaronwl dot com
  2008-08-12  5:05 ` aaronavay62 at aaronwl dot com
  2008-08-12  8:44 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: aaronavay62 at aaronwl dot com @ 2008-08-12  5:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from aaronavay62 at aaronwl dot com  2008-08-12 05:02 -------
This failure comes up whenever GCC 3.4.x is used to build GCC 4.4 on Windows. 
I'm not sure if it affects any non-Windows targets.


-- 

aaronavay62 at aaronwl dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
  GCC build triplet|i686-pc-cygwin              |*-mingw*, *-cygwin
   GCC host triplet|i686-pc-cygwin              |
 GCC target triplet|x86_64-pc-mingw32           |*-mingw*, *-cygwin
   Last reconfirmed|0000-00-00 00:00:00         |2008-08-12 05:02:15
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37091


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

* [Bug bootstrap/37091] Rev 138207 causes ICE using bootstrap for crt for win64
  2008-08-12  4:44 [Bug bootstrap/37091] New: Rev 138207 causes ICE using bootstrap for crt for win64 nightstrike at gmail dot com
                   ` (2 preceding siblings ...)
  2008-08-12  5:03 ` aaronavay62 at aaronwl dot com
@ 2008-08-12  5:05 ` aaronavay62 at aaronwl dot com
  2008-08-12  8:44 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: aaronavay62 at aaronwl dot com @ 2008-08-12  5:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from aaronavay62 at aaronwl dot com  2008-08-12 05:04 -------
To clarify, GCC 3.4.x miscompiles GCC 4.4 when not being bootstrapped.  A
normal bootstrap won't show this failure, but a cross build or
--disable-bootstrap will.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37091


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

* [Bug bootstrap/37091] Rev 138207 causes ICE using bootstrap for crt for win64
  2008-08-12  4:44 [Bug bootstrap/37091] New: Rev 138207 causes ICE using bootstrap for crt for win64 nightstrike at gmail dot com
                   ` (3 preceding siblings ...)
  2008-08-12  5:05 ` aaronavay62 at aaronwl dot com
@ 2008-08-12  8:44 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-08-12  8:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2008-08-12 08:42 -------


*** This bug has been marked as a duplicate of 37086 ***


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37091


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

end of thread, other threads:[~2008-08-12  8:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-12  4:44 [Bug bootstrap/37091] New: Rev 138207 causes ICE using bootstrap for crt for win64 nightstrike at gmail dot com
2008-08-12  4:47 ` [Bug bootstrap/37091] " nightstrike at gmail dot com
2008-08-12  4:47 ` nightstrike at gmail dot com
2008-08-12  5:03 ` aaronavay62 at aaronwl dot com
2008-08-12  5:05 ` aaronavay62 at aaronwl dot com
2008-08-12  8:44 ` rguenth at gcc dot gnu 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).