Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Kelledin <kelledin+AXP@skarpsey.dyndns.org>
To: axp-list@redhat.com
Subject: Re: Fwd: LFS'ing an alpha, continued
Date: Wed, 13 Nov 2002 08:08:47 -0500	[thread overview]
Message-ID: <200211130708.47336.kelledin+AXP@skarpsey.dyndns.org> (raw)

On Tuesday 12 November 2002 09:04 pm, Michal Jaegermann wrote:
> On Tue, Nov 12, 2002 at 07:24:13PM -0500, Kelledin wrote:
> > Fourth (and finally, for now), aboot-0.9a doesn't compile
> > against recent glibc versions.
>
> Which are "recent".  The last time I was recompiling aboot, to
> make it look for initrd in more places then original, was
> on September 9th of this year and it definitely compiled and
> it even works. :-)

2.2.5 tripped the problem--basically a slew of unresolved
references to the glibc puts() function, which is used by the
glibc printf() function.  I didn't get so far as testing it with
2.3.1, because 2.3.1 has other problems.  I consider 2.3.1 to be
too experimental at this point.

> > The problem is that it tries to
> > override the printf() function, and glibc won't just go
> > along with that.
>
> This is a boot loader.  You are not linking that with glibc
> but with a small static library which provides only a minimal
> required stuff.  Full glibc is not available when you are
> using this.

That small static library is supposed to override glibc printf()
with its own bare-metal printf().  It doesn't, for whatever
reason--the bootloader code still tries to link with glibc's
printf().  Come to think of it, it could be gcc or binutils
that's refusing to go along with it...what versions of those
software packages are you using?  I'm using (patched) gcc-3.2 and 
binutils-2.13, both of which are in the stable LFS book.

Unlike the netkit patch, this patch actually came from yours
truly.

> I am not sure what you are doing but definitely something
> funny.

I just renamed aboot's internal from-scratch printf() and forced
all bootloader code to call this different function name.  Thus
it doesn't have to rely on the ability to override glibc's
printf().  But as I said, it would probably break "TESTING"
mode, which is why it's only a workaround.

--
Kelledin
"If a server crashes in a server farm and no one pings it, does
it still cost four figures to fix?"




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

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-13 13:08 Kelledin [this message]
2002-11-13 14:49 ` Fwd: LFS'ing an alpha, continued 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
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