[lttng-dev] [PATCH lttng-tools 0/2] Configure fixes for cross-compilation

David Goulet david.goulet at polymtl.ca
Thu Aug 9 10:01:36 EDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Merged!

Christian Babeux:
> Hi all,
> 
> Here are a few fixes to the configure.ac script to accomodate 
> cross-compilation of lttng-tools.
> 
> Patch 1:
> 
> Same fix that was merged in lttng-ust to fix libtool.m4 on target 
> where link_all_deplibs = no.
> 
> Patch 2:
> 
> Fix an issue encountered when cross-compiling. The configure
> script simply fails saying it cannot find the lttng-ust-ctl library
> even thought the proper "-L/path/to/ust" is specified in $LDFLAGS. 
> The AC_CHECK_LIB test fails because it can't find the libraries
> that liblttng-ust-ctl depends on. The fix is to specify the
> dependents libraries (liburcu-{common,bp,cds}) in the
> other-lib-case of AC_CHECK_LIB.
> 
> Thanks,
> 
> Christian
> 
> Christian Babeux (2): Fix: Libtool fails to find dependent
> libraries when cross-compiling lttng-tools Fix: Missing libs
> dependencies in configure check for lttng-ust-ctl
> 
> configure.ac | 38 +++++++++++++++++++++++++++++++++----- 1 file
> changed, 33 insertions(+), 5 deletions(-)
> 
-----BEGIN PGP SIGNATURE-----

iQEcBAEBCgAGBQJQI8K9AAoJEELoaioR9I02GYoIALy1oupw5BbMgfNV5i/gyPrf
3ywUW+s0/Ltl+H4L6hOUq4daUTyUpt+Tla9bBNiP+HXkRX7rxjMnePjN2lk8QJR6
4lW1fWD7IlUNwQkVzKNZh+fv3xu4QyIiWd9zaEmMWIFwibaAcV8yzaI4ZkdrkHXX
r+b2nVeGScx2kamwj5B/CWXr+FLovsstGEdKUy2KmJZ7A9eLg4G4Eyn8R3U7Sn5m
X3t04liPawiZ6g8NTVQiw+O2vBs6ngdklj5DTQ1v4vLb/a2IwPPEnHjrznV1Np6A
T1ONQex+063MYdxp6a0948pXx2X1jBEgeESphoew/Go15LQqgkUBFZHTye3kKdI=
=GgYi
-----END PGP SIGNATURE-----



More information about the lttng-dev mailing list