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/10678] vta-gcc: cannot find module nfs debuginfo: relocation refers to undefined symbol


------- Additional Comments From mjw at redhat dot com  2009-10-01 22:39 -------
commit ae06d951b9775c39b92913417c902eae0775e4b6
Author: Mark Wielaard <mjw@redhat.com>
Date:   Fri Oct 2 00:28:46 2009 +0200

    PR10678 vta-gcc: module debuginfo: relocation refers to undefined symbol
    
    libdwfl tries to resolve all relocations in a module debuginfo file and
    if it cannot find a symbol used in a relocation it will fail when
    dwfl_module_getdwarf() is called. So we must make sure all possible
    dependencies of the module are also in the dwfl. We do this by trying
    to find and parse the modules.dep file and insert all dependencies
    into the dwfl.
    
    * setupdwfl.cxx (elfutils_kernel_path): Lift from setup_dwfl_kernel and
      make static.
      (is_comma_dash): New function.
      (modname_from_path): Likewise.
      (setup_mod_deps): Likewise.
      (setup_dwfl_report_kernel_p): Call setup_mod_deps().
    * testsuite/buildok/pr10678.stp: New test.

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


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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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