[Pkg-amule-devel] Bug#677209: amule: FTBFS with ld --as-needed

Ilya Barygin randomaction at ubuntu.com
Tue Jun 12 10:46:12 UTC 2012


Package: amule
Version: 2.3.1-7
Severity: normal
Tags: patch upstream
User: debian-gcc at lists.debian.org
Usertags: ld-as-needed

amule fails to build when --as-needed linker option is enabled,
because of incorrect order of parameters passed to ld. Here's a log of
failed build in Ubuntu:
https://launchpadlibrarian.net/104846981/buildlog_ubuntu-quantal-i386.amule_2.3.1-7_FAILEDTOBUILD.txt.gz

See also
http://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries

The attached patch was used in Ubuntu to fix the problem.
https://launchpad.net/ubuntu/+source/amule/2.3.1-7ubuntu1

-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 'precise-proposed'), (500, 'precise'), (100, 'precise-backports')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-25-generic (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: as-needed.patch
Type: text/x-diff
Size: 1627 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-amule-devel/attachments/20120612/4f6159b4/attachment.patch>


More information about the Pkg-amule-devel mailing list