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

Colin Watson cjwatson at debian.org
Sat Sep 3 14:02:21 UTC 2011


On Sat, Sep 03, 2011 at 04:10:54PM +0300, Paul Chitescu wrote:
> 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.

Great, thanks.

> 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

Excellent.  You might also try -Wl,--no-copy-dt-needed-entries (which I
believe will be the default in binutils very soon).

Regards,

-- 
Colin Watson                                       [cjwatson at debian.org]



More information about the Pkg-voip-maintainers mailing list