http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46109
Summary: gcc-4.5.0 fails to build on Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: y...@tsoft.com I tried to build gcc-4.5.0 exactly the same way that succeeds on LInux and failed on Mac OS X. Darwin MacBook.local 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386 --- build log --- <...skipped...> make "DESTDIR=" "RPATH_ENVVAR=DYLD_LIBRARY_PATH" "TARGET_SUBDIR=i386-apple-darwin10.4.0" "bindir=/usr/local/bin" "datadir=/usr/local/share" "exec_prefix=/usr/local" "includedir=/usr/local/include" "datarootdir=/usr/local/share" "docdir=/usr/local/share/doc/" "infodir=/usr/local/share/info" "pdfdir=/usr/local/share/doc/" "htmldir=/usr/local/share/doc/" "libdir=/usr/local/lib" "libexecdir=/usr/local/libexec" "lispdir=" "localstatedir=/usr/local/var" "mandir=/usr/local/share/man" "oldincludedir=/usr/include" "prefix=/usr/local" "sbindir=/usr/local/sbin" "sharedstatedir=/usr/local/com" "sysconfdir=/usr/local/etc" "tooldir=/usr/local/i386-apple-darwin10.4.0" "build_tooldir=/usr/local/i386-apple-darwin10.4.0" "target_alias=i386-apple-darwin10.4.0" "AWK=awk" "BISON=bison" "CC_FOR_BUILD=gcc" "CFLAGS_FOR_BUILD=-g -O2" "CXX_FOR_BUILD=g++" "EXPECT=expect" "FLEX=flex" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS_FOR_BUILD=" "LEX=flex" "M4=gm4" "MAKE=make" "RUNTEST=runtest" "RUNTESTFLAGS=" "SED=/usr/bin/sed" "SHELL=/bin/sh" "YACC=bison -y" "`echo 'ADAFLAGS=' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "ADA_CFLAGS=" "AR_FLAGS=rc" "`echo 'BOOT_ADAFLAGS=-gnatpg -gnata' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "BOOT_CFLAGS=-g -O2 -fomit-frame-pointer" "BOOT_LDFLAGS=" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCXXFLAGS=-g -O2 -fno-implicit-templates" "STAGE1_CHECKING=--enable-checking=yes,types" "STAGE1_LANGUAGES=c" "GNATBIND=no" "GNATMAKE=no" "AR_FOR_TARGET=ar" "AS_FOR_TARGET=as" "CC_FOR_TARGET=/tmp/gcc-build/4.5.0/bld/./gcc/xgcc -B/tmp/gcc-build/4.5.0/bld/./gcc/" "CFLAGS_FOR_TARGET=-g -O2" "CPPFLAGS_FOR_TARGET=" "CXX_FOR_TARGET=/tmp/gcc-build/4.5.0/bld/./gcc/g++ -B/tmp/gcc-build/4.5.0/bld/./gcc/ -nostdinc++ -L/tmp/gcc-build/4.5.0/bld/i386-apple-darwin10.4.0/libstdc++-v3/src -L/tmp/gcc-build/4.5.0/bld/i386-apple-darwin10.4.0/libstdc++-v3/src/.libs" "CXXFLAGS_FOR_TARGET=-g -O2" "DLLTOOL_FOR_TARGET=dlltool" "FLAGS_FOR_TARGET=-B/usr/local/i386-apple-darwin10.4.0/bin/ -B/usr/local/i386-apple-darwin10.4.0/lib/ -isystem /usr/local/i386-apple-darwin10.4.0/include -isystem /usr/local/i386-apple-darwin10.4.0/sys-include" "GCJ_FOR_TARGET=" "GFORTRAN_FOR_TARGET=" "LD_FOR_TARGET=/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld" "LIPO_FOR_TARGET=lipo" "LDFLAGS_FOR_TARGET=" "LIBCFLAGS_FOR_TARGET=-g -O2" "LIBCXXFLAGS_FOR_TARGET=-g -O2 -fno-implicit-templates" "NM_FOR_TARGET=nm" "OBJDUMP_FOR_TARGET=objdump" "RANLIB_FOR_TARGET=ranlib" "STRIP_FOR_TARGET=strip" "WINDRES_FOR_TARGET=windres" "WINDMC_FOR_TARGET=windmc" "BUILD_CONFIG=bootstrap-debug" "`echo 'LANGUAGES=' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "LEAN=false" "STAGE1_CFLAGS=-g -fkeep-inline-functions" "STAGE1_CXXFLAGS=-g -O2" "STAGE1_TFLAGS=" "STAGE2_CFLAGS=-g -O2 -fomit-frame-pointer -gtoggle" "STAGE2_CXXFLAGS=-g -O2" "STAGE2_TFLAGS=" "STAGE3_CFLAGS=-g -O2 -fomit-frame-pointer" "STAGE3_CXXFLAGS=-g -O2" "STAGE3_TFLAGS=" "STAGE4_CFLAGS=-g -O2 -fomit-frame-pointer" "STAGE4_CXXFLAGS=-g -O2" "STAGE4_TFLAGS=" "STAGEprofile_CFLAGS=-g -O2 -fomit-frame-pointer -gtoggle -fprofile-generate" "STAGEprofile_CXXFLAGS=-g -O2" "STAGEprofile_TFLAGS=" "STAGEfeedback_CFLAGS=-g -O2 -fomit-frame-pointer -fprofile-use" "STAGEfeedback_CXXFLAGS=-g -O2" "STAGEfeedback_TFLAGS=" "TFLAGS=" "CONFIG_SHELL=/bin/sh" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000" compare rm -f stage_current Comparing stages 2 and 3 warning: gcc/cc1-checksum.o differs warning: gcc/cc1plus-checksum.o differs Bootstrap comparison failure! i386-apple-darwin10.4.0/libgomp/.libs/bar.o differs i386-apple-darwin10.4.0/libgomp/.libs/barrier.o differs i386-apple-darwin10.4.0/libgomp/.libs/env.o differs i386-apple-darwin10.4.0/libgomp/.libs/iter.o differs i386-apple-darwin10.4.0/libgomp/.libs/iter_ull.o differs i386-apple-darwin10.4.0/libgomp/.libs/lock.o differs i386-apple-darwin10.4.0/libgomp/.libs/loop.o differs i386-apple-darwin10.4.0/libgomp/.libs/loop_ull.o differs i386-apple-darwin10.4.0/libgomp/.libs/ordered.o differs i386-apple-darwin10.4.0/libgomp/.libs/parallel.o differs i386-apple-darwin10.4.0/libgomp/.libs/proc.o differs i386-apple-darwin10.4.0/libgomp/.libs/sections.o differs i386-apple-darwin10.4.0/libgomp/.libs/single.o differs i386-apple-darwin10.4.0/libgomp/.libs/task.o differs i386-apple-darwin10.4.0/libgomp/.libs/team.o differs i386-apple-darwin10.4.0/libgomp/.libs/work.o differs i386-apple-darwin10.4.0/libgomp/bar.o differs i386-apple-darwin10.4.0/libgomp/barrier.o differs i386-apple-darwin10.4.0/libgomp/env.o differs i386-apple-darwin10.4.0/libgomp/iter.o differs i386-apple-darwin10.4.0/libgomp/iter_ull.o differs i386-apple-darwin10.4.0/libgomp/lock.o differs i386-apple-darwin10.4.0/libgomp/loop.o differs i386-apple-darwin10.4.0/libgomp/loop_ull.o differs i386-apple-darwin10.4.0/libgomp/ordered.o differs i386-apple-darwin10.4.0/libgomp/parallel.o differs i386-apple-darwin10.4.0/libgomp/proc.o differs i386-apple-darwin10.4.0/libgomp/sections.o differs i386-apple-darwin10.4.0/libgomp/single.o differs i386-apple-darwin10.4.0/libgomp/task.o differs i386-apple-darwin10.4.0/libgomp/team.o differs i386-apple-darwin10.4.0/libgomp/work.o differs make[2]: *** [compare] Error 1 make[1]: *** [stage3-bubble] Error 2 make: *** [all] Error 2