Bug#719485: [inventor] please explicitly link Decal.so against libc

Graham Inggs graham at nerve.org.za
Fri Aug 30 06:35:33 UTC 2013


On 25 August 2013 18:27, Steve M. Robbins <steve at sumost.ca> wrote:

> OK, that seems plausible.  My preference, then, is to leave the patch in
> Ubuntu utill such time that Debian needs it; e.g. it's autobuilders turn
> on -
> Wl,as-needed.
>

That is your call, but I would prefer there to be no delta between the
Debian and Ubuntu packages.

Nothing stops us from enabling -Wl,--as-needed for the Debian build now.
The attached patch to debian/rules does that and should fix the following
dpkg-shlibdeps warnings (from the Debian buildd amd64 log):

dh_shlibdeps -L libinventor1 -l debian/tmp/usr/lib
dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/libinventor1/usr/lib/libInventorXt.so.1.0.0 was not linked against
libXext.so.6 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/inventor-clients/usr/bin/ivview
debian/inventor-clients/usr/bin/SceneViewer were not linked against
libGLw.so.1 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/inventor-demo/usr/lib/inventor/qmorf
debian/inventor-demo/usr/lib/inventor/noodle
debian/inventor-demo/usr/lib/inventor/revo
debian/inventor-demo/usr/lib/inventor/gview
debian/inventor-demo/usr/lib/inventor/SceneViewer
debian/inventor-demo/usr/lib/inventor/maze
debian/inventor-demo/usr/lib/inventor/drop
debian/inventor-demo/usr/lib/inventor/textomatic were not linked against
libGLw.so.1 (they use none of the library's symbols)

Removing libraries due to --as-needed might also produce binaries with
different behaviour at run time only [1].  I will subscribe to inventor
bugs in Ubuntu to watch out for this, as well as do some testing of my own.


[1]
https://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20130830/47317546/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inventor-wl-as-needed.patch
Type: application/octet-stream
Size: 620 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20130830/47317546/attachment.obj>


More information about the debian-science-maintainers mailing list