edrikL / iptux

Automatically exported from code.google.com/p/iptux
1 stars 0 forks source link

iptux: FTBFS with ld --as-needed #90

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
From: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647085

Package: iptux
Version: 0.5.2-1
Severity: normal
Tags: upstream patch
User: debian-gcc@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

Original issue reported on code.google.com by lidaob...@gmail.com on 24 Nov 2011 at 2:29

GoogleCodeExporter commented 9 years ago
fixed in r172

Original comment by lidaob...@gmail.com on 24 Nov 2011 at 2:44

GoogleCodeExporter commented 9 years ago

Original comment by lidaob...@gmail.com on 24 Nov 2011 at 2:49