Re: [gentoo-user] Can't build gcc-4.6.3 on old Pentium III
On 01/12/2013 03:24:47 PM, Mick wrote: Not sure why it fails, or how to progress from here: ... checking how to run the C preprocessor... /mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/build/./gcc/xgcc -B/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/build/./gcc/ -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-E checking whether decimal floating point is supported... yes checking whether fixed-point is supported... no checking whether assembler supports CFI directives... yes checking for __attribute__((visibility(hidden)))... yes checking whether the target assembler supports thread-local storage... yes checking whether the thread-local storage support is from emutls... no configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: executing default commands make[3]: Entering directory `/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/build/i686-pc-linux-gnu/libgcc' # If this is the top-level multilib, build all the other /mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/xgcc - B/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/ - 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 -g -O2 - march=pentium3 -pipe -O2 -g -O2 -march=pentium3 -pipe -DIN_GCC -W -Wall - Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold- style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT - DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -I. -I. - I../.././gcc -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/. -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../gcc - I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../include - I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/config/libbid - DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c /mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../gcc/libgcc2.c \ -fvisibility=hidden -DHIDE_EXPORTS # multilibs. /mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/xgcc - B/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/ - 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 -g -O2 - march=pentium3 -pipe -O2 -g -O2 -march=pentium3 -pipe -DIN_GCC -W -Wall - Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold- style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT - DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -I. -I. - I../.././gcc -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/. -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../gcc - I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../include - I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6 .3/libgcc/config/libbid - DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o _negdi2.o -MT _negdi2.o -MD -MP -MF _negdi2.dep -DL_negdi2 -c /mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../gcc/libgcc2.c \ -fvisibility=hidden -DHIDE_EXPORTS /mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/xgcc - B/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/ - 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 -g -O2 - march=pentium3 -pipe -O2 -g -O2 -march=pentium3 -pipe -DIN_GCC -W -Wall - Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold- style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT - DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -I. -I. - I../.././gcc -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/. -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../gcc - I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../include - I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/config/libbid - DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o _lshrdi3.o -MT _lshrdi3.o -MD -MP -MF _lshrdi3.dep -DL_lshrdi3 -c /mnt/video/tmp_portage/portage/sys-
Re: [gentoo-user] Can't build gcc-4.6.3 on old Pentium III
On 12/01/13 23:11, Helmut Jarausch wrote: On 01/12/2013 03:24:47 PM, Mick wrote: Not sure why it fails, or how to progress from here: ... checking how to run the C preprocessor... /mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/build/./gcc/xgcc -B/mnt/video/tmp_portage/portage/sys- ... Any ideas? -- Regards, Mick I can't see any error. I get those spurious failures if I use emerge -j4 (i.e. multiple emerges in parallel) Furthermore make sure you the following libraries installed dev-libs/mpc dev-libs/mpfr and dev-libs/gmp Try rebuild it with emerge -j1 and maybe MAKEOPTS=-j1 Helmut. Do you have enough ram/swap? BillK
Re: [gentoo-user] Can't build gcc-4.6.3 on old Pentium III
William Kenworthy wrote: On 12/01/13 23:11, Helmut Jarausch wrote: On 01/12/2013 03:24:47 PM, Mick wrote: Not sure why it fails, or how to progress from here: ... checking how to run the C preprocessor... /mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/build/./gcc/xgcc -B/mnt/video/tmp_portage/portage/sys- ... Any ideas? -- Regards, Mick I can't see any error. I get those spurious failures if I use emerge -j4 (i.e. multiple emerges in parallel) Furthermore make sure you the following libraries installed dev-libs/mpc dev-libs/mpfr and dev-libs/gmp Try rebuild it with emerge -j1 and maybe MAKEOPTS=-j1 Helmut. Do you have enough ram/swap? BillK While at it, make sure whatever portages work directory is on didn't run out of space too. It causes some weird things and the error is not always obvious. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] Can't build gcc-4.6.3 on old Pentium III
On Saturday 12 Jan 2013 23:26:36 Dale wrote: William Kenworthy wrote: On 12/01/13 23:11, Helmut Jarausch wrote: On 01/12/2013 03:24:47 PM, Mick wrote: Not sure why it fails, or how to progress from here: ... checking how to run the C preprocessor... /mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/build/./gcc/xgcc -B/mnt/video/tmp_portage/portage/sys- ... Any ideas? I can't see any error. I get those spurious failures if I use emerge -j4 (i.e. multiple emerges in parallel) Furthermore make sure you the following libraries installed dev-libs/mpc dev-libs/mpfr and dev-libs/gmp Try rebuild it with emerge -j1 and maybe MAKEOPTS=-j1 Helmut. Do you have enough ram/swap? BillK While at it, make sure whatever portages work directory is on didn't run out of space too. It causes some weird things and the error is not always obvious. Dale :-) :-) Thank you all for your replies. I have c. 650M RAM and 1G swap. I did not have a problem emerging gcc until this version. How can I know if it runs out of memory, unless I continuously keep an eye on memory counts - is there a cleverer way to know this? I tried emerging it with MAKEOPTS=-j1 and it failed again, but with a different error: == make[5]: Leaving directory `/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/w ork/build/i686-pc-linux-gnu/libgomp' make[4]: Leaving directory `/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/w ork/build/i686-pc-linux-gnu/libgomp' make[3]: Leaving directory `/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/w ork/build/i686-pc-linux-gnu/libgomp' make[2]: Leaving directory `/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/w ork/build' 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-g nu/4.6.3/include datarootdir=/usr/share docdir=/usr/share/doc/ infodir=/us r/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= locals tatedir=/usr/var mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.6.3/man oldi ncludedir=/usr/include prefix=/usr sbindir=/usr/sbin sharedstatedir=/usr/c om sysconfdir=/usr/etc tooldir=/usr/i686-pc-linux-gnu build_tooldir=/usr/i 686-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=pentium3 -pipe C XX_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=/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=-O2 -march=pentium3 -pipe BOOT_LDFLAGS= CFLAGS=-O2 -march=pentium3 -pipe CXXFLAGS=-O2 - march=pentium3 -pipe LDFLAGS=-Wl,-O1 -Wl,--as-needed LIBCFLAGS=-O2 - march=pentium3 -pipe LIBCXXFLAGS=-O2 -march=pentium3 -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=/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/build/./gcc/xgcc -B/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/build/./gcc/ CFLAGS_FOR_TARGET=-g -O2 -march=pentium3 - pipe CPPFLAGS_FOR_TARGET= CXXFLAGS_FOR_TARGET=-O2 -march=pentium3 -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=/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/build/./gcc/gfortran - B/mnt/video/tmp_portage/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=pentium3 -pipe LIBCXXFLAGS_FOR_TARGET=- O2 -march=pentium3 -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=pentium3 -pipe STAGE1_TFLAGS= STAGE2_CFLAGS=-O2 -march=pentium3 - pipe -gtoggle STAGE2_CXXFLAGS=-O2