Bug 17406 - [4.0 regression] ICE dwarf2out_frame_debug_expr, at dwarf2out.c:1692
Summary: [4.0 regression] ICE dwarf2out_frame_debug_expr, at dwarf2out.c:1692
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.0.0
: P2 critical
Target Milestone: 4.0.0
Assignee: Richard Henderson
URL:
Keywords: build, ice-on-valid-code, patch
: 19166 19167 (view as bug list)
Depends on:
Blocks: 18107
  Show dependency treegraph
 
Reported: 2004-09-10 20:26 UTC by Aaron W. LaFramboise
Modified: 2004-12-28 05:27 UTC (History)
6 users (show)

See Also:
Host: i686-pc-mingw32
Target: i686-pc-mingw32
Build: i686-pc-mingw32
Known to work:
Known to fail:
Last reconfirmed: 2004-12-28 05:05:10


Attachments
Preprocessed source (33.13 KB, application/octet-stream)
2004-09-14 06:32 UTC, Aaron W. LaFramboise
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron W. LaFramboise 2004-09-10 20:26:26 UTC
ICE occurs when building stage2 during bootstrap.

gcc version 3.5.0 20040909 (experimental)
i686-pc-mingw32

stage1/xgcc.exe -Bstage1/ -B/aaronwl/cs/env/mingw-head-head-head-20040909/i686-
pc-mingw32/bin/ -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-
prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -
Wold-style-definition -Werror -fno-common   -DHAVE_CONFIG_H -
I/aaronwl/cs/internat/iconv/install/include   -I. -I. -
I../../../src/cvs/head/gcc/gcc -I../../../src/cvs/head/gcc/gcc/. -
I../../../src/cvs/head/gcc/gcc/../include -I./../intl -
I../../../src/cvs/head/gcc/gcc/../libcpp/include -I/aaronwl/cs/env/mingw-head-
head-head-20040909/include -I/aaronwl/cs/env/mingw-head-head-head-
20040909/include ../../../src/cvs/head/gcc/gcc/sched-vis.c -o sched-vis.o
../../../src/cvs/head/gcc/gcc/sched-vis.c: In function `print_pattern':
../../../src/cvs/head/gcc/gcc/sched-vis.c:613: internal compiler error: in 
dwarf2out_frame_debug_expr, at dwarf2out.c:1692
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [sched-vis.o] Error 1

#0  fancy_abort (file=0x885a0c "../../../src/cvs/head/gcc/gcc/dwarf2out.c", 
    line=1692, function=0x887460 "dwarf2out_frame_debug_expr")
    at ../../../src/cvs/head/gcc/gcc/diagnostic.c:591
#1  0x004da5e6 in dwarf2out_frame_debug_expr (expr=0x18d0f70, 
    label=0x903980 "*LCFI10") at ../../../src/cvs/head/gcc/gcc/dwarf2out.c:1764
#2  0x0060e407 in final_scan_insn (insn=0x19127f8, file=0x77c5fce0, 
    optimize=2, prescan=0, nopeepholes=0, seen=0x22fd28)
    at ../../../src/cvs/head/gcc/gcc/final.c:2534
#3  0x0060e61e in final (first=0x19140a0, file=0x77c5fce0, optimize=2, 
    prescan=0) at ../../../src/cvs/head/gcc/gcc/final.c:1574
#4  0x005cdf6d in rest_of_compilation ()
    at ../../../src/cvs/head/gcc/gcc/passes.c:301
#5  0x005cb572 in execute_pass_list (pass=0x84db20)
    at ../../../src/cvs/head/gcc/gcc/tree-optimize.c:501
#6  0x005cb782 in tree_rest_of_compilation (fndecl=0x18a3618, nested_p=0 '\0')
    at ../../../src/cvs/head/gcc/gcc/tree-optimize.c:618
#7  0x00419668 in c_expand_body (fndecl=0x18a3618)
    at ../../../src/cvs/head/gcc/gcc/c-decl.c:6420
#8  0x005c897d in cgraph_expand_function (node=0x18c42d0)
    at ../../../src/cvs/head/gcc/gcc/cgraphunit.c:811
#9  0x005c97af in cgraph_optimize ()
    at ../../../src/cvs/head/gcc/gcc/cgraphunit.c:1677
#10 0x0041b00d in c_write_global_declarations ()
    at ../../../src/cvs/head/gcc/gcc/c-decl.c:6953
#11 0x0047e10f in toplev_main (argc=42, argv=0x3d4a68)
    at ../../../src/cvs/head/gcc/gcc/toplev.c:1001
#12 0x00462e6a in main (argc=4009864, argv=0x462e53)
    at ../../../src/cvs/head/gcc/gcc/main.c:35

(gdb) print *dest
$2 = {code = MEM, mode = SImode, jump = 0, call = 0, unchanging = 0, 
  volatil = 0, in_struct = 0, used = 0, frame_related = 0, return_val = 0, 
  u = {fld = {{rt_int = 26021696, rt_uint = 26021696, rt_str = 0x18d0f40 "-", 
        rt_rtx = 0x18d0f40, rt_rtvec = 0x18d0f40, rt_type = 26021696, 
        rt_addr_diff_vec_flags = {min_align = 64, base_after_vec = 1, 
          min_after_vec = 1, max_after_vec = 1, min_after_base = 1, 
          max_after_base = 0, offset_unsigned = 0, 0, scale = 141}, 
        rt_cselib = 0x18d0f40, rt_bit = 0x18d0f40, rt_tree = 0x18d0f40, 
        rt_bb = 0x18d0f40, rt_mem = 0x18d0f40, rt_reg = 0x18d0f40}}, hwint = {
      26021696}}}

(gdb) print *expr
$4 = {code = MEM, mode = SImode, jump = 0, call = 0, unchanging = 0, 
  volatil = 0, in_struct = 0, used = 0, frame_related = 0, return_val = 0, 
  u = {fld = {{rt_int = 26021696, rt_uint = 26021696, rt_str = 0x18d0f40 "-", 
        rt_rtx = 0x18d0f40, rt_rtvec = 0x18d0f40, rt_type = 26021696, 
        rt_addr_diff_vec_flags = {min_align = 64, base_after_vec = 1, 
          min_after_vec = 1, max_after_vec = 1, min_after_base = 1, 
          max_after_base = 0, offset_unsigned = 0, 0, scale = 141}, 
        rt_cselib = 0x18d0f40, rt_bit = 0x18d0f40, rt_tree = 0x18d0f40, 
        rt_bb = 0x18d0f40, rt_mem = 0x18d0f40, rt_reg = 0x18d0f40}}, hwint = {
      26021696}}}

i686-pc-mingw32
Windows XP SP2 Professional
Pentium 4 256MB
Cygwin Current Tue Sep 07 08:20:57 2004
binutils 2.15
mingwrt 3.5
msvcrt 7.0.2600.2180
w32api 3.1
libiconv 1.9.1

../../src/cvs/head/gcc/configure --enable-languages=ada,c,c++,f95,java,objc --
with-dwarf2 --enable-libmudflap --enable-libgcj --with-win32-nlsapi=unicows --
enable-libstdcxx-allocator=mt --enable-libstdcxx-debug --
prefix=/aaronwl/cs/env/mingw-head-head-head-20040909 --enable-maintainer-mode -
-with-included-gettext --with-libiconv-
prefix=/aaronwl/cs/internat/iconv/install --with-gmp=/aaronwl/cs/env/mingw-
head-head-head-20040909 --with-mpfr=/aaronwl/cs/env/mingw-head-head-head-
20040909
Comment 1 Andrew Pinski 2004-09-12 22:21:44 UTC
Can you attach the preprocessed source?
Also can you try again?
Comment 2 Aaron W. LaFramboise 2004-09-14 06:32:05 UTC
Created attachment 7127 [details]
Preprocessed source
Comment 3 Aaron W. LaFramboise 2004-09-14 06:54:45 UTC
It fails at -O1 -g, but not with -g or with -O1 without the other, and not when
neither is specified.

I tried again and this still fails on GNU C version 4.0.0 20040914
(experimental) (i686-pc-mingw32).

Debugging information is better this time for some reason (I think I may have
bootstrapped from a different compiler) and now its reporting the assert in
frame 1 as:
1692 gcc_assert (cfa_temp.reg == (unsigned) regno);
1693 offset -= cfa_temp.offset;

(gdb) print cfa_temp
$8 = {reg = 0, offset = 6180, base_offset = 0, indirect = 0}

(gdb) print regno
$9 = 6

The value of cfa_temp->reg is set within a previous call of that function:
Old value = 6
New value = 0
dwarf2out_frame_debug_expr (expr=0x1890230, label=0xa71d40 "*LCFI8")
    at ../../../src/cvs/head/gcc/gcc/dwarf2out.c:1604
1604              cfa_temp.offset = INTVAL (src);

What all of this means is a mystery to me. :-)

Perhaps it is supposed to be initialized somewhere and it is not being initialized?

I will continue to debug and see if I can come up with anything else, but all of
this part of the compiler is unknown to me.  Any assistance would be appreciated!
Comment 4 Giovanni Bajo 2004-09-14 14:11:48 UTC
Can you test if the preprocessed source triggers an ICE with older GCCs 
(3.4/3.3/2.95)? Or I'll do it when I get back home.
Comment 5 Aaron W. LaFramboise 2004-09-14 22:17:06 UTC
I was able to reproduce this on the MinGW.org-patched GCC 3.4.1 using -gdwarf-2
-O1 (dwarf-2 is disabled in FSF GCC 3.4-branch).  I don't have anything earlier
than this to test, but I don't think they would support dwarf2 anyway.  So, I
suppose this is not really a regression because this fails on any dwarf2-enabled
i686-pc-mingw32.

I have been unable to make any progress in determining why cfa_temp->reg is
incorrectly set, other than naively speculating that it is not being initialized.
Comment 6 Aaron W. LaFramboise 2004-09-19 00:30:40 UTC
Since sometime during the past 48 hours, I am now getting the same ICE for
another file during bootstrap:

stage1/xgcc.exe -Bstage1/
-B/aaronwl/cs/env/mingw-head-head-head-20040918/i686-pc-mingw32/bin/ -c   -g -O2
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Werror -fno-common   -DHAVE_CONFIG_H
-I/aaronwl/cs/internat/iconv/install/include   -I. -Ijava
-I../../../src/cvs/head/gcc/gcc -I../../../src/cvs/head/gcc/gcc/java
-I../../../src/cvs/head/gcc/gcc/../include -I./../intl
-I../../../src/cvs/head/gcc/gcc/../libcpp/include
-I/aaronwl/cs/env/mingw-head-head-head-20040918/include
-I/aaronwl/cs/env/mingw-head-head-head-20040918/include java/parse.c -o java/parse.o
../../../src/cvs/head/gcc/gcc/java/parse.y: In function
'issue_warning_error_from_context':
../../../src/cvs/head/gcc/gcc/java/parse.y:3097: internal compiler error: in
dwarf2out_frame_debug_expr, at dwarf2out.c:1692
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [java/parse.o] Error 1
Comment 7 Aaron W. LaFramboise 2004-09-25 06:57:55 UTC
I minimized this testcase down to this.  Note that the size of t1 and t2
together must be greater than or equal to 3969 to trigger the ICE.

$ gcc -O1 -g -c bug.i
bug.i: In function 'print_pattern':
bug.i:8: internal compiler error: in dwarf2out_frame_debug_expr, at dwarf2out.c:1692
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

void print_value (char *, int, int);

void print_pattern (int i, int j) {

  char t1[3968], t2[1];
  print_value (t1, i, j);
  print_value (t2, i, j);
}
Comment 8 Giovanni Bajo 2004-09-25 10:45:35 UTC
This does not reproduce on x86-linux for me, but the testcase is very simple. 

Jason, maybe you have some ideas? This breaks bootstrap on mingw...
Comment 9 Danny Smith 2004-10-07 00:44:35 UTC
The bug appears to be yet another related to the stack probe that is used on 
windows target when allocating more than a page at a time

Removing the RTX_FRAME_RELATED_P tag from the movl <allocate> %eax insn in
ix86_expand_prologue  fixes this bug (refer comments on FRAME_RELATED_P in 
dwarf2out.c)

I have only tested this on a quick rebuild of a month-old CVS. It doesn't seem 
to resurrect any of the old _alloca bugs that the intro of RTX_FRAME_RELATED_P
was meant to fixed.  I'll test properly when I've paid my phone bill and can 
afford to update CVS. Aaron, could you test?

Index: i386.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/i386.c,v
retrieving revision 1.720
diff -c -3 -p -r1.720 i386.c
*** i386.c	4 Sep 2004 07:55:07 -0000	1.720
--- i386.c	7 Oct 2004 00:30:28 -0000
*************** ix86_expand_prologue (void)
*** 4280,4287 ****
  	  allocate -= 4;
  	}
  
!       insn = emit_move_insn (eax, GEN_INT (allocate));
!       RTX_FRAME_RELATED_P (insn) = 1;
  
        insn = emit_insn (gen_allocate_stack_worker (eax));
        RTX_FRAME_RELATED_P (insn) = 1;
--- 4280,4286 ----
  	  allocate -= 4;
  	}
  
!       emit_move_insn (eax, GEN_INT (allocate));
  
        insn = emit_insn (gen_allocate_stack_worker (eax));
        RTX_FRAME_RELATED_P (insn) = 1;
Comment 10 himanshu 2004-10-07 05:12:53 UTC
Hi All,

I ma trying to configure wxWdgets on linux machine for cross platform
applciation development using wxWidgets. When i try to compile wxWidgets it
shows me following error list while trying to compile...
-----------------------------------------------------------------------------------
./bk-deps i386-mingw32msvc-gcc -c -o wxregex_regcomp.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/regex/regcomp.c
src/regex/regc_color.c: In function `subrange':
src/regex/regc_color.c:449: warning: 'b' might be used uninitialized in this
function
src/regex/regc_color.c:453: warning: 'lastt' might be used uninitialized in this
function
./bk-deps i386-mingw32msvc-gcc -c -o wxregex_regexec.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/regex/regexec.c
./bk-deps i386-mingw32msvc-gcc -c -o wxregex_regerror.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/regex/regerror.c
./bk-deps i386-mingw32msvc-gcc -c -o wxregex_regfree.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/regex/regfree.c
rm -f lib/libwxregex-i386-mingw32msvc.a
i386-mingw32msvc-ar rcu lib/libwxregex-i386-mingw32msvc.a wxregex_regcomp.o
wxregex_regexec.o wxregex_regerror.o wxregex_regfree.o
i386-mingw32msvc-ranlib lib/libwxregex-i386-mingw32msvc.a
./bk-deps i386-mingw32msvc-gcc -c -o wxzlib_adler32.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/zlib/adler32.c
./bk-deps i386-mingw32msvc-gcc -c -o wxzlib_compress.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/zlib/compress.c
./bk-deps i386-mingw32msvc-gcc -c -o wxzlib_crc32.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/zlib/crc32.c
./bk-deps i386-mingw32msvc-gcc -c -o wxzlib_gzio.o  -DWX_PRECOMP -DNO_GCC_PRAGMA
-fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2
-mthreads -Wall src/zlib/gzio.c
./bk-deps i386-mingw32msvc-gcc -c -o wxzlib_uncompr.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/zlib/uncompr.c
./bk-deps i386-mingw32msvc-gcc -c -o wxzlib_deflate.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/zlib/deflate.c
./bk-deps i386-mingw32msvc-gcc -c -o wxzlib_trees.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/zlib/trees.c
./bk-deps i386-mingw32msvc-gcc -c -o wxzlib_zutil.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/zlib/zutil.c
./bk-deps i386-mingw32msvc-gcc -c -o wxzlib_inflate.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/zlib/inflate.c
./bk-deps i386-mingw32msvc-gcc -c -o wxzlib_infback.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/zlib/infback.c
./bk-deps i386-mingw32msvc-gcc -c -o wxzlib_inftrees.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/zlib/inftrees.c
./bk-deps i386-mingw32msvc-gcc -c -o wxzlib_inffast.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/zlib/inffast.c
rm -f lib/libwxzlib-i386-mingw32msvc.a
i386-mingw32msvc-ar rcu lib/libwxzlib-i386-mingw32msvc.a wxzlib_adler32.o
wxzlib_compress.o wxzlib_crc32.o wxzlib_gzio.o wxzlib_uncompr.o wxzlib_deflate.o
wxzlib_trees.o wxzlib_zutil.o wxzlib_inflate.o wxzlib_infback.o
wxzlib_inftrees.o wxzlib_inffast.o
i386-mingw32msvc-ranlib lib/libwxzlib-i386-mingw32msvc.a
./bk-deps i386-mingw32msvc-gcc -c -o wxpng_png.o -I./src/zlib   -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/png/png.c
./bk-deps i386-mingw32msvc-gcc -c -o wxpng_pngerror.o -I./src/zlib  
-DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/png/pngerror.c
./bk-deps i386-mingw32msvc-gcc -c -o wxpng_pnggccrd.o -I./src/zlib  
-DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/png/pnggccrd.c
./bk-deps i386-mingw32msvc-gcc -c -o wxpng_pngget.o -I./src/zlib   -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/png/pngget.c
./bk-deps i386-mingw32msvc-gcc -c -o wxpng_pngmem.o -I./src/zlib   -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/png/pngmem.c
./bk-deps i386-mingw32msvc-gcc -c -o wxpng_pngpread.o -I./src/zlib  
-DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/png/pngpread.c
./bk-deps i386-mingw32msvc-gcc -c -o wxpng_pngread.o -I./src/zlib   -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/png/pngread.c
./bk-deps i386-mingw32msvc-gcc -c -o wxpng_pngrio.o -I./src/zlib   -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/png/pngrio.c
./bk-deps i386-mingw32msvc-gcc -c -o wxpng_pngrtran.o -I./src/zlib  
-DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/png/pngrtran.c
./bk-deps i386-mingw32msvc-gcc -c -o wxpng_pngrutil.o -I./src/zlib  
-DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/png/pngrutil.c
./bk-deps i386-mingw32msvc-gcc -c -o wxpng_pngset.o -I./src/zlib   -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/png/pngset.c
./bk-deps i386-mingw32msvc-gcc -c -o wxpng_pngtrans.o -I./src/zlib  
-DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/png/pngtrans.c
./bk-deps i386-mingw32msvc-gcc -c -o wxpng_pngvcrd.o -I./src/zlib   -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/png/pngvcrd.c
./bk-deps i386-mingw32msvc-gcc -c -o wxpng_pngwio.o -I./src/zlib   -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/png/pngwio.c
./bk-deps i386-mingw32msvc-gcc -c -o wxpng_pngwrite.o -I./src/zlib  
-DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/png/pngwrite.c
./bk-deps i386-mingw32msvc-gcc -c -o wxpng_pngwtran.o -I./src/zlib  
-DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/png/pngwtran.c
./bk-deps i386-mingw32msvc-gcc -c -o wxpng_pngwutil.o -I./src/zlib  
-DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/png/pngwutil.c
rm -f lib/libwxpng-i386-mingw32msvc.a
i386-mingw32msvc-ar rcu lib/libwxpng-i386-mingw32msvc.a wxpng_png.o
wxpng_pngerror.o wxpng_pnggccrd.o wxpng_pngget.o wxpng_pngmem.o wxpng_pngpread.o
wxpng_pngread.o wxpng_pngrio.o wxpng_pngrtran.o wxpng_pngrutil.o wxpng_pngset.o
wxpng_pngtrans.o wxpng_pngvcrd.o wxpng_pngwio.o wxpng_pngwrite.o
wxpng_pngwtran.o wxpng_pngwutil.o
i386-mingw32msvc-ranlib lib/libwxpng-i386-mingw32msvc.a
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jcomapi.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jcomapi.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jutils.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jutils.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jerror.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jerror.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jmemmgr.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jmemmgr.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jmemnobs.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jmemnobs.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jcapimin.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jcapimin.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jcapistd.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jcapistd.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jctrans.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jctrans.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jcparam.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jcparam.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jdatadst.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jdatadst.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jcinit.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jcinit.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jcmaster.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jcmaster.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jcmarker.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jcmarker.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jcmainct.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jcmainct.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jcprepct.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jcprepct.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jccoefct.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jccoefct.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jccolor.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jccolor.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jcsample.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jcsample.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jchuff.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jchuff.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jcphuff.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jcphuff.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jcdctmgr.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jcdctmgr.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jfdctfst.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jfdctfst.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jfdctflt.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jfdctflt.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jfdctint.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jfdctint.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jdapimin.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jdapimin.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jdapistd.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jdapistd.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jdtrans.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jdtrans.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jdatasrc.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jdatasrc.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jdmaster.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jdmaster.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jdinput.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jdinput.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jdmarker.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jdmarker.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jdhuff.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jdhuff.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jdphuff.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jdphuff.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jdmainct.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jdmainct.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jdcoefct.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jdcoefct.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jdpostct.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jdpostct.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jddctmgr.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jddctmgr.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jidctfst.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jidctfst.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jidctflt.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jidctflt.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jidctint.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jidctint.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jidctred.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jidctred.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jdsample.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jdsample.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jdcolor.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jdcolor.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jquant1.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jquant1.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jquant2.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jquant2.c
./bk-deps i386-mingw32msvc-gcc -c -o wxjpeg_jdmerge.o  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/jpeg/jdmerge.c
rm -f lib/libwxjpeg-i386-mingw32msvc.a
i386-mingw32msvc-ar rcu lib/libwxjpeg-i386-mingw32msvc.a wxjpeg_jcomapi.o
wxjpeg_jutils.o wxjpeg_jerror.o wxjpeg_jmemmgr.o wxjpeg_jmemnobs.o
wxjpeg_jcapimin.o wxjpeg_jcapistd.o wxjpeg_jctrans.o wxjpeg_jcparam.o
wxjpeg_jdatadst.o wxjpeg_jcinit.o wxjpeg_jcmaster.o wxjpeg_jcmarker.o
wxjpeg_jcmainct.o wxjpeg_jcprepct.o wxjpeg_jccoefct.o wxjpeg_jccolor.o
wxjpeg_jcsample.o wxjpeg_jchuff.o wxjpeg_jcphuff.o wxjpeg_jcdctmgr.o
wxjpeg_jfdctfst.o wxjpeg_jfdctflt.o wxjpeg_jfdctint.o wxjpeg_jdapimin.o
wxjpeg_jdapistd.o wxjpeg_jdtrans.o wxjpeg_jdatasrc.o wxjpeg_jdmaster.o
wxjpeg_jdinput.o wxjpeg_jdmarker.o wxjpeg_jdhuff.o wxjpeg_jdphuff.o
wxjpeg_jdmainct.o wxjpeg_jdcoefct.o wxjpeg_jdpostct.o wxjpeg_jddctmgr.o
wxjpeg_jidctfst.o wxjpeg_jidctflt.o wxjpeg_jidctint.o wxjpeg_jidctred.o
wxjpeg_jdsample.o wxjpeg_jdcolor.o wxjpeg_jquant1.o wxjpeg_jquant2.o
wxjpeg_jdmerge.o
i386-mingw32msvc-ranlib lib/libwxjpeg-i386-mingw32msvc.a
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_win32.o -I./src/zlib
-I./src/jpeg  -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_win32.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_aux.o -I./src/zlib -I./src/jpeg
 -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_aux.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_close.o -I./src/zlib
