public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/13833] New: function().library() is not aware of rpath
@ 2012-03-12 11:27 scox at redhat dot com
  2012-03-14 15:43 ` [Bug translator/13833] " scox at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: scox at redhat dot com @ 2012-03-12 11:27 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=13833

             Bug #: 13833
           Summary: function().library() is not aware of rpath
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap@sourceware.org
        ReportedBy: scox@redhat.com
    Classification: Unclassified


The .library probe modifier is not always aware of an executables rpath, which
is set via ld -rpath

.library is aware of rpath in iterate_over_libraries
query_module
 sdt_query::handle_query_module
 iterate_over_notes
 sdt_query::handle_probe_entry() 
 iterate_over_modules 
 query_module 
 iterate_over_libraries

however it is not aware earlier at
dwarf_builder::build
 calls find_executable (user_lib, "LD_LIBRARY_PATH") 
  which doesn't check rpath 
 dwarf_builder::get_user_dw
 sdt_query;iterate_over_modules->dwfl_getmodules
  doesn't find e.g. /.../.../libperl only libperl

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug translator/13833] function().library() is not aware of rpath
  2012-03-12 11:27 [Bug translator/13833] New: function().library() is not aware of rpath scox at redhat dot com
@ 2012-03-14 15:43 ` scox at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: scox at redhat dot com @ 2012-03-14 15:43 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=13833

Stan Cox <scox at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Stan Cox <scox at redhat dot com> 2012-03-14 15:42:33 UTC ---
commits: 47e226ed1d and c23caf23e6

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-14 15:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-12 11:27 [Bug translator/13833] New: function().library() is not aware of rpath scox at redhat dot com
2012-03-14 15:43 ` [Bug translator/13833] " scox 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).