[ANNOUNCEMENT] Updated: experimental package: gcc4-4.3.2-2

Angelo Graziosi angelo.graziosi@alice.it
Fri Mar 13 15:24:00 GMT 2009


Dave Korn wrote:

> Can you show me the "objdump -h" output for both?

It seems that here there is a problem. I have build with the same build 
script and without debug info, but, for what I can understand, with gcc4 
  the debug info are still there. To reproduce:

====================================
svn checkout https://materm.svn.sourceforge.net/svnroot/materm/mrxvt05b
cd mrxvt05b
./bootstrap.sh

============================ GGG 3.4.4-999 ========================

./configure --enable-everything --disable-debug

make

ls -lrt src/mrxvt.exe
-rwxr-xr-x 1 graziosi Users 873388 Mar 13 16:09 src/mrxvt.exe

objdump -h src/mrxvt.exe

src/mrxvt.exe:     file format pei-i386

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
   0 .text         00035230  00401000  00401000  00000400  2**4
                   CONTENTS, ALLOC, LOAD, READONLY, CODE
   1 .data         00001f40  00437000  00437000  00035800  2**5
                   CONTENTS, ALLOC, LOAD, DATA
   2 .rdata        00009f80  00439000  00439000  00037800  2**5
                   CONTENTS, ALLOC, LOAD, READONLY, DATA
   3 .bss          00000410  00443000  00443000  00000000  2**3
                   ALLOC
   4 .idata        000027cc  00444000  00444000  00041800  2**2
                   CONTENTS, ALLOC, LOAD, DATA
   5 .stab         0004e2c4  00447000  00447000  00044000  2**2
                   CONTENTS, READONLY, DEBUGGING, EXCLUDE
   6 .stabstr      0002db31  00496000  00496000  00092400  2**0
                   CONTENTS, READONLY, DEBUGGING, EXCLUDE

============================ GGG 4.3.2-2 ========================

svn checkout https://materm.svn.sourceforge.net/svnroot/materm/mrxvt05b
cd mrxvt05b
./bootstrap.sh

CC='gcc-4' CXX='g++-4' CPP='cpp-4' ./configure --enable-everything 
--disable-debug

make

ls -lrt src/mrxvt.exe
-rwxr-xr-x 1 graziosi Users 1712670 Mar 13 16:16 src/mrxvt.exe

objdump -h src/mrxvt.exe

src/mrxvt.exe:     file format pei-i386

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
   0 .text         00036138  00401000  00401000  00000400  2**4
                   CONTENTS, ALLOC, LOAD, READONLY, CODE, DATA
   1 .data         000017c0  00438000  00438000  00036600  2**5
                   CONTENTS, ALLOC, LOAD, DATA
   2 .rdata        00009484  0043a000  0043a000  00037e00  2**5
                   CONTENTS, ALLOC, LOAD, READONLY, DATA
   3 .bss          00000430  00444000  00444000  00000000  2**3
                   ALLOC
   4 .idata        000027ec  00445000  00445000  00041400  2**2
                   CONTENTS, ALLOC, LOAD, DATA
   5 .debug_aranges 000003c0  00448000  00448000  00043c00  2**3
                   CONTENTS, READONLY, DEBUGGING
   6 .debug_pubnames 00002c7f  00449000  00449000  00044000  2**0
                   CONTENTS, READONLY, DEBUGGING
   7 .debug_info   00106f9e  0044c000  0044c000  00046e00  2**0
                   CONTENTS, READONLY, DEBUGGING
   8 .debug_abbrev 00005bbe  00553000  00553000  0014de00  2**0
                   CONTENTS, READONLY, DEBUGGING
   9 .debug_line   0000ae50  00559000  00559000  00153a00  2**0
                   CONTENTS, READONLY, DEBUGGING
  10 .debug_frame  0000378c  00564000  00564000  0015ea00  2**2
                   CONTENTS, READONLY, DEBUGGING
  11 .debug_str    00005371  00568000  00568000  00162200  2**0
                   CONTENTS, READONLY, DEBUGGING
  12 .debug_loc    00020b56  0056e000  0056e000  00167600  2**0
                   CONTENTS, READONLY, DEBUGGING
  13 .debug_ranges 000023a0  0058f000  0058f000  00188200  2**0
                   CONTENTS, READONLY, DEBUGGING

====================================

Cheers,
    Angelo.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list