[Pkg-osm-maint] Bug#656751: osmium: ftbs with ld --as-needed

Julian Taylor jtaylor.debian at googlemail.com
Sat Jan 21 14:25:44 UTC 2012


Package: osmium
Version: 0.0~20111114-ga147fb1-1
Severity: wishlist
User: debian-gcc at lists.debian.org
Usertags: ld-as-needed
Tags: patch

osmium fails to build with ld --as-needed.
This is caused by wrong placement of libraries on the commandline.
Libraries must be placed behind the objects needing their symbols when
building with --as-needed
See the buildlog in ubuntu:
https://launchpadlibrarian.net/89413757/buildlog_ubuntu-precise-i386.osmium_0.0~20111114-ga147fb1-1_FAILEDTOBUILD.txt.gz

attached a patch that fixes the issue.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-as-needed-build.patch
Type: text/x-patch
Size: 2246 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-osm-maint/attachments/20120121/5cdd42b1/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-osm-maint/attachments/20120121/5cdd42b1/attachment.pgp>


More information about the Pkg-osm-maint mailing list