[Clfs-support] Problem during compiling gcc

Filip Bartmann filbar at centrum.cz
Thu Aug 6 10:57:21 PDT 2009


I have this error during compiling gcc on final system:
--------------------------------------------------------------------------
make[2]: Leaving directory `/build/gcc-build'
make "DESTDIR=" "RPATH_ENVVAR=LD_LIBRARY_PATH"
"TARGET_SUBDIR=x86_64-unknown-linux-gnu" "bindir=/usr/bin"
"datadir=/usr/share" "exec_prefix=/usr" "includedir=/usr/include"
"datarootdir=/usr/share" "docdir=/usr/share/doc" "infodir=/usr/info"
"pdfdir=/usr/share/doc" "htmldir=/usr/share/doc" "libdir=/usr/lib"
"libexecdir=/usr/lib" "lispdir=" "localstatedir=/usr/var"
"mandir=/usr/man" "oldincludedir=/usr/include" "prefix=/usr"
"sbindir=/usr/sbin" "sharedstatedir=/usr/com" "sysconfdir=/usr/etc"
"tooldir=/usr/x86_64-unknown-linux-gnu"
"build_tooldir=/usr/x86_64-unknown-linux-gnu"
"target_alias=x86_64-unknown-linux-gnu" "BISON=/build/gcc-4.4.1/missing
bison" "CC_FOR_BUILD=gcc -Wl,-rpath-link,/lib -isystem /usr/include"
"CFLAGS_FOR_BUILD=-g -O2" "CXX_FOR_BUILD=g++ -Wl,-rpath-link,/lib
-isystem /usr/include" "EXPECT=expect" "FLEX=/build/gcc-4.4.1/missing
flex" "INSTALL=/tools/bin/install -c" "INSTALL_DATA=/tools/bin/install
-c -m 644" "INSTALL_PROGRAM=/tools/bin/install -c"
"INSTALL_SCRIPT=/tools/bin/install -c" "LDFLAGS_FOR_BUILD="
"LEX=/build/gcc-4.4.1/missing flex" "M4=m4" "MAKE=make"
"RUNTEST=runtest" "RUNTESTFLAGS=" "SHELL=/bin/sh"
"YACC=/build/gcc-4.4.1/missing 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" "BOOT_LDFLAGS=" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2"
"LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCXXFLAGS=-g -O2
-fno-implicit-templates" "STAGE1_CFLAGS=-g -fkeep-inline-functions"
"STAGE1_CHECKING=--enable-checking=yes,types" "STAGE1_LANGUAGES=c"
"STAGE2_CFLAGS=-g -O2" "STAGE3_CFLAGS=-g -O2" "STAGE4_CFLAGS=-g -O2"
"GNATBIND=no" "GNATMAKE=no" "AR_FOR_TARGET=ar" "AS_FOR_TARGET=as"
"CC_FOR_TARGET=/build/gcc-build/./gcc/xgcc -B/build/gcc-build/./gcc/
-B/usr/x86_64-unknown-linux-gnu/bin/
-B/usr/x86_64-unknown-linux-gnu/lib/
-isystem /usr/x86_64-unknown-linux-gnu/include
-isystem /usr/x86_64-unknown-linux-gnu/sys-include"
"CFLAGS_FOR_TARGET=-g -O2" "CPPFLAGS_FOR_TARGET="
"CXX_FOR_TARGET=/build/gcc-build/./gcc/g++ -B/build/gcc-build/./gcc/
-nostdinc++
-L/build/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src
-L/build/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/usr/x86_64-unknown-linux-gnu/bin/
-B/usr/x86_64-unknown-linux-gnu/lib/
-isystem /usr/x86_64-unknown-linux-gnu/include
-isystem /usr/x86_64-unknown-linux-gnu/sys-include"
"CXXFLAGS_FOR_TARGET=-g -O2   -D_GNU_SOURCE"
"DLLTOOL_FOR_TARGET=dlltool"
"GCJ_FOR_TARGET=-B/usr/x86_64-unknown-linux-gnu/bin/
-B/usr/x86_64-unknown-linux-gnu/lib/
-isystem /usr/x86_64-unknown-linux-gnu/include
-isystem /usr/x86_64-unknown-linux-gnu/sys-include"
"GFORTRAN_FOR_TARGET=-B/usr/x86_64-unknown-linux-gnu/bin/
-B/usr/x86_64-unknown-linux-gnu/lib/
-isystem /usr/x86_64-unknown-linux-gnu/include
-isystem /usr/x86_64-unknown-linux-gnu/sys-include"
"LD_FOR_TARGET=/tools/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../x86_64-unknown-linux-gnu/bin/ld"
"LIPO_FOR_TARGET=lipo" "LDFLAGS_FOR_TARGET=" "LIBCFLAGS_FOR_TARGET=-g
-O2" "LIBCXXFLAGS_FOR_TARGET=-g -O2   -D_GNU_SOURCE
-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" "`echo 'LANGUAGES=' | sed -e
s'/[^=][^=]*=$/XFOO=/'`" "LEAN=false" "CONFIG_SHELL=/bin/sh"
"MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000"  compare
make[2]: Entering directory `/build/gcc-build' make[3]: Entering
directory `/build/gcc-build' rm -f stage_current make[3]: Leaving
directory `/build/gcc-build' Comparing stages 2 and 3 Bootstrap
comparison failure! ./tree-ssa-phiopt.o differs make[2]: *** [compare]
Error 1 make[2]: Leaving directory `/build/gcc-build' make[1]: ***
[stage3-bubble] Error 2 make[1]: Leaving directory `/build/gcc-build'
make: *** [all] Error 2 root:/build/gcc-build# 
----------------------------------------------------------------------
What I do wrong?

Thanks,
Filip Bartmann



More information about the Clfs-support mailing list