More LFS-Alpha bugfixes--aboot patch

Kelledin kelledin+LFS at skarpsey.dyndns.org
Mon Nov 4 02:05:57 PST 2002


Yet another bugfix.  Those of us using Alpha boxen with an SRM 
boot console are liable to be using aboot (an Alpha equivalent 
of LILO/GRUB).  Well, aboot-0.9a does not compile against 
glibc-2.2.5 without some hacking.  In short, it complains about 
missing symbols like puts() that normally get defined by 
libc.so.6.1.  This has to do with the aboot link phase trying to 
overload the glibc printf() function with its own printf() 
function, and glibc-2.2.5 not playing along nicely.

The attached patch works around the problem, at the expense of 
being able to build aboot in "TESTING" mode (a build mode that 
seems fairly useless to anyone but the aboot developers).  I've 
just tested it myself with a floppy disk, and it _seems_ to work 
as expected.

-- 
Kelledin
"If a server crashes in a server farm and no one pings it, does 
it still cost four figures to fix?"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aboot-0.9a-printf.patch.bz2
Type: application/x-bzip2
Size: 20489 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-dev/attachments/20021104/2539d7ab/attachment.bin>


More information about the lfs-dev mailing list