All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: Alex Bligh <alex@alex.org.uk>
Cc: peter.maydell@linaro.org, Fam Zheng <famz@redhat.com>,
	mjt@tls.msk.ru, qemu-devel@nongnu.org, stefanha@redhat.com,
	pbonzini@redhat.com, vilanova@ac.upc.edu
Subject: Re: [Qemu-devel] [RFC PATCH v5 4/6] module: implement module loading function
Date: Wed, 11 Sep 2013 08:43:16 -0700	[thread overview]
Message-ID: <52308F94.7060208@twiddle.net> (raw)
In-Reply-To: <66D9B8AB43C372ACE8E41913@Ximines.local>

On 09/11/2013 08:23 AM, Alex Bligh wrote:
>> But it does suggest the default being DT_RUNPATH, overridable "near"
>> the command-line via LD_RUN_PATH.
> 
> Not quite sure what you are suggesting here. DT_RUNPATH is an elf
> tag IIRC. Not sure what LD_RUN_PATH does. LD_LIBRARY_PATH affects
> more than just this.

LD_RUN_PATH was my thinko -- LD_LIBRARY_PATH was what I was thinking.

And while it does affect more than this, if set specifically for the
qemu executable e.g. by a script then it need not really affect much.

> If we are using the dynamic linker and DT_RUNPATH (which I believe
> is in the executable) or the normal paths we WILL NEED proper API
> versioning etc.; in this case (in the distro example I pulled out),
> an upgrade to qemu making an API change will have different API
> versioned libs and these can happily coexist, so no need for directories.

I don't believe I ever suggested we're stable, or should even pretend
to be so at this point.

Install multiple qemu to different trees, and use different paths.

Or even use the $ORIGIN prefix, which allows paths relative to the
main executable, allowing the installed qemu tree to be moved at
its root.


r~

  reply	other threads:[~2013-09-11 15:43 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-11  5:38 [Qemu-devel] [RFC PATCH v5 0/6] Shared Library Module Support Fam Zheng
2013-09-11  5:38 ` [Qemu-devel] [RFC PATCH v5 1/6] make.rule: fix $(obj) to a real relative path Fam Zheng
2013-09-11  6:30   ` Paolo Bonzini
2013-09-11  7:05     ` Fam Zheng
2013-09-11  5:38 ` [Qemu-devel] [RFC PATCH v5 2/6] rule.mak: allow per object cflags and libs Fam Zheng
2013-09-11  5:38 ` [Qemu-devel] [RFC PATCH v5 3/6] Makefile: introduce common-obj-m and block-obj-m for DSO Fam Zheng
2013-09-11  5:38 ` [Qemu-devel] [RFC PATCH v5 4/6] module: implement module loading function Fam Zheng
2013-09-11  7:36   ` Paolo Bonzini
2013-09-11 14:10   ` Alex Bligh
2013-09-11 14:32     ` Paolo Bonzini
2013-09-11 15:06     ` Richard Henderson
2013-09-11 15:23       ` Alex Bligh
2013-09-11 15:43         ` Richard Henderson [this message]
2013-09-11 14:24   ` Peter Maydell
2013-09-12  3:12     ` Fam Zheng
2013-09-11  5:38 ` [Qemu-devel] [RFC PATCH v5 5/6] configure: introduce --enable-modules Fam Zheng
2013-09-11  7:27   ` Paolo Bonzini
2013-09-11  7:41     ` Paolo Bonzini
2013-09-11  8:01       ` Gerd Hoffmann
2013-09-11  8:17         ` Fam Zheng
2013-09-11  8:20         ` Peter Maydell
2013-09-11  8:56           ` Gerd Hoffmann
2013-09-11 10:03             ` Peter Maydell
2013-09-11 10:37               ` Gerd Hoffmann
2013-09-11 10:58                 ` Peter Maydell
2013-09-11  8:35     ` Fam Zheng
2013-09-11  8:47       ` Paolo Bonzini
2013-09-11  5:38 ` [Qemu-devel] [RFC PATCH v5 6/6] block: build qed and curl as shared library Fam Zheng
2013-09-11  7:28   ` Paolo Bonzini
2013-09-11  7:36     ` Fam Zheng

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=52308F94.7060208@twiddle.net \
    --to=rth@twiddle.net \
    --cc=alex@alex.org.uk \
    --cc=famz@redhat.com \
    --cc=mjt@tls.msk.ru \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    --cc=vilanova@ac.upc.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.