Bug#640163: yate: FTBFS with ld that defaults to --as-needed: bad linkage order

Paul Chitescu paulc at voip.null.ro
Sat Sep 3 13:10:54 UTC 2011


Hi!

Thank you for the report and this patch.

We are working on packaging of the not yet released version 3.4.0 - it will be released when stable and fixed.

Our purpose is to have upstream compile and package on any architecture with no or minimal warnings.

There are a few problems exposed by -Wunused-but-set-variable as well as some pointer-to-integer conversions on some architectures.

As a maintainer I am currently configuring with:
-Wall -Wformat=2 -Werror=format-security -Wwrite-strings -Wunused-but-set-variable -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro

Regards,

Paul Chitescu


On Saturday 03 September 2011 02:29:00 am Colin Watson wrote:
> Package: yate
> Version: 2.2.0-1~dfsg-1.1
> Severity: important
> Tags: patch
> User: ubuntu-devel at lists.ubuntu.com
> Usertags: origin-ubuntu ubuntu-patch oneiric
>
> yate fails to build with a linker that defaults to --as-needed, as shown
> in this Ubuntu bug report:
>
>   https://bugs.launchpad.net/ubuntu/+source/yate/+bug/832890
>
> This is because of various faults in its link ordering, mostly putting
> libraries before the objects that use them rather than after.  See:
>
>  
> http://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries
>
> The following patch fixes this.
>
> [..]
>
> Thanks,




More information about the Pkg-voip-maintainers mailing list