This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/13833] New: function().library() is not aware of rpath


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]