------- Comment #5 from ro at techfak dot uni-bielefeld dot de 2009-09-02 15:25 ------- Subject: Re: [4.5 regression] Solaris 10/x86 comparison failure after VTA merge
jakub at gcc dot gnu dot org writes: > bootstrap-debug intentionally compares (stripped) -g compiled objects with > (stripped) -g0 compiled objects. > Please provide info requested in: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41224#c4 r...@zingana 192 > /vol/gcc/src/gcc-dist/contrib/compare-debug --preserve stage[23]-gcc/plugin.o stage2-gcc/plugin.o.stripped. stage3-gcc/plugin.o.stripped. differ: char 33, line 1 preserving stage2-gcc/plugin.o.stripped. stage3-gcc/plugin.o.stripped. objdump -s output is identical, but e.g. objdump -h output differs considerably, though only in file offsets: --- stage2-gcc/plugin.o.stripped.objdump 2009-09-02 17:23:20.999895800 +0200 +++ stage3-gcc/plugin.o.stripped.objdump 2009-09-02 17:23:23.631184000 +0200 @@ -1,19 +1,19 @@ -stage2-gcc/plugin.o.stripped: file format elf32-i386 +stage3-gcc/plugin.o.stripped: file format elf32-i386 Sections: Idx Name Size VMA LMA File off Algn 0 .text 00000ce9 00000000 00000000 00000034 2**2 CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE - 1 .data 00000078 00000000 00000000 00000d20 2**5 + 1 .data 00000078 00000000 00000000 000012a0 2**5 CONTENTS, ALLOC, LOAD, RELOC, DATA - 2 .bss 0000003c 00000000 00000000 00000da0 2**5 + 2 .bss 0000003c 00000000 00000000 000013a0 2**5 ALLOC - 3 .rodata.str1.1 0000019e 00000000 00000000 00000da0 2**0 + 3 .rodata.str1.1 0000019e 00000000 00000000 000013a0 2**0 CONTENTS, ALLOC, LOAD, READONLY, DATA - 4 .rodata.str1.4 00000338 00000000 00000000 00000f40 2**2 + 4 .rodata.str1.4 00000338 00000000 00000000 00001540 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA - 5 .rodata 000001b3 00000000 00000000 00001280 2**5 + 5 .rodata 000001b3 00000000 00000000 00001880 2**5 CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA - 6 .comment 00000042 00000000 00000000 00001433 2**0 + 6 .comment 00000042 00000000 00000000 00001b04 2**0 CONTENTS, READONLY Let me know what else you need from objdump. Rainer -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41228