From: Eli Collins <eli@cs.wisc.edu>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] acme, rio workalike available in plan 9 ports
Date: Tue, 20 Apr 2004 10:43:12 -0700 [thread overview]
Message-ID: <40856130.7040708@cs.wisc.edu> (raw)
In-Reply-To: <Pine.LNX.4.44.0404200840490.13657-100000@maxroach.lanl.gov>
ron minnich wrote:
> On Tue, 20 Apr 2004, boyd, rounin wrote:
>
>
>>debian managed to shoot themselves in the foot with some libc,
>>some time back. you couldn't go forward 'cos other stuff would
>>break and you couldn't go back 'cos more stuff would break.
>
>
> gets better. Symbols are now versioned (well, this really happened a few
> years back). So you are very tightly screwed (good word) to the library
> you use, and it covers a definite range forward/backward. I assume but am
> not sure that glibc nowadays encompaesses lots of versions of lots of
> functions going back for years. Which also means the version naming of the
> file (libc-2.3.2.so) has a lot less meaning than it used to. At some
> point, given the tight wiring of an executable to the particular library
> version, one starts to lose track of just why .so's are still thought to
> be a good idea (I mean, on a 1960s-era Burroughs machine with not much
> memory, I get it, but ... /bin/cat on my Redhat box at 20K, is not much
> smaller than /bin/cat on Plan 9 (22K stripped), and the Plan 9 one doesn't
> do symbol fixup every time it runs ...).
>
> And, as Linus mentioned, TLBs matter. Hmm. Judging by 'ps', cat on linux
> needs 256 of them, and cat on Plan 9 needs 6. xclock has got 900 or so,
> and Plan 9 clock appears to have 3*30 or so (3 clock procs when you run
> clock).
>
> So you do pay a bit for .so's. You don't gain an
> implementation-independent interface for your programs, since the .so is
> versioned and the symbols in it are versioned; I wonder what you DO gain?
> The theory always was you could swap out a shared library and swap in a
> bug-fixed version, which sounds nice until you try it and it fails
> miserably (there was a time when this worked ...)
>
> ron
>
Why does this no longer work? I've upgraded glibc on a gentoo linux
system without much dificulty.
I like the simplicity of static linkage but it seems like a nightmare if
Oracle had to build/test/ship a new version of their code every time
there was a bug in printf or some xml parsing library.
Regarding the TLB and SOs, I can't figure out all the fuss either since
the TLB is flushed on context switch (on x86 at least).
eli
next prev parent reply other threads:[~2004-04-20 17:43 UTC|newest]
Thread overview: 102+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-21 4:51 Russ Cox
2004-03-21 21:03 ` andrey mirtchovski
2004-03-22 16:30 ` Axel Belinfante
2004-03-23 9:59 ` Bengt Kleberg
2004-03-23 12:23 ` boyd, rounin
2004-03-23 13:17 ` David Presotto
2004-03-23 13:30 ` boyd, rounin
2004-03-23 15:04 ` Fco.J.Ballesteros
2004-03-23 15:39 ` a
2004-03-23 15:09 ` Russ Cox
2004-03-23 15:12 ` Charles Forsyth
2004-03-23 15:29 ` Russ Cox
2004-03-23 15:13 ` Charles Forsyth
2004-03-23 15:39 ` Axel Belinfante
2004-03-23 15:49 ` a
2004-03-23 16:23 ` Russ Cox
2004-03-23 16:27 ` Axel Belinfante
2004-03-23 16:54 ` a
2004-04-01 10:50 ` Bengt Kleberg
2004-04-01 13:24 ` Russ Cox
2004-04-01 13:54 ` Scott Schwartz
2004-04-01 14:33 ` boyd, rounin
2004-04-01 16:14 ` Russ Cox
2004-04-01 15:25 ` boyd, rounin
2004-04-02 9:29 ` Bengt Kleberg
2004-04-02 10:09 ` Bengt Kleberg
2004-04-02 11:15 ` Steve Simon
2004-04-02 15:24 ` boyd, rounin
2004-04-19 10:04 ` Bengt Kleberg
2004-04-02 11:55 ` C H Forsyth
2004-04-02 14:30 ` Russ Cox
2004-04-02 14:53 ` C H Forsyth
2004-04-19 10:04 ` Bengt Kleberg
2004-04-19 11:07 ` Steve Simon
2004-04-20 8:38 ` Bengt Kleberg
2004-04-20 12:12 ` boyd, rounin
2004-04-20 12:20 ` lucio
2004-04-20 12:32 ` boyd, rounin
2004-04-20 12:58 ` lucio
2004-04-20 13:03 ` lucio
2004-04-21 9:03 ` Bengt Kleberg
2004-04-21 9:17 ` Charles Forsyth
2004-04-21 9:02 ` Bengt Kleberg
2004-04-21 9:02 ` Bengt Kleberg
2004-04-21 9:28 ` lucio
2004-04-21 13:53 ` boyd, rounin
2004-04-19 15:00 ` Russ Cox
2004-04-19 18:51 ` boyd, rounin
2004-04-20 8:38 ` Bengt Kleberg
2004-04-20 12:15 ` boyd, rounin
2004-04-20 14:56 ` ron minnich
2004-04-20 17:43 ` Eli Collins [this message]
2004-04-20 15:51 ` ron minnich
2004-04-20 17:10 ` jmk
2004-04-20 17:34 ` Eli Collins
2004-04-20 17:39 ` jmk
2004-04-20 19:42 ` boyd, rounin
2004-04-20 19:09 ` ron minnich
2004-04-20 16:10 ` Charles Forsyth
2004-04-20 16:21 ` ron minnich
2004-04-20 16:40 ` Eli Collins
2004-04-20 19:31 ` boyd, rounin
2004-04-20 19:20 ` boyd, rounin
2004-03-24 10:42 ` Axel Belinfante
2004-03-21 5:07 Noah Evans
2004-03-21 5:25 ` Russ Cox
2004-03-21 6:12 ` Scott Schwartz
2004-03-21 14:02 ` Russ Cox
2004-03-21 15:57 Noah Evans
2004-03-21 20:43 Andrey S. Kukhar
2004-03-21 21:45 Noah Evans
2004-03-21 22:15 ` andrey mirtchovski
2004-04-20 23:04 boyd, rounin
2004-04-20 23:18 ` matt
2004-04-20 23:26 ` Geoff Collyer
2004-04-20 23:28 ` boyd, rounin
2004-04-20 23:48 ` matt
2004-04-20 23:59 ` Charles Forsyth
2004-04-21 3:18 ` Bruce Ellis
2004-04-21 8:51 ` matt
2004-04-21 9:24 ` Charles Forsyth
2004-04-21 9:49 ` C H Forsyth
2004-04-21 12:14 ` boyd, rounin
2004-04-21 0:07 ` Russ Cox
2004-04-21 0:18 ` ron minnich
2004-04-21 0:19 ` boyd, rounin
2004-04-21 2:09 ` ron minnich
2004-04-21 2:20 ` boyd, rounin
2004-04-21 3:43 ` Ronald G. Minnich
2004-04-23 8:55 ` Christoph Hellwig
2004-04-23 8:59 ` boyd, rounin
2004-04-23 15:03 ` ron minnich
2004-04-23 15:29 ` Christoph Hellwig
2004-04-23 15:54 ` ron minnich
2004-04-23 16:20 ` Joel Salomon
2004-04-23 17:03 ` ron minnich
2004-04-23 16:47 ` Christoph Hellwig
2004-04-23 17:04 ` ron minnich
2004-04-23 17:52 ` Christoph Hellwig
2004-04-21 0:40 ` andrey mirtchovski
2004-04-21 3:25 ` Bruce Ellis
2004-04-21 0:38 Charles Forsyth
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=40856130.7040708@cs.wisc.edu \
--to=eli@cs.wisc.edu \
--cc=9fans@cse.psu.edu \
/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;
as well as URLs for NNTP newsgroup(s).