-I./src/jpeg  -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_close.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_codec.o -I./src/zlib
-I./src/jpeg  -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_codec.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_compress.o -I./src/zlib
-I./src/jpeg  -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_compress.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_dir.o -I./src/zlib -I./src/jpeg
 -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_dir.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_dirinfo.o -I./src/zlib
-I./src/jpeg  -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_dirinfo.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_dirread.o -I./src/zlib
-I./src/jpeg  -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_dirread.c
src/tiff/tif_dirread.c: In function `TIFFFetchFloat':
src/tiff/tif_dirread.c:747: warning: dereferencing type-punned pointer will
break strict-aliasing rules
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_dirwrite.o -I./src/zlib
-I./src/jpeg  -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_dirwrite.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_dumpmode.o -I./src/zlib
-I./src/jpeg  -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_dumpmode.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_error.o -I./src/zlib
-I./src/jpeg  -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_error.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_fax3.o -I./src/zlib -I./src/jpeg
 -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_fax3.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_fax3sm.o -I./src/zlib
-I./src/jpeg  -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_fax3sm.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_getimage.o -I./src/zlib
-I./src/jpeg  -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_getimage.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_jpeg.o -I./src/zlib -I./src/jpeg
 -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_jpeg.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_flush.o -I./src/zlib
-I./src/jpeg  -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_flush.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_lzw.o -I./src/zlib -I./src/jpeg
 -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_lzw.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_luv.o -I./src/zlib -I./src/jpeg
 -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_luv.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_next.o -I./src/zlib -I./src/jpeg
 -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_next.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_open.o -I./src/zlib -I./src/jpeg
 -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_open.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_packbits.o -I./src/zlib
-I./src/jpeg  -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_packbits.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_pixarlog.o -I./src/zlib
-I./src/jpeg  -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_pixarlog.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_predict.o -I./src/zlib
-I./src/jpeg  -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_predict.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_print.o -I./src/zlib
-I./src/jpeg  -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_print.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_read.o -I./src/zlib -I./src/jpeg
 -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_read.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_swab.o -I./src/zlib -I./src/jpeg
 -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_swab.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_strip.o -I./src/zlib
-I./src/jpeg  -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_strip.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_thunder.o -I./src/zlib
-I./src/jpeg  -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_thunder.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_tile.o -I./src/zlib -I./src/jpeg
 -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_tile.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_version.o -I./src/zlib
-I./src/jpeg  -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_version.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_warning.o -I./src/zlib
-I./src/jpeg  -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_warning.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_write.o -I./src/zlib
-I./src/jpeg  -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_write.c
./bk-deps i386-mingw32msvc-gcc -c -o wxtiff_tif_zip.o -I./src/zlib -I./src/jpeg
 -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/tiff/tif_zip.c
rm -f lib/libwxtiff-i386-mingw32msvc.a
i386-mingw32msvc-ar rcu lib/libwxtiff-i386-mingw32msvc.a wxtiff_tif_win32.o
wxtiff_tif_aux.o wxtiff_tif_close.o wxtiff_tif_codec.o wxtiff_tif_compress.o
wxtiff_tif_dir.o wxtiff_tif_dirinfo.o wxtiff_tif_dirread.o wxtiff_tif_dirwrite.o
wxtiff_tif_dumpmode.o wxtiff_tif_error.o wxtiff_tif_fax3.o wxtiff_tif_fax3sm.o
wxtiff_tif_getimage.o wxtiff_tif_jpeg.o wxtiff_tif_flush.o wxtiff_tif_lzw.o
wxtiff_tif_luv.o wxtiff_tif_next.o wxtiff_tif_open.o wxtiff_tif_packbits.o
wxtiff_tif_pixarlog.o wxtiff_tif_predict.o wxtiff_tif_print.o wxtiff_tif_read.o
wxtiff_tif_swab.o wxtiff_tif_strip.o wxtiff_tif_thunder.o wxtiff_tif_tile.o
wxtiff_tif_version.o wxtiff_tif_warning.o wxtiff_tif_write.o wxtiff_tif_zip.o
i386-mingw32msvc-ranlib lib/libwxtiff-i386-mingw32msvc.a
./bk-deps i386-mingw32msvc-gcc -c -o wxexpat_xmlparse.o -I./src/expat  
-DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/expat/lib/xmlparse.c
./bk-deps i386-mingw32msvc-gcc -c -o wxexpat_xmlrole.o -I./src/expat  
-DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/expat/lib/xmlrole.c
./bk-deps i386-mingw32msvc-gcc -c -o wxexpat_xmltok.o -I./src/expat  
-DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/expat/lib/xmltok.c
rm -f lib/libwxexpat-i386-mingw32msvc.a
i386-mingw32msvc-ar rcu lib/libwxexpat-i386-mingw32msvc.a wxexpat_xmlparse.o
wxexpat_xmlrole.o wxexpat_xmltok.o
i386-mingw32msvc-ranlib lib/libwxexpat-i386-mingw32msvc.a
./bk-make-pch .pch/wxprec_basedll/wx/wxprec.h.gch wx/wxprec.h
i386-mingw32msvc-c++ -I.pch/wxprec_basedll -D__WXMSW__  -I./src/tiff
-I./src/jpeg -I./src/png -I./src/zlib  -I./src/regex -I./src/expat/lib
-DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1  -DWX_PRECOMP -DNO_GCC_PRAGMA
-fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2
-mthreads -Wall./bk-deps i386-mingw32msvc-c++ -c -o basedll_appbase.o
-I.pch/wxprec_basedll -D__WXMSW__  -I./src/tiff -I./src/jpeg -I./src/png
-I./src/zlib  -I./src/regex -I./src/expat/lib -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE
-DwxUSE_BASE=1  -DWX_PRECOMP -DNO_GCC_PRAGMA -fpch-deps -fpch-deps
-Ilib/wx/include/msw-2.5-i386-mingw32msvc -I./include -O2 -mthreads -Wall
src/common/appbase.cpp
./bk-deps i386-mingw32msvc-c++ -c -o basedll_cmdline.o -I.pch/wxprec_basedll
-D__WXMSW__  -I./src/tiff -I./src/jpeg -I./src/png -I./src/zlib  -I./src/regex
-I./src/expat/lib -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/common/cmdline.cpp
./bk-deps i386-mingw32msvc-c++ -c -o basedll_config.o -I.pch/wxprec_basedll
-D__WXMSW__  -I./src/tiff -I./src/jpeg -I./src/png -I./src/zlib  -I./src/regex
-I./src/expat/lib -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/common/config.cpp
./bk-deps i386-mingw32msvc-c++ -c -o basedll_datetime.o -I.pch/wxprec_basedll
-D__WXMSW__  -I./src/tiff -I./src/jpeg -I./src/png -I./src/zlib  -I./src/regex
-I./src/expat/lib -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1  -DWX_PRECOMP
-DNO_GCC_PRAGMA -fpch-deps -fpch-deps -Ilib/wx/include/msw-2.5-i386-mingw32msvc
-I./include -O2 -mthreads -Wall src/common/datetime.cpp
src/common/datetime.cpp: In function `wxString CallStrftime(const wxChar*, const
tm*)':
src/common/datetime.cpp:356: internal compiler error: in
dwarf2out_frame_debug_expr, at dwarf2out.c:1602
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.mingw.org/bugs.shtml> for instructions.
make: *** [basedll_datetime.o] Error 1
-----------------------------------------------------------------------------

