[libdispatch-dev] trivial linux patch + general questions

"C. Bergström" cbergstrom at pathscale.com
Sat Apr 16 08:34:21 PDT 2011


Can someone apply this if it's a proper fix ------------- diff --git 
a/autogen.sh b/autogen.sh
old mode 100644
new mode 100755
diff --git a/testing/Makefile.am b/testing/Makefile.am
index 404ced0..103d8bf 100644
--- a/testing/Makefile.am
+++ b/testing/Makefile.am
@@ -81,7 +81,7 @@ TOOLS= \
 noinst_PROGRAMS+=$(TOOLS)
 
 INCLUDES=-I$(top_builddir) -I$(top_srcdir)
-LDADD=libtest.la ../src/libdispatch.la
+LDADD=libtest.la ../src/libdispatch.la ../src/libshims.la
 CFLAGS=-Wall $(MARCH_FLAGS) $(CBLOCKS_FLAGS)
 CXXFLAGS=-Wall $(MARCH_FLAGS) $(CXXBLOCKS_FLAGS) --------- I also get a 
test failure with make check --------- LOW: 68 
******************************************* DEFAULT: 63 
**************************************** HIGH: 61 
*************************************** Actual: 192 Expected: 192 [PASS] 
blocks completed Actual: 68 Expected: <61 [FAIL] high priority 
precedence (../../testing/dispatch_priority.c:83) 
../../testing/dispatch_priority.c:83 PASS: dispatch_priority 
================================================== [TEST] Dispatch 
Priority (Set Target Queue) [PID] 541 
================================================== --------- Is this an 
out of sync test case or a legitimate failure? Last two questions.. Does 
anyone have ideas on Solaris or Linux non-portable tsd or semaphore 
optimizations? Thanks! ./C



More information about the libdispatch-dev mailing list