pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

coreclr-git: Add draft hacks to push build forward



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Mon Feb 1 03:13:56 2016 +0100
Changeset:	1859a6255fbb455718920e9b20f48d42838dcdf8

Modified Files:
	coreclr-git/distinfo
	coreclr-git/patches/patch-src_pal_src_thread_thread.cpp
Added Files:
	coreclr-git/patches/patch-src_pal_src_include_pal_synchcache.hpp

Log Message:
coreclr-git: Add draft hacks to push build forward

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1859a6255fbb455718920e9b20f48d42838dcdf8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 coreclr-git/distinfo                                   |  3 ++-
 .../patch-src_pal_src_include_pal_synchcache.hpp       | 18 ++++++++++++++++++
 .../patches/patch-src_pal_src_thread_thread.cpp        | 12 ++++++++++++
 3 files changed, 32 insertions(+), 1 deletion(-)

diffs:
diff --git a/coreclr-git/distinfo b/coreclr-git/distinfo
index 27a7d10..d7ba2cb 100644
--- a/coreclr-git/distinfo
+++ b/coreclr-git/distinfo
@@ -7,5 +7,6 @@ SHA1 (patch-src_pal_src_cruntime_file.cpp) = 315ad5db53ef2b893a77aa131ce97999214
 SHA1 (patch-src_pal_src_exception_seh-unwind.cpp) = ffb395a23d66e33e5cf1b0f3f4ff5feff52a56fc
 SHA1 (patch-src_pal_src_exception_signal.cpp) = 1bcb47f927a0c8037876b47ca4d15afb24cbd410
 SHA1 (patch-src_pal_src_include_pal_context.h) = 32e5535866b4c7046bb05cc152b2e6db9dc9cf9b
+SHA1 (patch-src_pal_src_include_pal_synchcache.hpp) = 7ace14659295f07fd62e0d2a5f2b2d55541debfb
 SHA1 (patch-src_pal_src_thread_context.cpp) = 7dbd841a0628a5ea21abffd6cd90c403e44e1f6c
-SHA1 (patch-src_pal_src_thread_thread.cpp) = adc83b19e793491b1c6ea0fd8b46cd9f32e592fc
+SHA1 (patch-src_pal_src_thread_thread.cpp) = 7c11ae04827da599d2e2b64ae8d57efc62b2494b
diff --git a/coreclr-git/patches/patch-src_pal_src_include_pal_synchcache.hpp b/coreclr-git/patches/patch-src_pal_src_include_pal_synchcache.hpp
new file mode 100644
index 0000000..5f2097d
--- /dev/null
+++ b/coreclr-git/patches/patch-src_pal_src_include_pal_synchcache.hpp
@@ -0,0 +1,18 @@
+$NetBSD$
+
+--- src/pal/src/include/pal/synchcache.hpp.orig	2016-01-28 19:04:13.000000000 +0000
++++ src/pal/src/include/pal/synchcache.hpp
+@@ -143,7 +143,7 @@ namespace CorUnix
+                 return;
+             }
+ 
+-            pobj->~T();
++//            pobj->~T();
+             
+             Lock(pthrCurrent);
+             if (m_iDepth < m_iMaxDepth)
+@@ -394,4 +394,3 @@ namespace CorUnix
+ }
+ 
+ #endif // _SYNCH_CACHE_H_
+-
diff --git a/coreclr-git/patches/patch-src_pal_src_thread_thread.cpp b/coreclr-git/patches/patch-src_pal_src_thread_thread.cpp
index afc7651..7ffdcd4 100644
--- a/coreclr-git/patches/patch-src_pal_src_thread_thread.cpp
+++ b/coreclr-git/patches/patch-src_pal_src_thread_thread.cpp
@@ -1,2 +1,14 @@
 $NetBSD$
 
+--- src/pal/src/thread/thread.cpp.orig	2016-02-01 01:51:45.000000000 +0000
++++ src/pal/src/thread/thread.cpp
+@@ -1413,7 +1413,9 @@ CorUnix::GetThreadTimesInternal(
+ 
+     pTargetThread->Lock(pThread);
+ 
++#if 0
+     if (pthread_getcpuclockid(pTargetThread->GetPThreadSelf(), &cid) != 0)
++#endif
+     {
+         ASSERT("Unable to get clock from thread\n", hThread);
+         SetLastError(ERROR_INTERNAL_ERROR);


Home | Main Index | Thread Index | Old Index