Re: plugpath branch

Felix Salfelder <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.devel
Message-ID <[email protected]>
On Thu, Jan 19, 2017 at 10:30:18AM +0100, Felix Salfelder wrote:
> perhaps as intended. note "RUNPATH" here. i thought you need
> "--enable-new-dtags" to get this right...

Hi Al.

found the reason in this post [1].

> -rpath (aka gcc -Wl,-rpath, aka ld -rpath) generate DT_RUNPATH instead
> of DT_RPATH.
> 
> Documentation says that should be fine - the only difference is
> precedence, with DT_RPATH > LD_LIBRARY_PATH > DT_RUNPATH - but in fact
> there is another difference: DT_RUNPATH isn't used to resolve transitive
> dependencies. It isn't clear to me whether this is deliberate or not.
> See https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1253638

so, i am getting RUNPATH, and it is not used to resolve transitive
loading. hence "plugpath" does not work for me (cannot find the plugin).

"plugpath+" does not require transitive depdendency resolution.

what i do not see is how "-rpath" does not break (=override)
LD_LIBRARY_PATH in your setup. i understand that you are not affected by
the behaviour change above, and it sets RPATH in your gnucap executable.
a set RPATH *always* broke LD_LIBRARY_PATH for me (as documented).

hth
felix

[1] https://bugzilla.gnome.org/show_bug.cgi?id=777519#c1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.