From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4FB9D13843D for ; Sun, 13 Jan 2013 00:34:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C20421C056; Sun, 13 Jan 2013 00:34:33 +0000 (UTC) Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 40E1021C00E for ; Sun, 13 Jan 2013 00:34:30 +0000 (UTC) Received: by mail-wg0-f41.google.com with SMTP id ds1so516181wgb.4 for ; Sat, 12 Jan 2013 16:34:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:reply-to:to:subject:date:user-agent:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=Nj7JOj4hkC9ZtXGC1PFdAFvGE6OaNF/hwPqjuh36Nrc=; b=RQsnvPPfrymPFXpNFoak7EctF1oas7AF1RJT2UHlZPldM9sCac3dy79fYJP51IUkGi OwZBTLd8cuhkEk8IMIZw6ne31IU8GrjlWS3rCTr63dY7Yy0lpfZcgO+q3lRRxMFYYg6b MwYhSj7iwmF7woIyTQP5sqijjCouE1qAMMD0Yck98kJl37qrqDF8Hw8CpNPz98BWOKkn 2zX0ZOWAags6TI6Lz4g5p1Svm0zIwCgdeWLi8zCseES9O3ZKwijFmlMfg2qyqo+E+7e7 haCCtVrDObwfCTSsP/Yn+JEnK07zxAh5S8FOQNV2q/ARcUF5fbC59dukXQKKXJeHJIzT BLLw== X-Received: by 10.180.78.66 with SMTP id z2mr5835771wiw.23.1358037269944; Sat, 12 Jan 2013 16:34:29 -0800 (PST) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230]) by mx.google.com with ESMTPS id gz3sm6091823wib.2.2013.01.12.16.34.28 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 12 Jan 2013 16:34:29 -0800 (PST) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Can't build gcc-4.6.3 on old Pentium III Date: Sun, 13 Jan 2013 00:33:59 +0000 User-Agent: KMail/1.13.7 (Linux/3.6.11-gentoo; KDE/4.9.3; x86_64; ; ) References: <201301121425.06450.michaelkintzios@gmail.com> <50F1EC5C.4040901@iinet.net.au> <50F1F12C.1080904@gmail.com> In-Reply-To: <50F1F12C.1080904@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart16565423.787UmkKBYo"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201301130034.10669.michaelkintzios@gmail.com> X-Archives-Salt: bc8ecb94-3716-464c-aff5-9cb2397c5c6e X-Archives-Hash: c5d92e1710b5073f8ca868f52e9aa84c --nextPart16565423.787UmkKBYo Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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: > >>>=20 > >>> ... > >>> 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- > >=20 > > ... > >=20 > >>> Any ideas? > >>=20 > >> I can't see any error. I get those spurious failures if I use emerge > >> -j4 (i.e. multiple emerges in parallel) > >>=20 > >> Furthermore make sure you the following libraries installed > >> dev-libs/mpc dev-libs/mpfr and dev-libs/gmp > >>=20 > >> Try rebuild it with emerge -j1 and maybe MAKEOPTS=3D-j1 > >> Helmut. > >=20 > > Do you have enough ram/swap? > >=20 > > BillK >=20 > 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. >=20 > Dale >=20 > :-) :-) Thank you all for your replies. I have c. 650M RAM and 1G swap. I did not= =20 have a problem emerging gcc until this version. How can I know if it runs = out=20 of memory, unless I continuously keep an eye on memory counts - is there a= =20 cleverer way to know this? I tried emerging it with MAKEOPTS=3D"-j1" and it failed again, but with a=20 different error: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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=3D" "RPATH_ENVVAR=3DLD_LIBRARY_PATH" "TARGET_SUBDIR=3Di686-pc= =2Dlinux- gnu" "bindir=3D/usr/i686-pc-linux-gnu/gcc-bin/4.6.3" "datadir=3D/usr/share/gcc- data/i686 =2Dpc-linux-gnu/4.6.3" "exec_prefix=3D/usr" "includedir=3D/usr/lib/gcc/i686= =2Dpc- linux-g nu/4.6.3/include" "datarootdir=3D/usr/share" "docdir=3D/usr/share/doc/"=20 "infodir=3D/us r/share/gcc-data/i686-pc-linux-gnu/4.6.3/info" "pdfdir=3D/usr/share/doc/"=20 "htmldir =3D/usr/share/doc/" "libdir=3D/usr/lib" "libexecdir=3D/usr/libexec" "lispdi= r=3D"=20 "locals tatedir=3D/usr/var" "mandir=3D/usr/share/gcc-data/i686-pc-linux-gnu/4.6.3/m= an"=20 "oldi ncludedir=3D/usr/include" "prefix=3D/usr" "sbindir=3D/usr/sbin"=20 "sharedstatedir=3D/usr/c om" "sysconfdir=3D/usr/etc" "tooldir=3D/usr/i686-pc-linux-gnu"=20 "build_tooldir=3D/usr/i 686-pc-linux-gnu" "target_alias=3Di686-pc-linux-gnu" "AWK=3Dgawk" "BISON=3D= bison"=20 "CC_ =46OR_BUILD=3Di686-pc-linux-gnu-gcc" "CFLAGS_FOR_BUILD=3D-O2 -march=3Dpenti= um3 -pipe"=20 "C XX_FOR_BUILD=3Di686-pc-linux-gnu-g++" "EXPECT=3Dexpect" "FLEX=3Dflex"=20 "INSTALL=3D/usr/bin/install -c" "INSTALL_DATA=3D/usr/bin/install -c -m 644"= =20 "INSTALL_PROGRAM=3D/usr/bin/install -c" "INSTALL_SCRIPT=3D/usr/bin/install = =2Dc"=20 "LDFLAGS_FOR_BUILD=3D-Wl,-O1 -Wl,--as-needed" "LEX=3Dflex" "M4=3Dm4" "MAKE= =3Dmake"=20 "RUNTEST=3Druntest" "RUNTESTFLAGS=3D" "SED=3D/usr/bin/sed" "SHELL=3D/bin/sh= "=20 "YACC=3Dbison -y" "`echo 'ADAFLAGS=3D' | sed -e s'/[^=3D][^=3D]*=3D$/XFOO= =3D/'`"=20 "ADA_CFLAGS=3D" "AR_FLAGS=3Drc" "`echo 'BOOT_ADAFLAGS=3D-gnatpg -gnata' | s= ed -e=20 s'/[^=3D][^=3D]*=3D$/XFOO=3D/'`" "BOOT_CFLAGS=3D-O2 -march=3Dpentium3 -pipe= "=20 "BOOT_LDFLAGS=3D" "CFLAGS=3D-O2 -march=3Dpentium3 -pipe" "CXXFLAGS=3D-O2 - march=3Dpentium3 -pipe" "LDFLAGS=3D-Wl,-O1 -Wl,--as-needed" "LIBCFLAGS=3D-O= 2 - march=3Dpentium3 -pipe " "LIBCXXFLAGS=3D-O2 -march=3Dpentium3 -pipe -fno-im= plicit- templates " "STAGE1_CHECKING=3D--enable-checking=3Drelease,types"=20 "STAGE1_LANGUAGES=3Dc,lto" "GNATBIND=3Dno" "GNATMAKE=3Dno" "AR_FOR_TARGET= =3D/usr/i686- pc-linux-gnu/bin/ar" "AS_FOR_TARGET=3D/usr/i686-pc-linux-gnu/bin/as"=20 "CC_FOR_TARGET=3D/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=3D-g -O2 -march=3Dpen= tium3 - pipe" "CPPFLAGS_FOR_TARGET=3D" "CXXFLAGS_FOR_TARGET=3D-O2 -march=3Dpentium3= -pipe - D_GNU_SOURCE" "DLLTOOL_FOR_TARGET=3Ddlltool" "FLAGS_FOR_TARGET=3D-B/usr/i68= 6-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=3D= "=20 "GFORTRAN_FOR_TARGET=3D/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/"=20 "GOC_FOR_TARGET=3D" "GOCFLAGS_FOR_TARGET=3D-O2 -g" "LD_FOR_TARGET=3D/usr/i6= 86-pc- linux-gnu/bin/ld" "LIPO_FOR_TARGET=3Dlipo" "LDFLAGS_FOR_TARGET=3D"=20 "LIBCFLAGS_FOR_TARGET=3D-g -O2 -march=3Dpentium3 -pipe" "LIBCXXFLAGS_FOR_TA= RGET=3D- O2 -march=3Dpentium3 -pipe -D_GNU_SOURCE -fno-implicit-templates"=20 "NM_FOR_TARGET=3D/usr/i686-pc-linux-gnu/bin/nm" "OBJDUMP_FOR_TARGET=3D/usr/= i686- pc-linux-gnu/bin/objdump" "RANLIB_FOR_TARGET=3D/usr/i686-pc-linux- gnu/bin/ranlib" "STRIP_FOR_TARGET=3D/usr/i686-pc-linux-gnu/bin/strip"=20 "WINDRES_FOR_TARGET=3Dwindres" "WINDMC_FOR_TARGET=3Dwindmc"=20 "BUILD_CONFIG=3Dbootstrap-debug" "`echo 'LANGUAGES=3D' | sed -e s'/[^=3D] [^=3D]*=3D$/XFOO=3D/'`" "LEAN=3D:" "STAGE1_CFLAGS=3D" "STAGE1_CXXFLAGS=3D-O= 2 - march=3Dpentium3 -pipe" "STAGE1_TFLAGS=3D" "STAGE2_CFLAGS=3D-O2 -march=3Dpe= ntium3 - pipe -gtoggle" "STAGE2_CXXFLAGS=3D-O2 -march=3Dpentium3 -pipe" "STAGE2_TFLA= GS=3D"=20 "STAGE3_CFLAGS=3D-O2 -march=3Dpentium3 -pipe" "STAGE3_CXXFLAGS=3D-O2 -march= =3Dpentium3=20 =2Dpipe" "STAGE3_TFLAGS=3D" "STAGE4_CFLAGS=3D-O2 -march=3Dpentium3 -pipe"=20 "STAGE4_CXXFLAGS=3D-O2 -march=3Dpentium3 -pipe" "STAGE4_TFLAGS=3D"=20 "STAGEprofile_CFLAGS=3D-O2 -march=3Dpentium3 -pipe -gtoggle -fprofile-gener= ate"=20 "STAGEprofile_CXXFLAGS=3D-O2 -march=3Dpentium3 -pipe" "STAGEprofile_TFLAGS= =3D"=20 "STAGEfeedback_CFLAGS=3D-O2 -march=3Dpentium3 -pipe -fprofile-use"=20 "STAGEfeedback_CXXFLAGS=3D-O2 -march=3Dpentium3 -pipe" "STAGEfeedback_TFLAG= S=3D" =20 "TFLAGS=3D" "CONFIG_SHELL=3D/bin/sh" "MAKEINFO=3Dmakeinfo --split-size=3D50= 00000 -- split-size=3D5000000" compare make[2]: Entering directory `/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/build' make[3]: Entering directory `/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/build' rm -f stage_current make[3]: Leaving directory `/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/build' Comparing stages 2 and 3 warning: gcc/cc1plus-checksum.o differs warning: gcc/cc1-checksum.o differs Bootstrap comparison failure! gcc/varasm.o differs make[2]: *** [compare] Error 1 make[2]: Leaving directory `/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/build' make[1]: *** [stage3-bubble] Error 2 make[1]: Leaving directory `/mnt/video/tmp_portage/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 * =20 * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 4070: Called toolchain_src_compile * environment, line 4730: Called gcc_do_make * environment, line 2381: Called die * The specific snippet of code: * emake LDFLAGS=3D"${LDFLAGS}" STAGE1_CFLAGS=3D"${STAGE1_CFLAGS}"=20 LIBPATH=3D"${LIBPATH}" BOOT_CFLAGS=3D"${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} ||= die=20 "emake failed with ${GCC_MAKE_TARGET}"; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Does this point to anything more obvious, or shall I start running memory=20 tests on this box? PS. STOP PRESS! I just found this:=20 https://bugs.gentoo.org/show_bug.cgi?id=3D411333 This is a bug that affects only PIIIs. Unsurprisingly, not many people sti= ll=20 run them. I'll try with CFLAGS=3Di686 to see if it completes. =2D-=20 Regards, Mick --nextPart16565423.787UmkKBYo Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEABECAAYFAlDyAQIACgkQVTDTR3kpaLZvNwCeJcuWxie1C6bKmNEchpYqsb7T dcUAnR615yYhz7Cx6pVUUUWnnhs2Azu9 =vtUl -----END PGP SIGNATURE----- --nextPart16565423.787UmkKBYo--