David,
Also make sure you are running the expected gcc. For 'gcc -v' on
10.8 with Xcode 5.1.1, you should have...
5.1 (clang-503.0.40) (based on LLVM 3.4svn)[
In particular, creation of /usr/bin/gcc symlinks to use the legacy gcc-4.2
can cause oddities in the FSF gcc build.
Jack
On Wed, Jul 15, 2015 at 9:31 AM, Jack Howarth <howarth.at.f...@gmail.com>
wrote:
> David,
> I've never seen that particular boot-strap comparison failure error
> on x86_64-apple-darwin12.6.0/libstdc++-v3/src/c++98/basic_file.o before
> (the other ones are expected and the build ignores). In general, the normal
> culprits for build issues of FSF gcc (which is a complex build) on fink
> are...
>
> 1) The presence of third-party developer headers in /usr/local (which can
> be solved by moving /usr/local aside before building gcc49)
> 2) The use of the binary distribution of gmp5 on older Intel machines. The
> gmp5 maintainer insists on letting the gmp5 package optimize to the limits
> of the hardware it builds on which makes the built binaries unsuitable for
> older machines. The solution there is to execute 'fink -m rebuild gmp5'
> locally before trying to rebuild gcc49.
> 3) Also make sure you have executed 'fink selfupdate' and 'fink
> update-all' to bring your fink installation current with the 10.7 tree.
>
> Jack
> ps Note that for OS X 10.8, you should have both Xcode 5.1.1 and its
> associated Command Line Tools installed. Also, in general, fink can get a
> bit wonky if you have upgraded it over too many major OS X releases. What
> OS X release were you on when the current fink on your machine was first
> installed?
>
> On Tue, Jul 14, 2015 at 9:44 PM, David Lowe <doctorjl...@earthlink.net>
> wrote:
>
>> > Making all in python
>> > sed -e 's,@pythondir@,/sw/lib/gcc4.9/share/gcc-4.9.3/python,' \
>> > -e 's,@toolexeclibdir@,/sw/lib/gcc4.9/lib/i386,' <
>> ../../../../../gcc-4.9.3/libstdc++-v3/python/hook.in > gdb.py
>> > true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc"
>> "CC_FOR_TARGET=/sw/src/fink.build/gcc49-4.9.3-1000/darwin_objdir/./gcc/xgcc
>> -B/sw/src/fink.build/gcc49-4.9.3-1000/darwin_objdir/./gcc/" "CFLAGS=-g -O2
>> -m32" "CXXFLAGS=-g -O2 -m32" "CFLAGS_FOR_BUILD=-g -O2"
>> "CFLAGS_FOR_TARGET=-g -O2" "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=-m32" "LIBCFLAGS=-g -O2
>> -m32" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=makeinfo
>> --split-size=5000000 --split-size=5000000 --split-size=5000000 "
>> "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/sw/lib/gcc4.9"
>> "infodir=/sw/lib/gcc4.9/info" "libdir=/sw/lib/gcc4.9/lib"
>> "includedir=/sw/lib/gcc4.9/include" "prefix=/sw/lib/gcc4.9"
>> "tooldir=/sw/lib/gcc4.9/x86_64-apple-darwin12.6.0"
>> "gxx_include_dir=/sw/lib/gcc4.9/include/c++/4.9.3" "AR=ar"
>> "AS=/sw/src/fink.build/gcc49-4.9.3-1000/darwin_objdir/./gcc/as"
>> "LD=/sw/src/fink.build/gcc49-4.9.3-1000/darwin_objdir/./gcc/collect-ld"
>> "RANLIB=ranlib"
>> "NM=/sw/src/fink.build/gcc49-4.9.3-1000/darwin_objdir/./gcc/nm"
>> "NM_FOR_BUILD=" "NM_FOR_TARGET=nm" "DESTDIR=" "WERROR=" DO=all multi-do #
>> make
>> > make "DESTDIR=" "RPATH_ENVVAR=DYLD_LIBRARY_PATH"
>> "TARGET_SUBDIR=x86_64-apple-darwin12.6.0" "bindir=/sw/lib/gcc4.9/bin"
>> "datadir=/sw/lib/gcc4.9/share" "exec_prefix=/sw/lib/gcc4.9"
>> "includedir=/sw/lib/gcc4.9/include" "datarootdir=/sw/lib/gcc4.9/share"
>> "docdir=/sw/lib/gcc4.9/share/doc/" "infodir=/sw/lib/gcc4.9/info"
>> "pdfdir=/sw/lib/gcc4.9/share/doc/" "htmldir=/sw/lib/gcc4.9/share/doc/"
>> "libdir=/sw/lib/gcc4.9/lib" "libexecdir=/sw/lib/gcc4.9/libexec" "lispdir="
>> "localstatedir=/sw/lib/gcc4.9/var" "mandir=/sw/share/man"
>> "oldincludedir=/usr/include" "prefix=/sw/lib/gcc4.9"
>> "sbindir=/sw/lib/gcc4.9/sbin" "sharedstatedir=/sw/lib/gcc4.9/com"
>> "sysconfdir=/sw/lib/gcc4.9/etc"
>> "tooldir=/sw/lib/gcc4.9/x86_64-apple-darwin12.6.0"
>> "build_tooldir=/sw/lib/gcc4.9/x86_64-apple-darwin12.6.0"
>> "target_alias=x86_64-apple-darwin12.6.0" "AWK=gawk" "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=/sw/bin/sed"
>> "SHELL=/bin/sh" "YACC=bison -y" "`echo 'ADAFLAGS=' | sed -e
>> s'/[^=][^=]*=$/XFOO=/'`" "ADA_CFLAGS=" "AR_FLAGS=rc" "`echo
>> 'BOOT_ADAFLAGS=-gnatpg' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "BOOT_CFLAGS=-g
>> -O2 " "BOOT_LDFLAGS=-Wl,-no_pie" "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,c++"
>> "GNATBIND=no" "GNATMAKE=no" "AR_FOR_TARGET=ar" "AS_FOR_TARGET=as"
>> "CC_FOR_TARGET=/sw/src/fink.build/gcc49-4.9.3-1000/darwin_objdir/./gcc/xgcc
>> -B/sw/src/fink.build/gcc49-4.9.3-1000/darwin_objdir/./gcc/"
>> "CFLAGS_FOR_TARGET=-g -O2" "CPPFLAGS_FOR_TARGET=" "CXXFLAGS_FOR_TARGET=-g
>> -O2" "DLLTOOL_FOR_TARGET=dlltool"
>> "FLAGS_FOR_TARGET=-B/sw/lib/gcc4.9/x86_64-apple-darwin12.6.0/bin/
>> -B/sw/lib/gcc4.9/x86_64-apple-darwin12.6.0/lib/ -isystem
>> /sw/lib/gcc4.9/x86_64-apple-darwin12.6.0/include -isystem
>> /sw/lib/gcc4.9/x86_64-apple-darwin12.6.0/sys-include"
>> "GCJ_FOR_TARGET=/sw/src/fink.build/gcc49-4.9.3-1000/darwin_objdir/./gcc/gcj
>> -B/sw/src/fink.build/gcc49-4.9.3-1000/darwin_objdir/./gcc/"
>> "GFORTRAN_FOR_TARGET=/sw/src/fink.build/gcc49-4.9.3-1000/darwin_objdir/./gcc/gfortran
>> -B/sw/src/fink.build/gcc49-4.9.3-1000/darwin_objdir/./gcc/"
>> "GOC_FOR_TARGET=" "GOCFLAGS_FOR_TARGET=-O2 -g" "LD_FOR_TARGET=/usr/bin/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"
>> "READELF_FOR_TARGET=readelf" "STRIP_FOR_TARGET=strip"
>> "WINDRES_FOR_TARGET=windres" "WINDMC_FOR_TARGET=windmc"
>> "BUILD_CONFIG=bootstrap-debug" "`echo 'LANGUAGES=' | sed -e
>> s'/[^=][^=]*=$/XFOO=/'`" "LEAN=:" "STAGE1_CFLAGS=-g " "STAGE1_CXXFLAGS=-g "
>> "STAGE1_TFLAGS=" "STAGE2_CFLAGS=-g -O2 -gtoggle" "STAGE2_CXXFLAGS=-g -O2
>> -gtoggle" "STAGE2_TFLAGS=" "STAGE3_CFLAGS=-g -O2 " "STAGE3_CXXFLAGS=-g -O2
>> " "STAGE3_TFLAGS=" "STAGE4_CFLAGS=-g -O2 " "STAGE4_CXXFLAGS=-g -O2 "
>> "STAGE4_TFLAGS=" "STAGEprofile_CFLAGS=-g -O2 -gtoggle -fprofile-generate"
>> "STAGEprofile_CXXFLAGS=-g -O2 -gtoggle -fprofile-generate"
>> "STAGEprofile_TFLAGS=" "STAGEfeedback_CFLAGS=-g -O2 -fprofile-use"
>> "STAGEfeedback_CXXFLAGS=-g -O2 -fprofile-use" "STAGEfeedback_TFLAGS="
>> "CXX_FOR_TARGET= $r/./gcc/xg++ -B$r/./gcc/ -nostdinc++ `if test -f
>> $r/x86_64-apple-darwin12.6.0/libstdc++-v3/scripts/testsuite_flags; then
>> /bin/sh $r/x86_64-apple-darwin12.6.0/libstdc++-v3/scripts/testsuite_flags
>> --build-includes; else echo -funconfigured-libstdc++-v3 ; fi`
>> -L$r/x86_64-apple-darwin12.6.0/libstdc++-v3/src
>> -L$r/x86_64-apple-darwin12.6.0/libstdc++-v3/src/.libs
>> -L$r/x86_64-apple-darwin12.6.0/libstdc++-v3/libsupc++/.libs" "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/cc1obj-checksum.o differs
>> > warning: gcc/cc1objplus-checksum.o differs
>> > warning: gcc/cc1plus-checksum.o differs
>> > Bootstrap comparison failure!
>> > x86_64-apple-darwin12.6.0/libstdc++-v3/src/c++98/basic_file.o differs
>> > make[2]: *** [compare] Error 1
>> > make[1]: *** [stage3-bubble] Error 2
>> > make: *** [bootstrap-lean] Error 2
>> > ### execution of /tmp/fink.pqEFT failed, exit code 2
>>
>>
>> This is fink 0.38.6 on OS X.8.5 . I have the whole log if
>> necessary.
>>
>> sent from Mountain Lion
>>
>> Mal: "If anyone gets nosy, just ...you know ... shoot 'em. "
>> Zoe: "Shoot 'em?"
>> Mal: "Politely."
>
>
>
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users