[Debian-zh-dev] Bug#647085: iptux: FTBFS with ld --as-needed

Ilya Barygin randomaction at ubuntu.com
Sun Oct 30 11:12:46 UTC 2011


Package: iptux
Version: 0.5.2-1
Severity: normal
Tags: upstream patch
User: debian-gcc at lists.debian.org
Usertags: ld-as-needed

iptux 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/83142411/buildlog_ubuntu-precise-i386.iptux_0.5.2-1_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/iptux/0.5.2-1ubuntu1

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

Kernel: Linux 3.0.0-13-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: 02-as-needed.patch
Type: text/x-makefile
Size: 1151 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/chinese-developers/attachments/20111030/03407ec7/attachment.bin>


More information about the Chinese-developers mailing list