[Pkg-lustre-svn-commit] updated: [0517031] Add a patch for building with -Wl, --no-add-needed (Closes: #615749)

Patrick Winnertz winnie at debian.org
Thu Mar 17 11:02:27 UTC 2011


The following commit has been merged in the master branch:
commit 05170315c0db2ac583bf6065856776411d1910fa
Author: Patrick Winnertz <winnie at debian.org>
Date:   Thu Mar 17 11:22:37 2011 +0100

    Add a patch for building with -Wl,--no-add-needed (Closes: #615749)
    
    Signed-off-by: Patrick Winnertz <winnie at debian.org>

diff --git a/debian/patches/615749_no_add_needed b/debian/patches/615749_no_add_needed
new file mode 100644
index 0000000..49c2e83
--- /dev/null
+++ b/debian/patches/615749_no_add_needed
@@ -0,0 +1,14 @@
+Add missing -lpthread to the linking arguments of liblustreapi.a
+Index: lustre/lustre/tests/Makefile.am
+===================================================================
+--- lustre.orig/lustre/tests/Makefile.am	2011-03-17 11:19:36.220315409 +0100
++++ lustre/lustre/tests/Makefile.am	2011-03-17 11:21:06.120761199 +0100
+@@ -61,7 +61,7 @@
+ mmap_sanity_SOURCES= mmap_sanity.c
+ 
+ LIBLUSTREAPI := $(top_builddir)/lustre/utils/liblustreapi.a
+-multiop_LDADD=$(LIBLUSTREAPI) -lrt
++multiop_LDADD=$(LIBLUSTREAPI) -lrt -lpthread
+ 
+ ll_dirstripe_verify_SOURCES= ll_dirstripe_verify.c
+ ll_dirstripe_verify_LDADD= -L$(top_builddir)/lustre/utils -llustreapi
diff --git a/debian/patches/series b/debian/patches/series
index 2f87c1b..2a370bf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -23,3 +23,4 @@ fix_bashisms_for_dash.patch
 fix_dentry_conf_test.patch
 spelling_errors.patch
 cacheflush_remove_mark_rodata.patch
+615749_no_add_needed

-- 
Lustre Debian Packaging 



More information about the Pkg-lustre-svn-commit mailing list