Bug#632528: ftbs with ld --as-needed

Julian Taylor jtaylor.debian at googlemail.com
Sun Jul 3 09:45:48 UTC 2011


Package: xbill
Version: 2.1-8
Severity: wishlist
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch

the package xbill fails to build when using the linker flag --as-needed
This is caused by the libraries being placed before the objects which
need the symbols on the command line. So the library symbols are not
registered as needed.
See the log ubuntu bug:
https://bugs.launchpad.net/ubuntu/+source/xbill/+bug/803215

Attached patch fixes this issue by using ordering the command line
correctly.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 04_fix_ftbfs_as_needed.diff
Type: text/x-patch
Size: 1129 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20110703/7731d252/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20110703/7731d252/attachment.pgp>


More information about the Pkg-games-devel mailing list