Package: libtool
Version: 1.5.6-4

The libtool.m4 file which comes in this release differs
from the upstream libtool.m4 for libtool-1.5.6.

Especially the diff
5009,5011d5004
<   linux*)
<     _LT_AC_TAGVAR(link_all_deplibs, $1)=no
<   ;;

Sets link_all_deplibs to no on linux targets. Now
the problem is, that gnu-ld doesn't use rpath on
cross-compilation targets. Thus the link process
fails with unresolved symbol messages
when cross-compiling if dependent libraries
must be linked in.

Example: Library liba.so provides some functions,
libb.so depends on liba.so (libb_la_LIBADD=/path/to/liba.la)
now executable1 depends on libb.so. If I use
a native linker, everything is ok (ld just uses rpath
to find liba.so), but with a cross-compiling linker
liba.so is not found.
Solution: Don't use link_all_deplibs=no, but leave
it as 'unknown'

-- 
Manuel Klimek
EL-ME AG
Phone: +49 8752 864 0
Email : [EMAIL PROTECTED]


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

Reply via email to