On Thu, 2012-07-05 at 21:31 +0200, Tino Keitel wrote:
Hi,
I tried building syncevolution with -Wl,--as-needed in LDFLAGS. It
errored out with everal missing symbols from libs like libical. My
understanding is that this is an issue with the liker command line,
which doesn't explicitly contains the required libraries, but relies on
them being implicitly added by other libs which are specified.
The affected libraries can be seen in the build log at
https://buildd.debian.org/status/fetch.php?pkg=syncevolution&arch=i38...,
it's the lines starting with "dpkg-shlibdeps".
Furthermore, some the backends seem to use symbols from libs which they
are not linked against, even without " -Wl,--as-needed".
This topic is explained in
http://wiki.debian.org/ToolChain/DSOLinking.
Do you intend to change this behaviour of the build system so that
-Wl,--as-needed can be used?
I'd certainly would like to. I'll probably be able to reproduce and fix
it, but if you see a chance to come up with a suitable, working patch
then that would safe me some time and would be very much appreciated.
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.