[tbb] 03/03: Revert "Attempt to debug pthread_create failures on mips"

Steven Capper capper-guest at moszumanska.debian.org
Tue Jul 25 18:09:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

capper-guest pushed a commit to branch steve-staging
in repository tbb.

commit 3052664c5f6adca795d08012c697a70619e43953
Author: Steve Capper <steven.capper at gmail.com>
Date:   Tue Jul 25 19:05:48 2017 +0100

    Revert "Attempt to debug pthread_create failures on mips"
    
    This reverts commit 0f182aef8da44e44f93114ccf948d0cbda352d57.
    We no longer need this telemetry.
---
 debian/patches/debug_alloc.patch | 18 ------------------
 debian/patches/series            |  1 -
 2 files changed, 19 deletions(-)

diff --git a/debian/patches/debug_alloc.patch b/debian/patches/debug_alloc.patch
deleted file mode 100644
index a9e2fba..0000000
--- a/debian/patches/debug_alloc.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Description: Add telemetry to pthread_create error path. This will show why it's failing on mips
-Author: Steve Capper <steven.capper at gmail.com>
-
-Index: tbb/src/test/harness.h
-===================================================================
---- tbb.orig/src/test/harness.h
-+++ tbb/src/test/harness.h
-@@ -527,7 +527,9 @@ public:
-         status = pthread_attr_setstacksize( &attr_stack, stack_size );
-         ASSERT(0==status, "NativeParallelFor: pthread_attr_setstacksize failed");
-         status = pthread_create(&thread_id, &attr_stack, thread_function, this);
--        ASSERT(0==status, "NativeParallelFor: pthread_create failed");
-+	if (0 != status) {
-+		REPORT_FATAL_ERROR("NativeParallelFor: pthread_create failed with %d\n", status);
-+	}
-         pthread_attr_destroy(&attr_stack);
- #if __ICC==1100
-     #pragma warning (pop)
diff --git a/debian/patches/series b/debian/patches/series
index 1ee448e..df28aa6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -10,6 +10,5 @@ tweak-64bits-hppa-alpha.patch
 removejsquery.patch
 cross.patch
 fix-armel.patch
-debug_alloc.patch
 allow-reproducible-builds.patch
 fixup-mips-harness.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/tbb.git



More information about the debian-science-commits mailing list