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 7C15141793 for ; Wed, 13 Nov 2002 15:57:52 -0500 (EST) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id gADKvqY25607 for axp-list@listman.redhat.com; Wed, 13 Nov 2002 15:57:52 -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 gADKvqD25603 for ; Wed, 13 Nov 2002 15:57:52 -0500 Received: from handhelds.org ([192.58.209.91]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id gADKYcw22606 for ; Wed, 13 Nov 2002 15:34:38 -0500 Received: (qmail 17470 invoked from network); 13 Nov 2002 20:57:18 -0000 Received: from localhost (HELO shadowfax.middleearth) (127.0.0.1) by localhost with SMTP; 13 Nov 2002 20:57:18 -0000 From: George France To: axp-list@redhat.com, Michal Jaegermann Subject: Re: Fwd: LFS'ing an alpha, continued Date: Wed, 13 Nov 2002 15:57:15 -0500 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="us-ascii" References: <200211130708.47336.kelledin+AXP@skarpsey.dyndns.org> <20021113174128.M87959@alphadriven.org> <20021113111940.B5274@ellpspace.math.ualberta.ca> In-Reply-To: <20021113111940.B5274@ellpspace.math.ualberta.ca> Cc: Kelledin MIME-Version: 1.0 Message-Id: <02111315571502.30117@shadowfax.middleearth> Content-Transfer-Encoding: 8bit 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 List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: hrmm, , I believe that Will Woods (author / maintainer of aboot) is using aboot-0.9b with gentoo and gcc 3.2. I might just be easier to use the newer version, which has already addressed these issues???? I hope this helps. Best Regards, --George On Wednesday 13 November 2002 13:19, Michal Jaegermann wrote: > On Wed, Nov 13, 2002 at 12:41:28PM -0500, Peter Petrakis wrote: > > > > 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. > > The other way out would be to provide 'puts()' in a "private" library. > It can be trivially implemented in terms of 'printf()'. :-) > > If built-ins from gcc3 are getting you instead then '-fno-builtin' > in compilation flags should solve the problem and there is always > also '-ffreestanding'. At least a "bootloader" part of the whole > package (there are other programs there as well) is really > "freestanding". > > Michal > > > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list