From: orc <orc@sibserver.ru>
To: musl@lists.openwall.com
Subject: Re: musl's ldd - don't exit immidately even if some libraries was not found
Date: Wed, 20 Jun 2012 15:40:26 +0800 [thread overview]
Message-ID: <20120620154026.2bc98fd7@sibserver.ru> (raw)
In-Reply-To: <20120620011736.GS163@brightrain.aerifal.cx>
On Tue, 19 Jun 2012 21:17:36 -0400
Rich Felker <dalias@aerifal.cx> wrote:
> On Tue, Jun 19, 2012 at 05:53:16PM -0700, Isaac Dunham wrote:
> > On Wed, 20 Jun 2012 00:42:10 +0800
> > orc <orc@sibserver.ru> wrote:
> >
> > > Patch to make ldd not to exit immidately after unsolved
> > > dependencies.
> >
> > Out of curiosity,
> > 1-what practical use is this, and
> >
> > 2-is there any other system that behaves the same?
> >
> > (well, I can think of HXRT with one environment variable set...but
> > that's Windows emulation for DOS, so I can see them having odd
> > behavior)
> >
> > (Note, I'm not saying it's the wrong thing to do, just wondering
> > where you could use it without expecting SIGSEGV)
>
> My guess is that the practical use is to get a list of ALL missing
> library dependencies rather than just the first one.
>
> Rich
Yes, in ldd mode dynamic linker will not exit immediately after missing
library. That what this patch does.
In environments where everything is built from source and no missing
libraries this patch is useless I think, but just to be sure.
Sorry for my English mistakes and message without [PATCH] tag.
prev parent reply other threads:[~2012-06-20 7:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-19 16:42 orc
2012-06-20 0:53 ` Isaac Dunham
2012-06-20 1:17 ` Rich Felker
2012-06-20 7:40 ` orc [this message]
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=20120620154026.2bc98fd7@sibserver.ru \
--to=orc@sibserver.ru \
--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).