Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HELP - emerge gcc-4.6.3 failed - SOLVED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2360
Location: Kentucky

PostPosted: Sat Jan 12, 2013 3:33 am    Post subject: HELP - emerge gcc-4.6.3 failed - SOLVED Reply with quote

I got the following when doing a routine weekly update on one of my machines. The other 11 gentoo boxes did fine; only this one barfed.
Code:

make "DESTDIR=" "RPATH_ENVVAR=LD_LIBRARY_PATH" "TARGET_SUBDIR=i686-pc-linux-gnu" "bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.6.3" "datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.6.3" "exec_prefix=/usr" "includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/include" "datarootdir=/usr/share" "docdir=/usr/share/doc/" "infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.6.3/info" "pdfdir=/usr/share/doc/" "htmldir=/usr/share/doc/" "libdir=/usr/lib" "libexecdir=/usr/libexec" "lispdir=" "localstatedir=/usr/var" "mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.6.3/man" "oldincludedir=/usr/include" "prefix=/usr" "sbindir=/usr/sbin" "sharedstatedir=/usr/com" "sysconfdir=/usr/etc" "tooldir=/usr/i686-pc-linux-gnu" "build_tooldir=/usr/i686-pc-linux-gnu" "target_alias=i686-pc-linux-gnu" "AWK=gawk" "BISON=bison" "CC_FOR_BUILD=i686-pc-linux-gnu-gcc" "CFLAGS_FOR_BUILD=-O2 -march=pentium-m -pipe" "CXX_FOR_BUILD=i686-pc-linux-gnu-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=-Wl,-O1 -Wl,--as-needed" "LEX=flex" "M4=m4" "MAKE=make" "RUNTEST=runtest" "RUNTESTFLAGS=" "SED=/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=-O2 -march=pentium-m -pipe" "BOOT_LDFLAGS=" "CFLAGS=-O2 -march=pentium-m -pipe" "CXXFLAGS=-O2 -march=pentium-m -pipe" "LDFLAGS=-Wl,-O1 -Wl,--as-needed" "LIBCFLAGS=-O2 -march=pentium-m -pipe " "LIBCXXFLAGS=-O2 -march=pentium-m -pipe -fno-implicit-templates " "STAGE1_CHECKING=--enable-checking=release,types" "STAGE1_LANGUAGES=c,lto" "GNATBIND=no" "GNATMAKE=no" "AR_FOR_TARGET=/usr/i686-pc-linux-gnu/bin/ar" "AS_FOR_TARGET=/usr/i686-pc-linux-gnu/bin/as" "CC_FOR_TARGET=/var/tmp/portage/sys-devel/gcc-4.6.3/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.6.3/work/build/./gcc/" "CFLAGS_FOR_TARGET=-g -O2 -march=pentium-m -pipe" "CPPFLAGS_FOR_TARGET=" "CXXFLAGS_FOR_TARGET=-O2 -march=pentium-m -pipe -D_GNU_SOURCE" "DLLTOOL_FOR_TARGET=dlltool" "FLAGS_FOR_TARGET=-B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include" "GCJ_FOR_TARGET=" "GFORTRAN_FOR_TARGET=/var/tmp/portage/sys-devel/gcc-4.6.3/work/build/./gcc/gfortran -B/var/tmp/portage/sys-devel/gcc-4.6.3/work/build/./gcc/" "GOC_FOR_TARGET=" "GOCFLAGS_FOR_TARGET=-O2 -g" "LD_FOR_TARGET=/usr/i686-pc-linux-gnu/bin/ld" "LIPO_FOR_TARGET=lipo" "LDFLAGS_FOR_TARGET=" "LIBCFLAGS_FOR_TARGET=-g -O2 -march=pentium-m -pipe" "LIBCXXFLAGS_FOR_TARGET=-O2 -march=pentium-m -pipe -D_GNU_SOURCE -fno-implicit-templates" "NM_FOR_TARGET=/usr/i686-pc-linux-gnu/bin/nm" "OBJDUMP_FOR_TARGET=/usr/i686-pc-linux-gnu/bin/objdump" "RANLIB_FOR_TARGET=/usr/i686-pc-linux-gnu/bin/ranlib" "STRIP_FOR_TARGET=/usr/i686-pc-linux-gnu/bin/strip" "WINDRES_FOR_TARGET=windres" "WINDMC_FOR_TARGET=windmc" "BUILD_CONFIG=bootstrap-debug" "`echo 'LANGUAGES=' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "LEAN=:" "STAGE1_CFLAGS=" "STAGE1_CXXFLAGS=-O2 -march=pentium-m -pipe" "STAGE1_TFLAGS=" "STAGE2_CFLAGS=-O2 -march=pentium-m -pipe -gtoggle" "STAGE2_CXXFLAGS=-O2 -march=pentium-m -pipe" "STAGE2_TFLAGS=" "STAGE3_CFLAGS=-O2 -march=pentium-m -pipe" "STAGE3_CXXFLAGS=-O2 -march=pentium-m -pipe" "STAGE3_TFLAGS=" "STAGE4_CFLAGS=-O2 -march=pentium-m -pipe" "STAGE4_CXXFLAGS=-O2 -march=pentium-m -pipe" "STAGE4_TFLAGS=" "STAGEprofile_CFLAGS=-O2 -march=pentium-m -pipe -gtoggle -fprofile-generate" "STAGEprofile_CXXFLAGS=-O2 -march=pentium-m -pipe" "STAGEprofile_TFLAGS=" "STAGEfeedback_CFLAGS=-O2 -march=pentium-m -pipe -fprofile-use" "STAGEfeedback_CXXFLAGS=-O2 -march=pentium-m -pipe" "STAGEfeedback_TFLAGS="  "TFLAGS=" "CONFIG_SHELL=/bin/sh" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000"  compare
make[2]: Entering directory `/var/tmp/portage/sys-devel/gcc-4.6.3/work/build'
make[3]: Entering directory `/var/tmp/portage/sys-devel/gcc-4.6.3/work/build'
rm -f stage_current
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.6.3/work/build'
Comparing stages 2 and 3
warning: gcc/cc1-checksum.o differs
warning: gcc/cc1plus-checksum.o differs
Bootstrap comparison failure!
gcc/varasm.o differs
make[2]: *** [compare] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.6.3/work/build'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.6.3/work/build'
make: *** [bootstrap-lean] Error 2
emake failed
 * ERROR: sys-devel/gcc-4.6.3 failed (compile phase):
 *   emake failed with bootstrap-lean
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 4041:  Called toolchain_src_compile
 *   environment, line 4701:  Called gcc_do_make
 *   environment, line 2352:  Called die
 * The specific snippet of code:
 *       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
 *
 * If you need support, post the output of `emerge --info '=sys-devel/gcc-4.6.3'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/gcc-4.6.3'`.
 *
 * Please include /var/tmp/portage/sys-devel/gcc-4.6.3/work/build/gcc-build-logs.tar.bz2 in your bug report
 *
 * The complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.6.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.6.3/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/gcc-4.6.3/work/build'
 * S: '/var/tmp/portage/sys-devel/gcc-4.6.3/work/build'

>>> Failed to emerge sys-devel/gcc-4.6.3, Log file:

Anybody know what is happening here, and how to fix it? I tried re-emerging, but it did the same thing. :cry:
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.


Last edited by Moriah on Wed Jan 16, 2013 3:00 am; edited 1 time in total
Back to top
View user's profile Send private message
fturco
Veteran
Veteran


Joined: 08 Dec 2010
Posts: 1181
Location: Italy

PostPosted: Sun Jan 13, 2013 9:44 am    Post subject: Reply with quote

You may read:
https://forums.gentoo.org/viewtopic-t-924620.html
https://forums.gentoo.org/viewtopic-t-947578.html
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2360
Location: Kentucky

PostPosted: Wed Jan 16, 2013 3:00 am    Post subject: Reply with quote

Thanks! I masked the new gcc and got past this. The box has a pention M. :(
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum