public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug dynamic-link/13945] New: RUNPATH behaviour is not transitive @ 2012-04-04 19:55 mitya at mageia dot org 2012-04-04 21:38 ` [Bug dynamic-link/13945] " walters at verbum dot org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: mitya at mageia dot org @ 2012-04-04 19:55 UTC (permalink / raw) To: glibc-bugs http://sourceware.org/bugzilla/show_bug.cgi?id=13945 Bug #: 13945 Summary: RUNPATH behaviour is not transitive Product: glibc Version: 2.15 Status: NEW Severity: normal Priority: P2 Component: dynamic-link AssignedTo: unassigned@sourceware.org ReportedBy: mitya@mageia.org Classification: Unclassified If only DT_RPATH is used, the DSO chain is traced up to the root (normally an executable), and thus DT_RPATH of the root module is honoured. With DT_RUNPATH, it is not; see _dl_map_object in elf/dl-load.c. That's why if DT_RUNPATH is present, indirect DSO loading from a non-standard path won't work, for example, if using GModule from GLib. (Even if the correct DT_RPATH is present, it will be overridden and invalidated by DT_RUNPATH.) GNOME bug #670477 is an example of such situation. In order to make shell extensions load, we need to make sure that the "--enable-new-dtags" ld flag is not used. https://bugzilla.gnome.org/show_bug.cgi?id=670477 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug dynamic-link/13945] RUNPATH behaviour is not transitive 2012-04-04 19:55 [Bug dynamic-link/13945] New: RUNPATH behaviour is not transitive mitya at mageia dot org @ 2012-04-04 21:38 ` walters at verbum dot org 2012-05-22 15:02 ` rsa at us dot ibm.com 2014-06-25 11:22 ` fweimer at redhat dot com 2 siblings, 0 replies; 4+ messages in thread From: walters at verbum dot org @ 2012-04-04 21:38 UTC (permalink / raw) To: glibc-bugs http://sourceware.org/bugzilla/show_bug.cgi?id=13945 Colin <walters at verbum dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |walters at verbum dot org --- Comment #1 from Colin <walters at verbum dot org> 2012-04-04 21:38:10 UTC --- See http://sourceware.org/ml/libc-hacker/2002-11/msg00011.html -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug dynamic-link/13945] RUNPATH behaviour is not transitive 2012-04-04 19:55 [Bug dynamic-link/13945] New: RUNPATH behaviour is not transitive mitya at mageia dot org 2012-04-04 21:38 ` [Bug dynamic-link/13945] " walters at verbum dot org @ 2012-05-22 15:02 ` rsa at us dot ibm.com 2014-06-25 11:22 ` fweimer at redhat dot com 2 siblings, 0 replies; 4+ messages in thread From: rsa at us dot ibm.com @ 2012-05-22 15:02 UTC (permalink / raw) To: glibc-bugs http://sourceware.org/bugzilla/show_bug.cgi?id=13945 Ryan S. Arnold <rsa at us dot ibm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |roland at gnu dot org, rsa | |at us dot ibm.com --- Comment #2 from Ryan S. Arnold <rsa at us dot ibm.com> 2012-05-22 15:02:16 UTC --- It's unfortunate that RPATH is supposedly deprecated in favor of DT_RUNPATH. And DT_RUNPATH was created to allow LD_LIBRARY_PATH to override the -rpath setting, and yet setting LD_LIBRARY_PATH is widely vilified. I guess this leaves changing ld.so.conf, but that takes root permission. Roland will you comment please? -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug dynamic-link/13945] RUNPATH behaviour is not transitive 2012-04-04 19:55 [Bug dynamic-link/13945] New: RUNPATH behaviour is not transitive mitya at mageia dot org 2012-04-04 21:38 ` [Bug dynamic-link/13945] " walters at verbum dot org 2012-05-22 15:02 ` rsa at us dot ibm.com @ 2014-06-25 11:22 ` fweimer at redhat dot com 2 siblings, 0 replies; 4+ messages in thread From: fweimer at redhat dot com @ 2014-06-25 11:22 UTC (permalink / raw) To: glibc-bugs https://sourceware.org/bugzilla/show_bug.cgi?id=13945 Florian Weimer <fweimer at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |security- -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-06-25 11:22 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-04-04 19:55 [Bug dynamic-link/13945] New: RUNPATH behaviour is not transitive mitya at mageia dot org 2012-04-04 21:38 ` [Bug dynamic-link/13945] " walters at verbum dot org 2012-05-22 15:02 ` rsa at us dot ibm.com 2014-06-25 11:22 ` fweimer at redhat dot com
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 read-only IMAP folder(s) and NNTP newsgroup(s).