From: Isaac Dunham <idunham@lavabit.com>
To: musl@lists.openwall.com
Subject: Re: musl vs. Debian policy
Date: Thu, 7 Mar 2013 16:22:06 -0800 [thread overview]
Message-ID: <20130307162206.f5cc2136.idunham@lavabit.com> (raw)
In-Reply-To: <1362695430.6812.8@driftwood>
On Thu, 07 Mar 2013 16:30:30 -0600
Rob Landley <rob@landley.net> wrote:
> > Debian policy requires that any public libraries have a version
> > number.
>
> Looks like it's "1" here.
True, though shipping a "libc.so.1" might not be the ideal choice (mainly for publicity-related reasons).
> > Specifically, Debian Policy 8.2
> > (http://www.debian.org/doc/debian-policy/ch-sharedlibs.html):
> > If your package contains files whose names do not change with each
> > change in the
> > library shared object version, you must not put them in the shared
> > library package.
> > Otherwise, several versions of the shared library cannot be installed
> > at the same
> > time without filename clashes, making upgrades and transitions
> > unnecessarily
> > difficult.
>
> Debian is incapable of renaming files when packaging them into .debs or
> installing them, in order to enforce Debian's own policies?
It's quite possible; the issue is whether we'd end up "encouraging" them to package musl in a way that guarantees incompatability with everyone else. If they install the x86_64 version as
"/lib/ld-musl-amd64-el.so.1"
(what dpkg-architecture might encourage if debian/rules installs libc.so itself), then musl on Debian amd64 would be incompatible with musl elsewhere.
> > The apparent solution to this is to ship only the dynamic linker,
> > since this is all
> > we need (the dependency on libc.so is disregarded when it comes to
> > running
> > dynamically linked programs). But currently, actually doing this
> > would be somewhat
> > of a hack.
>
> Um, you said the dynamic linker name is a symlink to libc.so? So what
> does "ship only the dynamic linker" mean in this context?
>
mv libc.so ld-musl-$ARCH.so.1
ln -s ld-musl-$ARCH.so.1 libc.so # link goes in musl-dev
Does that clarify things?
--
Isaac Dunham <idunham@lavabit.com>
next prev parent reply other threads:[~2013-03-08 0:22 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-06 23:29 Isaac Dunham
2013-03-07 13:04 ` Rich Felker
2013-03-07 18:17 ` Christian Neukirchen
2013-03-07 18:45 ` Kurt H Maier
2013-03-07 18:49 ` Daniel Cegiełka
2013-03-08 0:41 ` Rich Felker
2013-03-08 15:13 ` Christian Neukirchen
2013-03-09 1:27 ` Rich Felker
2013-03-09 20:08 ` Christian Neukirchen
2013-03-10 3:29 ` Rich Felker
2013-03-10 3:39 ` Rich Felker
2013-03-08 1:03 ` Isaac Dunham
2013-03-08 1:10 ` Rich Felker
2013-03-08 4:03 ` Isaac Dunham
2013-03-09 1:23 ` Rich Felker
2013-03-07 18:56 ` Justin Cormack
2013-03-08 0:04 ` Isaac Dunham
2013-03-07 22:30 ` Rob Landley
2013-03-08 0:22 ` Isaac Dunham [this message]
2013-03-08 1:09 ` Kurt H Maier
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=20130307162206.f5cc2136.idunham@lavabit.com \
--to=idunham@lavabit.com \
--cc=musl@lists.openwall.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
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).