Temporarily disable ntdll-Thread_Stack patchset.

The patchset was initially added for 64-bit MSYS2, however it seems to
break various other applications. Disable it until a better solution is
found.
This commit is contained in:
Sebastian Lackner 2016-05-29 16:50:57 +02:00
parent 6eb4b11c22
commit 99ddea76c5
2 changed files with 1 additions and 28 deletions

View File

@ -1,3 +1,4 @@
Fixes: Use a separate stack when starting new threads
Fixes: Ignore invalid exit_frame when exiting thread
Depends: ntdll-ThreadTime
Disabled: true

View File

@ -240,7 +240,6 @@ patch_enable_all ()
enable_ntdll_SystemRecommendedSharedDataAlignment="$1"
enable_ntdll_SystemRoot_Symlink="$1"
enable_ntdll_ThreadTime="$1"
enable_ntdll_Thread_Stack="$1"
enable_ntdll_Threading="$1"
enable_ntdll_User_Shared_Data="$1"
enable_ntdll_WRITECOPY="$1"
@ -901,9 +900,6 @@ patch_enable ()
ntdll-ThreadTime)
enable_ntdll_ThreadTime="$2"
;;
ntdll-Thread_Stack)
enable_ntdll_Thread_Stack="$2"
;;
ntdll-Threading)
enable_ntdll_Threading="$2"
;;
@ -2170,13 +2166,6 @@ if test "$enable_ntdll_WRITECOPY" -eq 1; then
enable_ws2_32_WriteWatches=1
fi
if test "$enable_ntdll_Thread_Stack" -eq 1; then
if test "$enable_ntdll_ThreadTime" -gt 1; then
abort "Patchset ntdll-ThreadTime disabled, but ntdll-Thread_Stack depends on that."
fi
enable_ntdll_ThreadTime=1
fi
if test "$enable_ntdll_SystemRoot_Symlink" -eq 1; then
if test "$enable_ntdll_Exception" -gt 1; then
abort "Patchset ntdll-Exception disabled, but ntdll-SystemRoot_Symlink depends on that."
@ -5307,23 +5296,6 @@ if test "$enable_ntdll_ThreadTime" -eq 1; then
) >> "$patchlist"
fi
# Patchset ntdll-Thread_Stack
# |
# | This patchset has the following (direct or indirect) dependencies:
# | * ntdll-ThreadTime
# |
# | Modified files:
# | * dlls/ntdll/signal_i386.c, dlls/ntdll/signal_x86_64.c, dlls/ntdll/thread.c
# |
if test "$enable_ntdll_Thread_Stack" -eq 1; then
patch_apply ntdll-Thread_Stack/0001-ntdll-Use-a-separate-stack-when-starting-new-threads.patch
patch_apply ntdll-Thread_Stack/0002-ntdll-Ignore-invalid-exit_frame-when-exiting-thread.patch
(
echo '+ { "Sebastian Lackner", "ntdll: Use a separate stack when starting new threads.", 1 },';
echo '+ { "Sebastian Lackner", "ntdll: Ignore invalid exit_frame when exiting thread.", 1 },';
) >> "$patchlist"
fi
# Patchset ntdll-Threading
# |
# | Modified files: