|
From: <sv...@va...> - 2007-09-11 10:26:29
|
Author: sewardj
Date: 2007-09-11 11:26:28 +0100 (Tue, 11 Sep 2007)
New Revision: 6818
Log:
* x86-linux build fixes for regtests
* some suppressions for glibc-2.4 based systems
Modified:
branches/THRCHECK/glibc-2.4.supp
branches/THRCHECK/thrcheck/tests/tc07_hbl1.c
branches/THRCHECK/thrcheck/tests/tc08_hbl2.c
Modified: branches/THRCHECK/glibc-2.4.supp
===================================================================
--- branches/THRCHECK/glibc-2.4.supp 2007-09-10 21:35:49 UTC (rev 6817)
+++ branches/THRCHECK/glibc-2.4.supp 2007-09-11 10:26:28 UTC (rev 6818)
@@ -259,3 +259,40 @@
obj:/lib/libpthread-0.10.so
fun:pthread_create
}
+
+
+##----------------------------------------------------------------------##
+# Thrcheck tool, x86-linux, glibc-2.4
+{
+ thrcheck-glibc24-x86-1
+ Thrcheck:Race
+ fun:pthread_join*
+ fun:pthread_join*
+}
+{
+ thrcheck-glibc24-x86-2
+ Thrcheck:Race
+ fun:_dl_lookup_symbol_x
+ fun:_dl_fixup
+ fun:_dl_runtime_resolve
+}
+{
+ thrcheck-glibc24-x86-3
+ Thrcheck:Race
+ fun:__free_tcb
+ fun:pthread_join*
+ fun:pthread_join*
+}
+{
+ thrcheck-glibc24-x86-4
+ Thrcheck:Race
+ fun:pthread_mutex_lock*
+ fun:pthread_mutex_lock*
+}
+{
+ thrcheck-glibc24-x86-5
+ Thrcheck:Race
+ fun:do_clone
+ fun:pthread_create*
+ fun:pthread_create*
+}
Modified: branches/THRCHECK/thrcheck/tests/tc07_hbl1.c
===================================================================
--- branches/THRCHECK/thrcheck/tests/tc07_hbl1.c 2007-09-10 21:35:49 UTC (rev 6817)
+++ branches/THRCHECK/thrcheck/tests/tc07_hbl1.c 2007-09-11 10:26:28 UTC (rev 6818)
@@ -28,7 +28,7 @@
#endif
-#if defined(PLAT_amd64_linux)
+#if defined(PLAT_amd64_linux) || defined(PLAT_x86_linux)
# define INC(_lval) \
__asm__ __volatile__ ( \
"lock ; incl (%0)" : /*out*/ : /*in*/"r"(&(_lval)) : "memory", "cc" )
Modified: branches/THRCHECK/thrcheck/tests/tc08_hbl2.c
===================================================================
--- branches/THRCHECK/thrcheck/tests/tc08_hbl2.c 2007-09-10 21:35:49 UTC (rev 6817)
+++ branches/THRCHECK/thrcheck/tests/tc08_hbl2.c 2007-09-11 10:26:28 UTC (rev 6818)
@@ -32,7 +32,7 @@
#endif
-#if defined(PLAT_amd64_linux)
+#if defined(PLAT_amd64_linux) || defined(PLAT_x86_linux)
# define INC(_lval) \
__asm__ __volatile__ ( \
"lock ; incl (%0)" : /*out*/ : /*in*/"r"(&(_lval)) : "memory", "cc" )
|