From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DMARC_MISSING, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=4.0.0 Received: from deborah.paradise.net.nz (deborah.paradise.net.nz [203.96.152.32]) by chiba.3jane.net (Postfix) with ESMTP id A660EAC62A for ; Wed, 29 May 2002 01:17:52 -0500 (CDT) Received: from oregano.parkerpechan.co.nz (203-79-125-118.adsl.paradise.net.nz [203.79.125.118]) by deborah.paradise.net.nz (Postfix) with ESMTP id 66D8BD1E28 for ; Wed, 29 May 2002 18:17:08 +1200 (NZST) Received: from basil.parkerpechan.co.nz (basil.parkerpechan.co.nz [192.168.0.4]) by oregano.parkerpechan.co.nz (8.11.6/8.11.6) with ESMTP id g4T6H7Z28891 for ; Wed, 29 May 2002 18:17:08 +1200 Content-Type: text/plain; charset="iso-8859-1" From: Lars Pechan To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] default-1.0-gcc3 success Date: Wed, 29 May 2002 18:17:06 +1200 X-Mailer: KMail [version 1.4] References: <20020529142418.GB8297@c3p0.bonyari.com> <20020529074347.562ca7d1.webmaster@refstart.nl> In-Reply-To: <20020529074347.562ca7d1.webmaster@refstart.nl> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200205291817.06631.lars.pechan@paradise.net.nz> Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: 15e56bdb-a046-41c5-a91c-f22346d118b8 X-Archives-Hash: 521f3e76dca4dde38272d525c38f91c4 Sorry for not getting back on this yesterday. As you may have seen wading through the archives I've been through the sa= me=20 problems as you but it only happened when I tried to bootstrap using gcc-= 3.1.=20 I used two different methods to build the gcc to bootstrap with: either=20 bootstrapping twice or emerging gcc-3.1 as the very first thing after hav= ing=20 installed the tarball iff the Gentoo CD. In both cases I got to the same stage as you, i.e. glibc would not build = due=20 to the error you've seen. Spider then reported he'd successfully boostrapped straight from the tarb= all=20 and I and I believe others have done that as well without any problems at= all=20 (at that stage anyway). Doing it this way means glibc doesn't get built w= ith=20 various optimizations but it's probably not a very good idea to do so any= way. I've built xfree86-4.2.0r9 since without any problems. Maybe different us= e=20 flags is causing this to fail for some and succeed for others? My use flags are: USE=3D"alsa directfb dvd 3dnow lm_sensors -gnome spell imap xml doc" I'm having problems with the nvidia driver but s/w open-gl seems ok. I ha= ven't=20 researched this fully but I believe the nvidia issue may well be due to t= he=20 difference in abi between gcc-3.1 compiled system libraries and nvidia's=20 binaries (that have been compiled with something else - 2.95 most likely)= =2E=20 I'm hoping I'm wrong though cause otherwise we have to wait for nvidia to= =20 release gcc3 compiled drivers. Anyone having had more luck? kdebase and kdelibs have built fine but I had to do something very ugly t= o get=20 fam-oss to compile (I'm in contact with the maintainer about this one).=20 Anyone else having had any problems with this? I can't get as far as kdev= elop=20 since lynx won't compile but I have a theory that's because of the=20 ncurses-issues.=20 What else... ah, just tried emerge kde which tries to compile xanim (prob= ably=20 due to my use-flags, I think) which fails miserably. Might look into it l= ater=20 if I get a chance. Would be good if other early adopters could post their experiences too. Finally, I changed my compiler flags to=20 C[XX]FLAGS=3D-march=3Dathlon-xp -O3 -mmmx -m3dnow -pipe immediately after the bootstrap was done so the emerge system was done wi= th=20 them rather than the std -march=3Di686 -O3 -pipe. HTH, /Lasse On Wed, 29 May 2002 17:43, Webmaster Refstart.NL wrote: > This is very cool, are you using binutils 2.12 (combreloc tweak) or the > default 2.11? I'm trying to bootstrap my system with GCC 3.1 and binuti= ls > 2.12, but I get this error while compiling glibc: > > gawk: scripts/versions.awk:68: (FILENAME=3D- FNR=3D3) fatal: printf to = "sort -n > > /v ar/tmp/portage/glibc-2.2.5-r2/work/glibc-2.2.5/buildhere/Versions.= tmp" > failed (B roken pipe) > sed: couldn't write 69 items to {standard output}: Broken pipe > stdout: Broken pipe > make[1]: *** > [/var/tmp/portage/glibc-2.2.5-r2/work/glibc-2.2.5/buildhere/sysd-ve rsi= ons] > Error 2 > make[1]: Leaving directory > '/var/tmp/portage/glibc-2.2.5-r2/work/glibc-2.2.5' make: *** [all] Erro= r 2 > > !!! ERROR: The ebuild did not complete succesfully. > !!! Function src_compile, Line 14, Exitcode 2 > !!! (no error message) > > !!! emerge aborting on /usr/portage/sys-libs/glibc/glibc-2.2.5-r2.ebui= ld . > > How can I solve this? Should I bootstrap my system with GCC 2.95 and th= en > install GCC 3.1? > > Bye, Niek. > > > On Wed, 29 May 2002 14:24:18 +0000 > > Jack Morgan wrote: > > I did a fresh install after borking an upgrade atempt. I was able to > > get gcc3.1 to bootstrap. I installed from cdrom, BTW. Here is a short > > summary: > > > > 1) Bootstrap phase > > Perl wouldn't compile. I had to unmask it, eg comment it out, in > > package.mask. Then it compiled. Version perl5.6.1-r4, I think. > > My USE variables were set to the default or USE=3D"" and my compiler > > was set to -march=3Di686 -O6 > > > > 2) Emerge system > > Everything compiled fine here. Once the system was installed, I added > > many USE variables and changed my compiler to -march=3Dathlon -O6. Al= l > > packages installed after this worked fine using athlon optimization. > > At this point, I wanted to do, emrege -e world but was afraid ;-) > > > > 3) Xfree-4.2.0-r9 > > Wouldn't compile. I unmasked this in package.mask and I'm currently > > compiling xfree-4.2.0-r11. I'll let you know how it goes. > > > > Anyway, thanks to all devlopers working on getting gcc-3.1 working. > > > > -- > > jack_morgan > > > > _______________________________________________ > > gentoo-dev mailing list > > gentoo-dev@gentoo.org > > http://lists.gentoo.org/mailman/listinfo/gentoo-dev > > _______________________________________________ > gentoo-dev mailing list > gentoo-dev@gentoo.org > http://lists.gentoo.org/mailman/listinfo/gentoo-dev