Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: George France <france@handhelds.org>
To: axp-list@redhat.com,
	Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
Cc: Kelledin <kelledin+AXP@skarpsey.dyndns.org>
Subject: Re: Fwd: LFS'ing an alpha, continued
Date: Wed, 13 Nov 2002 15:57:15 -0500	[thread overview]
Message-ID: <02111315571502.30117@shadowfax.middleearth> (raw)
In-Reply-To: <20021113111940.B5274@ellpspace.math.ualberta.ca>

hrmm, <cough>, <cough> 

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




  reply	other threads:[~2002-11-13 20:57 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-13 13:08 Fwd: LFS'ing an alpha, continued Kelledin
2002-11-13 14:49 ` Falk Hueffner
2002-11-13 17:09   ` Kelledin
2002-11-13 17:41     ` Falk Hueffner
2002-11-13 17:41     ` Peter Petrakis
2002-11-13 18:19       ` Michal Jaegermann
2002-11-13 20:57         ` George France [this message]
2002-11-14  5:48   ` Creating Su Login karthikeyan
2002-11-14 17:03     ` Michal Jaegermann
  -- strict thread matches above, loose matches on Subject: below --
2002-11-13 13:06 Fwd: LFS'ing an alpha, continued Kelledin
2002-11-13 18:08 ` Michal Jaegermann
2002-11-13  0:24 Kelledin
2002-11-13  3:04 ` Michal Jaegermann
2002-11-12 23:15 Fwd: Build Errors with GlibC on an alpha Ted Goodridge
2002-11-13  0:00 ` Fwd: LFS'ing an alpha, continued Kelledin
2002-11-13  2:45   ` Michal Jaegermann
2002-11-13  3:43   ` Jon
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox