This patch can achieve stack switching for each thread on SYSCALL
instruction because each thread, which is created through class thread, has
two stacks: _stack and _sys_stack.
_syscall_stack is a newly created stack in this patch and used by its
unique owner, a thread, during execution of system
From: Nadav Har'El
Committer: Nadav Har'El
Branch: master
runtime.c: avoid explicit "extern C" when header files are available
Signed-off-by: Nadav Har'El
---
diff --git a/runtime.cc b/runtime.cc
--- a/runtime.cc
+++ b/runtime.cc
@@
From: Justin Cinkelj
Committer: Nadav Har'El
Branch: master
libc: add functions required for libpython2.7.so
When we try to reuse python from the build system (instead of
compiling it from source), libpython2.7.so requires additional
libc/glibc
On 08/01/2017 02:23 PM, Nadav Har'El wrote:
On Tue, Aug 1, 2017 at 2:16 PM, Justin Cinkelj > wrote:
When we try to reuse python from the build system (instead of
compiling it from source), libpython2.7.so
When we try to reuse python from the build system (instead of
compiling it from source), libpython2.7.so requires additional
libc/glibc symbols. It seems that (at least for most trivial python
programs) those functions are not really called and can be implemented
as stubs. The patch was prepared
On Tue, Aug 1, 2017 at 3:33 PM, Justin Cinkelj
wrote:
> I should said first that I didn't really try to verify if implementations
> are correct, and that I guess most of those functions are not called.
> More or less, I just wanted to avoid "failed looking up symbol xyz"
I should said first that I didn't really try to verify if
implementations are correct, and that I guess most of those functions
are not called.
More or less, I just wanted to avoid "failed looking up symbol xyz"
error. I didn't even open any of the .c files (except wait4.c, because
it didn't
This reverts commit 9cdcf94d7d14d117bcbc790ff52287f3fb5ecf0d.
---
python27/Makefile | 52 --
python27/copy-required-system-libraries.sh | 27
2 files changed, 79 deletions(-)
delete mode 100644 python27/Makefile
delete mode
Hi, thanks for the patch!
Please take a look inline below for some review comments.
Can you please say a few words on how you tested this patch? Namely, is
there some Go test case which crashed before this patch, but is working
successfully with this patch?
One thing that worries me about the