Re: [RFC] klibc requirements, round 2

Felix von Leitner (felix-dietlibc@fefe.de)
Sun, 13 Jan 2002 03:10:09 +0100


Thus spake Alexander Viro (viro@math.psu.edu):
> > Lets look at it the other way... Suppose you start making a
> > separate klibc. You skip/eliminate a ton of stuff and next week
> > someone complains that it's missing, say, the pivot_root syscall.
> > So you add it. Then the week after, someone complains that you
> > are missing varargs. So you add that too. Pretty soon, someone
> > will complain about how printf feature foo is missing, and they
> > just _need_ SuS2 wordexp compatibility, etc, etc. Trust me when
> ... at which point you tell them to bugger off. If they refuse -
> man procmailrc. Problem solved.

I guess the point here is that you don't save anything over the diet
libc. I went to great lengths to make sure not using printf would not
incur any overhead. So if klibc is diet libc without printf, then using
klibc won't produce smaller binaries than using diet libc (unless you
use printf, of course, in which case klibc won't work at all).

By the way: one more architecture is now supported by the diet libc:
hp pa-risc. Someone surprised me by sending a patch.

Felix
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/