can someone help me out in this..i am using gcc 3.4.1. and binustils as 
binutils-2.15.90-20040222-1-src.

Looking forward toa ny help or pointers. Someone told me that excluding dwarf
would fix the error. Please dont mind but i am new to linux systems and i dont
know how to disable dwarf. Please help me out. Any help or documentation or
pointers are highly appreciated.
Thanks a lot in advance.

Best Regards,
Himanshu
Comment 11 Aaron W. LaFramboise 2004-10-07 06:43:20 UTC
I've started a bootstrap and regression test cycle of current mainline with this
patch.  This will probably take about 24 hours on i686-pc-mingw32.  (Thats
another thing I wouldn't mind seeing fixed.)  I'll post again with any
regressions or other problems when its done.
Comment 12 Andrew Pinski 2004-10-07 12:22:59 UTC
Confirmed.
Comment 13 Aaron W. LaFramboise 2004-10-13 07:27:08 UTC
Sorry for the delay.  My bootstrap kept breaking, and the full cycle appears to
take about 48 hours to complete.

I can preliminarily say that this patch does indeed appear to fix this problem,
but I have not yet completed regression testing.  I will report back when it is
done (sometime before the next ice age).
Comment 14 Aaron W. LaFramboise 2004-10-15 19:58:14 UTC
I can confirm that this patch fixes this bug and causes no testsuite
regressions. :-)
Comment 15 Matthew Swaringen 2004-10-26 20:48:11 UTC
There is some kind of patch referred to at the end here.. where is it?  I am
only seeing the pre-processed source as an attached file.

