public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kernel@vger.kernel.org
Subject: Re: klibc - another libc?
Date: Thu, 8 Jun 2006 08:32:19 -0700 (PDT)	[thread overview]
Message-ID: <e69fu3$5ch$1@terminus.zytor.com> (raw)
In-Reply-To: Pine.LNX.4.64.0606080036250.17704@scrub.home

Followup to:  <Pine.LNX.4.64.0606080036250.17704@scrub.home>
By author:    Roman Zippel <zippel@linux-m68k.org>
In newsgroup: linux.dev.kernel
>
> Hi,
> 
> On Wed, 7 Jun 2006, H. Peter Anvin wrote:
> 
> > To be able to *require* it, which means it can't significantly bloat
> > the total size of the kernel image.  klibc binaries are *extremely*
> > small.  Static kinit is only a few tens of kilobytes, a lot of which
> > is zlib.
> 
> Every project starts small and has the annoying tendency to grow.
> That still doesn't answer, why it has to be distributed with the kernel, 
> just install the thing somewhere under /lib and Kbuild can link to it. The 
> point is that it contains nothing kernel specific and doesn't has to be 
> rebult with every new kernel.
> 

Actually, that isn't quite true.  One of the ways klibc is kept small
is by not guaranteeing a stable ABI... and not having compatibility
support for older kernels.  This is one of the kinds of luxuries that
bundling offers.

Does it make bundling mandatory?  Not really.  In fact, people have
been using klibc in its standalone form for years.  However, I believe
there would be a lot of resistace to have the kernel tarball have
outside dependencies on anything but the most basic build tools.

	-hpa

  reply	other threads:[~2006-06-08 15:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-07  8:51 klibc - another libc? Michael Tokarev
2006-06-07 21:17 ` H. Peter Anvin
2006-06-07 22:42   ` Roman Zippel
2006-06-08 15:32     ` H. Peter Anvin [this message]
2006-06-09 14:13       ` Roman Zippel
2006-06-09 19:02         ` H. Peter Anvin
2006-06-09 19:13           ` Michael Tokarev
2006-06-09 19:29             ` H. Peter Anvin
2006-06-10  1:28             ` Roman Zippel
2006-06-10 16:24               ` Michael Tokarev
2006-06-10 17:28                 ` Sam Ravnborg
2006-06-11  0:21                 ` Roman Zippel
2006-06-10  1:15           ` Roman Zippel
2006-06-10  6:13             ` Sam Ravnborg
2006-06-10 23:37               ` Roman Zippel
2006-06-13  2:31             ` Paul Dickson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='e69fu3$5ch$1@terminus.zytor.com' \
    --to=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox