Project

General

Profile

Actions

Feature #568

closed

debian: build with --as-needed?

Added by Sage Weil over 13 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Can we do this to limit dependencies? See #544.

And the current warnings like

dh_shlibdeps
        dpkg-shlibdeps -Tdebian/ceph.substvars debian/ceph/usr/lib/rados-classes/libcls_rbd.so.1.0.0 debian/ceph/usr/bin/cephfs debian/ceph/usr/bin/osdmaptool debian/ceph/usr/bin/cosd debian/ceph/usr/bin/cauthtool debian/ceph/usr/bin/cmon debian/ceph/usr/bin/cmds debian/ceph/usr/bin/crushtool debian/ceph/usr/bin/cconf debian/ceph/usr/bin/monmaptool debian/ceph/usr/bin/ceph
dpkg-shlibdeps: warning: debian/ceph/usr/lib/rados-classes/libcls_rbd.so.1.0.0 contains an unresolvable reference to symbol cls_register: it's probably a plugin.
dpkg-shlibdeps: warning: 8 other similar warnings have been skipped (use -v to see them all).
dpkg-shlibdeps: warning: dependency on libfontconfig.so.1 could be avoided if "debian/ceph/usr/bin/ceph" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libatk-1.0.so.0 could be avoided if "debian/ceph/usr/bin/ceph" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libgobject-2.0.so.0 could be avoided if "debian/ceph/usr/bin/ceph" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libgiomm-2.4.so.1 could be avoided if "debian/ceph/usr/bin/ceph" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libgtk-x11-2.0.so.0 could be avoided if "debian/ceph/usr/bin/ceph" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libpangocairo-1.0.so.0 could be avoided if "debian/ceph/usr/bin/ceph" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libfreetype.so.6 could be avoided if "debian/ceph/usr/bin/ceph" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libgdk-x11-2.0.so.0 could be avoided if "debian/ceph/usr/bin/ceph" were not uselessly linked against it (they use none of its symbols).
...

Actions

Also available in: Atom PDF