[Bug translator/3221] New: --enable-perfmon makes all built programs dependant on libpfm

eugen at debian dot org sourceware-bugzilla@sourceware.org
Sun Sep 17 18:57:00 GMT 2006


After configuring and building with --enable-perfmon:

% readelf -d /usr/bin/stap | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libpfm3.so.3]
 0x00000001 (NEEDED)                     Shared library: [libelf.so.1]
 0x00000001 (NEEDED)                     Shared library: [libstdc++.so.6]
 0x00000001 (NEEDED)                     Shared library: [libm.so.6]
 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
% readelf -d /usr/bin/lket-b2a | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libpfm3.so.3]
 0x00000001 (NEEDED)                     Shared library: [libglib-2.0.so.0]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
% readelf -d /usr/lib/systemtap/stpd | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libpfm3.so.3]
 0x00000001 (NEEDED)                     Shared library: [libpthread.so.0]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]

But only stap binary actually uses libpfm.

-- 
           Summary: --enable-perfmon makes all built programs dependant on
                    libpfm
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: eugen at debian dot org


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

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



More information about the Systemtap mailing list