On Friday, April 10, 2015 at 9:30:22 PM UTC+2, bluescarni wrote:
>
> I am rather interested as well in understanding what exactly is going on 
> here.
>

I'm pretty sure this is not intentional: 
http://stackoverflow.com/questions/29529455/missing-c-header-debug-after-updating-osx-command-line-tools-6-3

I added the workaround with the missing __debug header but now the gcc 
bootstrap fails with:

$ make
[...]
make "DESTDIR=" "RPATH_ENVVAR=DYLD_LIBRARY_PATH" 
"TARGET_SUBDIR=x86_64-apple-darwin14.3.0" 
"bindir=/Users/vbraun/Sage/local/bin" 
"datadir=/Users/vbraun/Sage/local/share" 
"exec_prefix=/Users/vbraun/Sage/local" 
"includedir=/Users/vbraun/Sage/local/include" 
"datarootdir=/Users/vbraun/Sage/local/share" 
"docdir=/Users/vbraun/Sage/local/share/doc/" 
"infodir=/Users/vbraun/Sage/local/share/info" 
"pdfdir=/Users/vbraun/Sage/local/share/doc/" 
"htmldir=/Users/vbraun/Sage/local/share/doc/" 
"libdir=/Users/vbraun/Sage/local/lib" 
"libexecdir=/Users/vbraun/Sage/local/libexec" "lispdir=" 
"localstatedir=/Users/vbraun/Sage/local/var" 
"mandir=/Users/vbraun/Sage/local/share/man" "oldincludedir=/usr/include" 
"prefix=/Users/vbraun/Sage/local" "sbindir=/Users/vbraun/Sage/local/sbin" 
"sharedstatedir=/Users/vbraun/Sage/local/com" 
"sysconfdir=/Users/vbraun/Sage/local/etc" 
"tooldir=/Users/vbraun/Sage/local/x86_64-apple-darwin14.3.0" 
"build_tooldir=/Users/vbraun/Sage/local/x86_64-apple-darwin14.3.0" 
"target_alias=x86_64-apple-darwin14.3.0" "AWK=awk" "BISON=bison" 
"CC_FOR_BUILD=/usr/bin/clang" "CFLAGS_FOR_BUILD=-g -O2" 
"CXX_FOR_BUILD=/usr/bin/clang++" "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' | 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=/Users/vbraun/Sage/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/./gcc/xgcc
 
-B/Users/vbraun/Sage/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/./gcc/" 
"CFLAGS_FOR_TARGET=-g -O2" "CPPFLAGS_FOR_TARGET=" "CXXFLAGS_FOR_TARGET=-g 
-O2" "DLLTOOL_FOR_TARGET=dlltool" 
"FLAGS_FOR_TARGET=-B/Users/vbraun/Sage/local/x86_64-apple-darwin14.3.0/bin/ 
-B/Users/vbraun/Sage/local/x86_64-apple-darwin14.3.0/lib/ -isystem 
/Users/vbraun/Sage/local/x86_64-apple-darwin14.3.0/include -isystem 
/Users/vbraun/Sage/local/x86_64-apple-darwin14.3.0/sys-include" 
"GCJ_FOR_TARGET=" 
"GFORTRAN_FOR_TARGET=/Users/vbraun/Sage/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/./gcc/gfortran
 
-B/Users/vbraun/Sage/local/var/tmp/sage/build/gcc-4.9.2.p1/gcc-build/./gcc/" 
"GOC_FOR_TARGET=" "GOCFLAGS_FOR_TARGET=-O2 -g" "LD_FOR_TARGET=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=" 
"`echo 'LANGUAGES=' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "LEAN=false" 
"STAGE1_CFLAGS=-g " "STAGE1_CXXFLAGS=-g " "STAGE1_TFLAGS=" 
"STAGE2_CFLAGS=-g -O2 " "STAGE2_CXXFLAGS=-g -O2 " "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  -fprofile-generate" "STAGEprofile_CXXFLAGS=-g 
-O2  -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-darwin14.3.0/libstdc++-v3/scripts/testsuite_flags; then 
/bin/sh $r/x86_64-apple-darwin14.3.0/libstdc++-v3/scripts/testsuite_flags 
--build-includes; else echo -funconfigured-libstdc++-v3 ; fi` 
-L$r/x86_64-apple-darwin14.3.0/libstdc++-v3/src 
-L$r/x86_64-apple-darwin14.3.0/libstdc++-v3/src/.libs 
-L$r/x86_64-apple-darwin14.3.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/cc1plus-checksum.o differs
Bootstrap comparison failure!
gcc/asan.o differs
gcc/attribs.o differs
gcc/bitmap.o differs
gcc/c/c-decl.o differs
gcc/cfg.o differs
gcc/coverage.o differs
gcc/cp/class.o differs
gcc/cp/semantics.o differs
gcc/cp/tree.o differs
gcc/dse.o differs
gcc/dwarf2out.o differs
gcc/except.o differs
gcc/fortran/trans-common.o differs
gcc/ggc-common.o differs
gcc/ipa-profile.o differs
gcc/ira-color.o differs
gcc/ira-costs.o differs
gcc/loop-unroll.o differs
gcc/lto-streamer-in.o differs
gcc/lto-streamer-out.o differs
gcc/passes.o differs
gcc/plugin.o differs
gcc/postreload-gcse.o differs
gcc/statistics.o differs
gcc/trans-mem.o differs
gcc/tree-cfg.o differs
gcc/tree-eh.o differs
gcc/tree-ssa-ccp.o differs
gcc/tree-ssa-coalesce.o differs
gcc/tree-ssa-dom.o differs
gcc/tree-ssa-live.o differs
gcc/tree-ssa-loop-ivopts.o differs
gcc/tree-ssa-phiopt.o differs
gcc/tree-ssa-pre.o differs
gcc/tree-ssa-reassoc.o differs
gcc/tree-ssa-threadupdate.o differs
gcc/tree-ssa-uncprop.o differs
gcc/tree-vectorizer.o differs
gcc/valtrack.o differs
gcc/vtable-verify.o differs
make[5]: *** [compare] Error 1
make[4]: *** [stage3-bubble] Error 2
make[3]: *** [all] Error 2

real 23m7.256s
user 107m46.516s
sys 8m23.628s
************************************************************************
Error installing package gcc-4.9.2.p1
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /Users/vbraun/Sage/logs/pkgs/gcc-4.9.2.p1.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/Users/vbraun/Sage/local/var/tmp/sage/build/gcc-4.9.2.p1 and type 'make' or 
whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd '/Users/vbraun/Sage/local/var/tmp/sage/build/gcc-4.9.2.p1' && 
'/Users/vbraun/Sage/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
make[2]: *** [/Users/vbraun/Sage/local/var/lib/sage/installed/gcc-4.9.2.p1] 
Error 1
make[1]: *** [all] Error 2

real 26m4.762s
user 111m23.294s
sys 10m13.918s
***************************************************************
Error building Sage.

The following package(s) may have failed to build:

package: gcc-4.9.2.p1
log file: /Users/vbraun/Sage/logs/pkgs/gcc-4.9.2.p1.log
build directory: /Users/vbraun/Sage/local/var/tmp/sage/build/gcc-4.9.2.p1

The build directory may contain configuration files and other potentially
helpful information. WARNING: if you now run 'make' again, the build
directory will, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.

make: *** [build] Error 1

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to