After the VTA merge (i.e. as of rev. 151322, bootstrap on i386-pc-solaris2.10 fails since all? object files miscompare between stages 2 and 3. To investigate this, I've rebuild stage2 and stage3 plugin.o with -save-temps. The two .s files differ by additional .debug_* sections in stage3, together with many labels (which shouldn't affect the object files), .loc statements. This accounts for a significant size difference between the .o files:
-rw-r--r-- 1 ro gcc 32480 Sep 2 15:18 stage1-gcc/plugin.o -rw-r--r-- 1 ro gcc 9936 Sep 2 16:29 stage2-gcc/plugin.o -rw-r--r-- 1 ro gcc 35852 Sep 2 16:29 stage3-gcc/plugin.o The stage2 plugin.o was built with /vol/gcc/obj/gcc-4.5.0-20090902/10-gcc/./prev-gcc/xgcc -B/vol/gcc/obj/gcc-4.5.0-20090902/10-gcc/./prev-gcc/ -B/vol/gcc/i386-pc-solaris2.10/bin/ -B/vol/gcc/i386-pc-solaris2.10/bin/ -B/vol/gcc/i386-pc-solaris2.10/lib/ -isystem /vol/gcc/i386-pc-solaris2.10/include -isystem /vol/gcc/i386-pc-solaris2.10/sys-include -c -g -O2 -gtoggle -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -I. -I. -I/vol/gcc/src/gcc-dist/gcc -I/vol/gcc/src/gcc-dist/gcc/. -I/vol/gcc/src/gcc-dist/gcc/../include -I/vol/gcc/src/gcc-dist/gcc/../libcpp/include -I/vol/gcc/include -I/vol/gcc/include -I/vol/gcc/src/gcc-dist/gcc/../libdecnumber -I/vol/gcc/src/gcc-dist/gcc/../libdecnumber/dpd -I../libdecnumber /vol/gcc/src/gcc-dist/gcc/plugin.c -o plugin.o the stage3 plugin.o with /vol/gcc/obj/gcc-4.5.0-20090902/10-gcc/./prev-gcc/xgcc -B/vol/gcc/obj/gcc-4.5.0-20090902/10-gcc/./prev-gcc/ -B/vol/gcc/i386-pc-solaris2.10/bin/ -B/vol/gcc/i386-pc-solaris2.10/bin/ -B/vol/gcc/i386-pc-solaris2.10/lib/ -isystem /vol/gcc/i386-pc-solaris2.10/include -isystem /vol/gcc/i386-pc-solaris2.10/sys-include -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -I. -I. -I/vol/gcc/src/gcc-dist/gcc -I/vol/gcc/src/gcc-dist/gcc/. -I/vol/gcc/src/gcc-dist/gcc/../include -I/vol/gcc/src/gcc-dist/gcc/../libcpp/include -I/vol/gcc/include -I/vol/gcc/include -I/vol/gcc/src/gcc-dist/gcc/../libdecnumber -I/vol/gcc/src/gcc-dist/gcc/../libdecnumber/dpd -I../libdecnumber /vol/gcc/src/gcc-dist/gcc/plugin.c -o plugin.o I'm attaching the .i and both .s files for further investigation. sparc-sun-solaris2.11 bootstrap just broke in the same way. -- Summary: [4.5 regression] Solaris 10/x86 comparison failure after VTA merge Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: aoliva at gcc dot gnu dot org ReportedBy: ro at gcc dot gnu dot org GCC build triplet: i386-pc-solaris2.10 GCC host triplet: i386-pc-solaris2.10 GCC target triplet: i386-pc-solaris2.10 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41228