Bug#632093: ftbs with --as-needed

Julian Taylor jtaylor.debian at googlemail.com
Wed Jun 29 15:52:17 UTC 2011


Package: alienblaster
Version: 1.1.0-5
Severity: wishlist
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch
User: debian-gcc at lists.debian.org
Usertags: ld-as-needed

the package alienblaster fails to build when using the linker flag
--as-needed
This is caused by the libraries are being placed before the objects
using it. In that case the libraries are not registered as needed and is
dropped.
See the buildlogs in ubuntu oneiric which has this flag set by default:
https://launchpad.net/ubuntu/+source/alienblaster/1.1.0-5

Attached patch resolves the issue by reordering the command line.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_as_needed_build.patch
Type: text/x-patch
Size: 626 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20110629/944b0a74/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/20110629/944b0a74/attachment.pgp>


More information about the Pkg-games-devel mailing list