-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/30/2011 03:14 PM, Ilya Barygin wrote:
> Package: lebiniou
> Version: 3.12-1
> Severity: normal
> Tags: upstream patch
> User: [email protected]
> Usertags: ld-as-needed
> 
> Hello Olivier,

Hello Ilya,

> lebiniou fails to build when --as-needed linker option is enabled. Here's
> a log of failed build in Ubuntu, where this option is on by default:
> https://launchpad.net/ubuntu/+source/lebiniou/3.12-1/+build/2881998/+files/buildlog_ubuntu-precise-i386.lebiniou_3.12-1_FAILEDTOBUILD.txt.gz
> 
> There are two problems:
> 1. Executable is not linked with -lm, while a function from math library is
> used.
> 2. Configure script puts detected libraries in LDFLAGS variable. When linking
> the executable, LDFLAGS are passed before the object files, which leads to an
> error with --as-needed.
> 
> Attached patch puts library flags to correct LIBS variable. It was applied in
> Ubuntu:
> https://launchpad.net/ubuntu/+source/lebiniou/3.12-1ubuntu1

Thank you for the patch, applied in git/HEAD

It will be included in release 3.13

- --
Olivier
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6tebsACgkQpqVXaJzJYNLMawCfSz4XQ4nFXz+Mww59T8Bprklp
W9oAniqqd1xobFi89WZyQq/a158yaCJM
=AqCY
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to