OK, so this one is a workaround. I'm not sure what the proper fix would be.

I'd be grateful for comments on how to solve this in a better way. The
mklibs.py script is stripping one symbol too much (__ctype_toupper) from the
uclibc libc, which breaks busybox. This might be toolchain dependent - I've
done my testing on Gnewsense Deltad (aka Ubuntu Dapper Drake) with GCC 4.1.0.

Thanks,
Ward.

-- 
Ward Vandewege <[EMAIL PROTECTED]>
Free Software Foundation - Senior System Administrator
This is a workaround for a bug in the mklibs.py script.

Signed-off-by: Ward Vandewege <[EMAIL PROTECTED]>

Index: bin/mklibs.py
===================================================================
--- bin/mklibs.py       (revision 17)
+++ bin/mklibs.py       (working copy)
@@ -472,6 +472,10 @@
 # to be the only one and including it on alpha as well
 # doesn't hurt. I guess all archs can live with this.
 needed_symbols.add(("sys_siglist", 1))
+# For some reason this symbol is needed by busybox but not included in the
+# stripped libc...
+# Ward Vandewege, 2007-08-30
+needed_symbols.add(("__ctype_toupper", 1))
 
 while True:
     debug(DEBUG_NORMAL, "library reduction pass", `passnr`)
-- 
linuxbios mailing list
[email protected]
http://www.linuxbios.org/mailman/listinfo/linuxbios

Reply via email to