What does --as-needed do? (Why are you adding it? Pretend I have no idea
what your context is.)

On 13 August 2011 06:10, Ilya Barygin <bary...@gmail.com> wrote:

> Package: cronutils
> Version: 1.1-2
> Severity: normal
> Tags: upstream patch
> User: debian-...@lists.debian.org
> Usertags: ld-as-needed
>
> The package 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/76832085/buildlog_ubuntu-oneiric-i386.cronutils_1.1-2_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/cronutils/1.1-2ubuntu1
>
> -- System Information:
> Debian Release: squeeze/sid
>  APT prefers natty-updates
>  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500,
> 'natty-proposed'), (500, 'natty'), (100, 'natty-backports')
> Architecture: i386 (i686)
>
> Kernel: Linux 2.6.38-11-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
>

Reply via email to