Anyway, I'm having the same issue as himanshu.  I've tried every version of
wxwidgets and none of them compile completely and end on this error.

>>src/common/datetime.cpp: In function `wxString CallStrftime(const wxChar*,
const tm*)':
src/common/datetime.cpp:356: internal compiler error: in
dwarf2out_frame_debug_expr, at dwarf2out.c:1602 <<

Any help in finding a patch to this, some basic instructions on what I can do to
fix, etc. would be appreciated.  I'm guessing this is a problem with the
compiler itself of which I'm using gcc-3.4.1 for the cross compilation with
mingw.  I used libsdl's cross-tools script to set this up, after failing to
compile gcc-g++-3.4.2 manually with instructions found elsewhere(gcc worked
fine, but it would break on libstdc++
Comment 16 Andrew Pinski 2004-10-26 21:39:54 UTC
The patch is located in comment #9.
Comment 17 Danny Smith 2004-10-27 21:27:07 UTC
Patch submitted here for review:
http://gcc.gnu.org/ml/gcc-patches/2004-10/msg02425.html
Danny
Comment 18 Giovanni Bajo 2004-12-04 15:45:12 UTC
RTH: ping on this patch. It's the last bug preventing mingw32 from 
bootstrapping again.
Comment 19 Danny Smith 2004-12-04 19:27:07 UTC
There is also a patch at:
http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00226.html

Danny
Comment 20 Andrew Pinski 2004-12-27 14:38:08 UTC
*** Bug 19166 has been marked as a duplicate of this bug. ***
Comment 21 Andrew Pinski 2004-12-27 16:38:08 UTC
*** Bug 19167 has been marked as a duplicate of this bug. ***
Comment 22 Lucas 2004-12-27 16:46:05 UTC
The patch supplied in this PR needs to be updated to reflect CVS (It will not
apply to a fresh checkout of CVS done on 10-26-04).
Comment 23 Andrew Pinski 2004-12-27 16:48:35 UTC
(In reply to comment #22)
> The patch supplied in this PR needs to be updated to reflect CVS (It will not
> apply to a fresh checkout of CVS done on 10-26-04).

If you taking about the one in comment #9, that is not a correct patch.
The correct one is referenced in comment #19:
http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00226.html
Comment 24 Lucas 2004-12-27 16:51:35 UTC
Thanks for the pointer Andrew!
Comment 25 Richard Henderson 2004-12-28 00:17:32 UTC
Testing a completely different patch.
Comment 26 Richard Henderson 2004-12-28 01:24:05 UTC
new patch: http://gcc.gnu.org/ml/gcc-patches/2004-12/msg01983.html
Comment 27 Danny Smith 2004-12-28 04:29:09 UTC
Richard Hendeerson's patch in comment #26
http://gcc.gnu.org/ml/gcc-patches/2004-12/msg01983.html
fixes mingw bootstrap with -gdwarf-2
Danny
Comment 28 GCC Commits 2004-12-28 05:26:36 UTC
Subject: Bug 17406

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rth@gcc.gnu.org	2004-12-28 05:26:25

Modified files:
	gcc            : ChangeLog 
	gcc/config/i386: i386.c 

Log message:
	PR target/17406
	* config/i386/i386.c (ix86_expand_prologue): Add REG_FRAME_RELATED_EXPR
	note for allocate_stack_worker insn.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6965&r2=2.6966
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcc&r1=1.765&r2=1.766

Comment 29 Richard Henderson 2004-12-28 05:27:16 UTC
Fixed.