Opened 10 years ago
Closed 10 years ago
#306 closed defect (fixed)
avoid needlessly linking libraries that are not used to libtrace and tools
Reported by: | matt@… | Owned by: | perry |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | documentation | Version: | |
Keywords: | Cc: |
Description
libtrace and related tools are needlessly linking against libraries that they do not use. This causes unnecessary dependencies to be generated in the Debian packages.
Please stop linking against libraries that you don't use any symbols from to avoid dependency bloat in the Debian packages.
dpkg-shlibdeps: warning: dependency on libdl.so.2 could be avoided if "debian/libtrace3/usr/lib/libtrace.so.3.0.10" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libgcc_s.so.1 could be avoided if "debian/libtrace3/usr/lib/libtrace.so.3.0.10" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libstdc++.so.6 could be avoided if "debian/libtrace3/usr/lib/libtrace.so.3.0.10" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libncurses.so.5 could be avoided if "debian/libtrace3/usr/lib/libtrace.so.3.0.10" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libdl.so.2 could be avoided if "debian/libtrace-tools/usr/bin/tracemerge debian/libtrace-tools/usr/bin/traceanon debian/libtrace-tools/usr/bin/tracestats debian/libtrace-tools/usr/bin/tracediff debian/libtrace-tools/usr/bin/tracesplit_dir debian/libtrace-tools/usr/bin/tracepktdump debian/libtrace-tools/usr/bin/tracetop debian/libtrace-tools/usr/bin/tracertstats debian/libtrace-tools/usr/bin/tracesplit debian/libtrace-tools/usr/bin/tracereport debian/libtrace-tools/usr/bin/tracereplay" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libz.so.1 could be avoided if "debian/libtrace-tools/usr/bin/tracemerge debian/libtrace-tools/usr/bin/traceanon debian/libtrace-tools/usr/bin/tracestats debian/libtrace-tools/usr/bin/tracediff debian/libtrace-tools/usr/bin/tracesplit_dir debian/libtrace-tools/usr/bin/tracepktdump debian/libtrace-tools/usr/bin/tracetop debian/libtrace-tools/usr/bin/tracertstats debian/libtrace-tools/usr/bin/tracesplit debian/libtrace-tools/usr/bin/tracereport debian/libtrace-tools/usr/bin/tracereplay" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libbz2.so.1.0 could be avoided if "debian/libtrace-tools/usr/bin/tracemerge debian/libtrace-tools/usr/bin/traceanon debian/libtrace-tools/usr/bin/tracestats debian/libtrace-tools/usr/bin/tracediff debian/libtrace-tools/usr/bin/tracesplit_dir debian/libtrace-tools/usr/bin/tracepktdump debian/libtrace-tools/usr/bin/tracetop debian/libtrace-tools/usr/bin/tracertstats debian/libtrace-tools/usr/bin/tracesplit debian/libtrace-tools/usr/bin/tracereport debian/libtrace-tools/usr/bin/tracereplay" were not uselessly linked against it (they use none of its symbols).
Change History (1)
comment:1 Changed 10 years ago by salcock
- Resolution set to fixed
- Status changed from new to closed
Mostly fixed in r1701 - libgcc_s and libstdc++ are still linked against because I can't figure out where the hell they are coming from. Sigh, autotools...