public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/48152] New: Bootstrap failure for x86_64-w64-mingw32 due ICE
@ 2011-03-16 16:33 ktietz at gcc dot gnu.org
  2011-03-16 16:40 ` [Bug middle-end/48152] " jakub at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: ktietz at gcc dot gnu.org @ 2011-03-16 16:33 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Bootstrap failure for x86_64-w64-mingw32 due ICE
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ktietz@gcc.gnu.org


Bootstrap of libstdc++ fails for building libstdc++-v3/src/istream-inst.cc.

This is caused by http://gcc.gnu.org/viewcvs?view=revision&revision=171036

$ gdb --args /home/ktietz/source/gcc-head/buildw64/./gcc/cc1plus.exe
-nostdinc++ -isystem /usr/local/x86_64-w64-mingw32/include -isystem
/usr/local/mingw/include -isystem /usr/local/x86_64-w64-mingw32/include-isystem
-I/home/ktietz/source/gcc-head/buildw64/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32
-I/home/ktietz/source/gcc-head/buildw64/x86_64-w64-mingw32/libstdc++-v3/include
-I/home/ktietz/source/gcc-head/gcc/libstdc++-v3/libsupc++
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once-ffunction-sections -fdata-sections -g -O2
../../../../gcc/libstdc++-v3/src/istream-inst.cc  -DDLL_EXPORT -DPIC -o
istream-inst.s
GNU gdb 6.8.0.20080328-cvs (cygwin-special)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) br fancy_abort
Breakpoint 1 at 0x824d26: file ../../gcc/gcc/diagnostic.c, line 893.
(gdb)r

backtrace of ICE:

#0  fancy_abort (file=0xfb774c "../../gcc/gcc/config/i386/i386.c", line=6897,
    function=0xfb9339 "function_arg_advance_ms_64")
    at ../../gcc/gcc/diagnostic.c:893
#1  0x00744ff0 in ix86_function_arg_advance (cum=0x369c550, mode=BLKmode,
    type=0x7e9b9600, named=1 '\001') at ../../gcc/gcc/config/i386/i386.c:6804
#2  0x00df0fc8 in vt_initialize () at ../../gcc/gcc/var-tracking.c:5787
#3  0x00df2ad9 in variable_tracking_main ()
    at ../../gcc/gcc/var-tracking.c:8939
#4  0x00816fd2 in execute_one_pass (pass=0xf4b360)
    at ../../gcc/gcc/passes.c:1556
#5  0x00817144 in execute_pass_list (pass=0xf4b0a0)
    at ../../gcc/gcc/passes.c:1611
#6  0x00817157 in execute_pass_list (pass=0xf45720)
    at ../../gcc/gcc/passes.c:1612
#7  0x00817157 in execute_pass_list (pass=0xf47ba0)
    at ../../gcc/gcc/passes.c:1612
#8  0x0099d1cd in tree_rest_of_compilation (fndecl=0x7e5a0200)
    at ../../gcc/gcc/tree-optimize.c:422
#9  0x0081a6eb in cgraph_expand_function (node=0x7e668f30)
    at ../../gcc/gcc/cgraphunit.c:1576
#10 0x0081d24d in cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:1635
#11 0x0081d72a in cgraph_finalize_compilation_unit ()
    at ../../gcc/gcc/cgraphunit.c:1096
#12 0x004d9ac4 in cp_write_global_declarations ()
    at ../../gcc/gcc/cp/decl2.c:4000
#13 0x0085c29d in toplev_main (argc=26, argv=0x3c696f0)
    at ../../gcc/gcc/toplev.c:591
#14 0x0062165a in main (argc=26, argv=0x3c696f0) at ../../gcc/gcc/main.c:36

The cause for this aasertation is that it is tried to call
ix86_function_arg_advance with a type/mode size of 16 bytes, which isn't
allowed by this ABI.


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

end of thread, other threads:[~2011-03-17 16:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-16 16:33 [Bug middle-end/48152] New: Bootstrap failure for x86_64-w64-mingw32 due ICE ktietz at gcc dot gnu.org
2011-03-16 16:40 ` [Bug middle-end/48152] " jakub at gcc dot gnu.org
2011-03-16 17:04 ` ktietz at gcc dot gnu.org
2011-03-16 17:40 ` ktietz at gcc dot gnu.org
2011-03-16 17:43 ` nightstrike at gmail dot com
2011-03-16 19:16 ` jakub at gcc dot gnu.org
2011-03-16 20:02 ` jakub at gcc dot gnu.org
2011-03-17 15:22 ` jakub at gcc dot gnu.org
2011-03-17 16:08 ` jakub 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).