From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id C3BF741076 for ; Wed, 13 Nov 2002 12:41:30 -0500 (EST) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id gADHfUF28727 for axp-list@listman.redhat.com; Wed, 13 Nov 2002 12:41:30 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id gADHfUD28723 for ; Wed, 13 Nov 2002 12:41:30 -0500 Received: from technolust.cx (technolust.cx [66.92.82.226]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id gADHIHw30838 for ; Wed, 13 Nov 2002 12:18:17 -0500 Received: from www.technolust.cx (localhost.localdomain [127.0.0.1]) by technolust.cx (8.9.3/8.9.3) with ESMTP id MAA19649 for ; Wed, 13 Nov 2002 12:41:28 -0500 From: "Peter Petrakis" To: axp-list@redhat.com Subject: Re: Fwd: LFS'ing an alpha, continued Date: Wed, 13 Nov 2002 12:41:28 -0500 Message-Id: <20021113174128.M87959@alphadriven.org> In-Reply-To: <200211131109.59664.kelledin+AXP@skarpsey.dyndns.org> References: <200211130708.47336.kelledin+AXP@skarpsey.dyndns.org> <877kfhh6e3.fsf@student.uni-tuebingen.de> <200211131109.59664.kelledin+AXP@skarpsey.dyndns.org> X-Mailer: Open WebMail X-OriginatingIP: 155.212.145.172 (alphadriven) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com X-Reply-To: voodoo@alphadriven.org List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: > > Are you sure it isn't rather caused by gcc optimizing > > printf("foo\n") > > to > > puts("foo") > > ? > > > > (Yes, it really does that. Pretty clever, eh?) > > Yikes, that would do it. > > Hmmm. > > My next question would be, how do we keep gcc from doing that? I > assume it's some spanking-new feature in gcc3... -O0 oughta do it. I don't think that's a new feature but a basic optimization. The opt flags above tell gcc not to optimize at all. aboot doesnt need to be any faster anyways ;) Peter -- www.alphadriven.org