Skip to content

Commit

Permalink
Add: daily report
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhang71 committed Jul 23, 2024
1 parent 6259bec commit 0aa625f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/daily.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Mon 7/22/2024
1. Fix errors by initializing two values, borrowed from wasi-libc: `__default_pthread_attr.internal.stacksize = 131072;` and `__default_pthread_attr.internal.guardsize = 0;` in function __libc_setup_tls in /glibc/csu/libc-tls.c
2. In order to create a thread stack, glibc will use mmap to allocate the memory, and mmap is not fully support by our version of glibc, so working on that now
3. So, I enabled the debug info in wasi-libc and traced the implementation of mmap. It turns out that mmap in wasi-libc is emulated by malloc. After discussing this with Nick and Coulson, we concluded that this approach is not acceptable, so we will implement our own mmap.

## Fri 7/19/2024
1. I am now integrating the WASI-libc threading implementation into glibc and have migrated __init_tls.c into the csu directory and updated the Makefile accordingly. After fixing many define and initialization issues, we are now facing these errors:
Expand Down

0 comments on commit 0aa625f

Please sign in to comment.