[Bug target/39291] _Unwind_Backtrace fails.

pluto at agmk dot net gcc-bugzilla@gcc.gnu.org
Sat Feb 28 10:44:00 GMT 2009



------- Comment #5 from pluto at agmk dot net  2009-02-28 10:43 -------
(In reply to comment #4)
> Created an attachment (id=17376)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17376&action=view) [edit]
> testcase executable built on mingw32 
> 
> testcase executable built on mingw32 attached

yours u.exe works, but yours u.exe has differents size:

118 167 u-dw2.exe
115 557 u.exe

u-dw2.exe:     file format pei-i386
Sections:
Idx Name          Size      VMA               LMA               File off  Algn
  0 .text         000054c4  00401000  00401000  00000400  2**4                
                  CONTENTS, ALLOC, LOAD, READONLY, CODE, DATA                 
  1 .data         00000030  00407000  00407000  00005a00  2**2                
                  CONTENTS, ALLOC, LOAD, DATA                                 
  2 .rdata        00000c28  00408000  00408000  00005c00  2**2                
                  CONTENTS, ALLOC, LOAD, READONLY, DATA                       
  3 .bss          00000538  00409000  00409000  00000000  2**5                
                  ALLOC                                                       
  4 .idata        00000558  0040a000  0040a000  00006a00  2**2                
                  CONTENTS, ALLOC, LOAD, DATA                                 
  5 .CRT          00000034  0040b000  0040b000  00007000  2**2                
                  CONTENTS, ALLOC, LOAD, DATA                                 
  6 .tls          00000008  0040c000  0040c000  00007200  2**2                
                  CONTENTS, ALLOC, LOAD, DATA                                 
(...debug sections...)

u.exe:     file format pei-i386
Sections:
Idx Name          Size      VMA               LMA               File off  Algn
  0 .text         000042f4  00401000  00401000  00000400  2**4
                  CONTENTS, ALLOC, LOAD, READONLY, CODE, DATA
  1 .data         00000020  00406000  00406000  00004800  2**2
                  CONTENTS, ALLOC, LOAD, DATA
  2 .rdata        00000d30  00407000  00407000  00004a00  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  3 .bss          000000c8  00408000  00408000  00000000  2**3
                  ALLOC
  4 .idata        00000374  00409000  00409000  00005800  2**2
                  CONTENTS, ALLOC, LOAD, DATA
(...debug sections...)

as you can see my u-dw2.exe has more sections, so i assume
that we're using different win32 crt. i'm using mingw-w64/svn
compiled with i486-pc-mingw-gcc (solution proposed by K.Tietz).


-- 


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



More information about the Gcc-bugs mailing list