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.1 required=5.0 tests=DMARC_NONE,MAILING_LIST_MULTI, NICE_REPLY_A autolearn=unavailable autolearn_force=no version=4.0.0 Received: from eos.telenet-ops.be (eos.telenet-ops.be [195.130.132.40]) by chiba.3jane.net (Postfix) with ESMTP id 2DDAAABD52 for ; Sun, 2 Jun 2002 16:38:27 -0500 (CDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by eos.telenet-ops.be (Postfix) with SMTP id 3000C200D9 for ; Sun, 2 Jun 2002 23:38:26 +0200 (CEST) Received: from Gentoo (D5E00B2F.kabel.telenet.be [213.224.11.47]) by eos.telenet-ops.be (Postfix) with ESMTP id 0CD2C1FF4A for ; Sun, 2 Jun 2002 23:38:26 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Bart Verwilst To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] Re: GCC3.1 bootstrap fails Date: Sun, 2 Jun 2002 23:32:09 +0200 User-Agent: KMail/1.4.1 References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200206022332.09275.verwilst@gentoo.org> 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 X-Reply-To: verwilst@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: d4351ede-8822-4b8e-a4fc-b3d52719c416 X-Archives-Hash: 406ba1adf2fd2553f864522c700ebc29 Would be cool if you could try and bootstrap again with -fomit-frame-poin= ter,=20 and now use the 1.3-gcc3.1 tarball from ibiblio=20 (http://www.ibiblio.org/gentoo/releases/build/) i just made. If it fails,= i=20 guess we should filter out most of the optimisations... I think the new=20 gcc3.1-compiled tarball will make all the gcc3.1-users much happier :o) I also updated the packages file from the gcc 3.1 profile, and the=20 make.defaults. Please keep us posted on any progress! Thanks! On Sunday 02 June 2002 19:42, Prashanth Aditya Susarla wrote: || >do -not- use -fomit-frame-pointer during bootstrap! (can anyone who || >actually got this to -work- using omit-frame-pointer speak up??) || > || >This causes breakage in glibc. || || That's interesting. When I used default-1.0, I used all the flags whic= h || one particular FAQ on gentoo.org mentioned (-fforce-addr || -fomit-frame-pointer -funroll-loops blah blah blah along with -march=3D= i686 || -O3 of course) and everything worked fine (atleast compiled fine thoug= h I || was not truly happy with the performance (lots of memory leaks and || subsequent crashes of kswapd primarily). So maybe this is an issue onl= y || with gcc-3.x and/or binutils-2.12.x. But I toned down the optimization= s || and the bootstrap worked fine. || || >this is due to a broken glibc (omit frame pointer and -O3. I think gl= ibc || >strips out -O3 but not the -f flags. ) || || gcc does this. glibc retains whatever you specify. Anyway, that's besi= de || the point - only for the sake of information ;-). || || >> problem is that most binaries segfault soon after glibc is built. || > || >Try again with -O2 -pipe and you will get a working system :) || || Infact, I finally used the default options for Athlon systems (-march=3D= i686 || -pipe -O3.... not -O2 but -O3) and glibc didn't break. As I said earli= er, || this is strange because all those crazy optimizations worked in the ca= se || of the default-1.0 profile. || || >emerge system || >/(watch it break down and cry in xfree because you overoptimized) || || So you're saying that if I use -march=3Dathlon-tbird -fomit-frame-poin= ter || -O3 [-pipe] -mmmx -m3dnow (the latter only for the sake of multimedia = apps || like xmms, mplayer etc.) the xfree ebuild b0rks out? That's too bad, || really. And the thing with xfree is that experimenting stops being an || option if the very first emerge itself doesn't work :-(. Not all of us || have all the time in the world... || || Regards, || Prashanth Aditya Susarla --=20 Bart Verwilst Gentoo Linux Developer, Desktop Team Gent, Belgium