@ai-ecoverse/wasix-sysroot 2025.9.30-34 → 2025.9.30-36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/package.json +2 -2
- package/sysroot/lib/wasm32-wasip1/crt1-command.o +0 -0
- package/sysroot/lib/wasm32-wasip1/crt1-reactor.o +0 -0
- package/sysroot/lib/wasm32-wasip1/crt1.o +0 -0
- package/sysroot/lib/wasm32-wasip1/libc.a +0 -0
- package/sysroot-eh/include/setjmp.h +4 -0
- package/sysroot-eh/lib/wasm32-wasip1/crt1-command.o +0 -0
- package/sysroot-eh/lib/wasm32-wasip1/crt1-reactor.o +0 -0
- package/sysroot-eh/lib/wasm32-wasip1/crt1.o +0 -0
- package/sysroot-eh/lib/wasm32-wasip1/libc.a +0 -0
- package/sysroot-ehpic/include/setjmp.h +4 -0
- package/sysroot-ehpic/lib/wasm32-wasip1/crt1-command.o +0 -0
- package/sysroot-ehpic/lib/wasm32-wasip1/crt1-reactor.o +0 -0
- package/sysroot-ehpic/lib/wasm32-wasip1/crt1.o +0 -0
- package/sysroot-ehpic/lib/wasm32-wasip1/libc.a +0 -0
- package/sysroot-exnref-eh/include/setjmp.h +4 -0
- package/sysroot-exnref-eh/lib/wasm32-wasip1/crt1-command.o +0 -0
- package/sysroot-exnref-eh/lib/wasm32-wasip1/crt1-reactor.o +0 -0
- package/sysroot-exnref-eh/lib/wasm32-wasip1/crt1.o +0 -0
- package/sysroot-exnref-eh/lib/wasm32-wasip1/libc.a +0 -0
- package/sysroot-exnref-ehpic/include/setjmp.h +4 -0
- package/sysroot-exnref-ehpic/lib/wasm32-wasip1/crt1-command.o +0 -0
- package/sysroot-exnref-ehpic/lib/wasm32-wasip1/crt1-reactor.o +0 -0
- package/sysroot-exnref-ehpic/lib/wasm32-wasip1/crt1.o +0 -0
- package/sysroot-exnref-ehpic/lib/wasm32-wasip1/libc.a +0 -0
package/README.md
CHANGED
|
@@ -41,6 +41,15 @@ Since 2025.9.30-18:
|
|
|
41
41
|
`sleep` early with the seconds left.
|
|
42
42
|
- `raise()` and `pthread_kill(pthread_self())` reach the handler.
|
|
43
43
|
|
|
44
|
+
Since 2025.9.30-36:
|
|
45
|
+
- **A ready fd wins over a pending signal:** `ppoll`, `pselect` and `epoll_pwait` with an fd ready return it and leave a signal pending that their mask would unblock, as on Linux. Up to -35 they returned EINTR (homescoop#949).
|
|
46
|
+
- **`gethostname()`/`uname()`** give the kernel's node name (`HOSTNAME`, `slicc` by default), not `wasmer.sh` (homescoop#1050).
|
|
47
|
+
- **`poll`:** `POLLIN|POLLOUT` on a pipe write end without readers gives `POLLOUT|POLLERR`, and `POLLOUT` on a socket whose peer closed gives `POLLOUT|POLLHUP` (homescoop#975).
|
|
48
|
+
- **`share/wasm32-wasi/`:** wasi-libc's ABI check files (`*-symbols.txt`, `predefined-macros.txt`, `include-all.c`) aren't shipped since -33 (homescoop#950).
|
|
49
|
+
- **`sigsetjmp`/`siglongjmp` work** in the EH trees, including out of a signal handler. The saved mask comes back with savemask 1. Up to -35, every `siglongjmp` ended the program (homescoop#1059).
|
|
50
|
+
|
|
51
|
+
Since 2025.9.30-35: **`sa_mask` and `SA_NODEFER` work** (slicc-kernel#975). While a handler runs, its `sa_mask` and, unless `SA_NODEFER`, its own signal are blocked, and the thread's mask comes back when it returns. libc swaps the mask through `slicc.sigmask_set` (slicc-kernel ≥ 1.93.0). Up to -34 handlers ran with the mask unchanged.
|
|
52
|
+
|
|
44
53
|
Since 2025.9.30-34 (slicc-kernel ≥ 1.120.0 for all of it; older kernels keep -33's behaviour):
|
|
45
54
|
|
|
46
55
|
- **The sender in `siginfo_t`.** `sigwaitinfo`/`sigtimedwait` fill `si_code`, `si_pid` and `si_uid` (and `si_status` for SIGCHLD) through `slicc.sigwait_info` (slicc-kernel#911, 1.114.0, homescoop#770). A `kill()` is SI_USER with the sender's pid and uid, `pthread_kill` SI_TKILL, a child's exit CLD_EXITED with its status. Up to -33 it was always SI_USER with pid and uid 0.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/wasix-sysroot",
|
|
3
|
-
"version": "2025.9.30-
|
|
4
|
-
"description": "WASIX sysroots: st_uid/st_gid, chown and access() through slicc-kernel file owners (getuid()/getgid() on older kernels), file modes via slicc_fs, F_SETFD CLOEXEC fix, select exceptfds, physical chdir, POSIX TZ, socketpair flags, sigaction_set, alarm/setitimer/getitimer, EINTR sleeps, raise/pthread_kill, process credentials from slicc-kernel (no fixed uid 1000), per-fd termios/winsize from slicc-kernel (Linux and WASIX ioctl numbers), fork in the PIC variants, signal masks, poll/ppoll with events 0, epoll_ctl with Linux op numbers, named semaphores through slicc-kernel, wasip1,
|
|
3
|
+
"version": "2025.9.30-36",
|
|
4
|
+
"description": "WASIX sysroots: st_uid/st_gid, chown and access() through slicc-kernel file owners (getuid()/getgid() on older kernels), file modes via slicc_fs, F_SETFD CLOEXEC fix, select exceptfds, physical chdir, POSIX TZ, socketpair flags, sigaction_set, alarm/setitimer/getitimer, EINTR sleeps, raise/pthread_kill, process credentials from slicc-kernel (no fixed uid 1000), per-fd termios/winsize from slicc-kernel (Linux and WASIX ioctl numbers), fork in the PIC variants, signal masks, poll/ppoll with events 0, epoll_ctl with Linux op numbers, named semaphores through slicc-kernel, flock, mkfifo, sa_mask, wasip1; libc++/libc++abi/libunwind from LLVM 20.1 (legacy EH in sysroot-eh/ehpic, exnref in sysroot-exnref-*)",
|
|
5
5
|
"license": "Apache-2.0 WITH LLVM-exception",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -50,6 +50,10 @@ _Noreturn void _longjmp (jmp_buf, int);
|
|
|
50
50
|
typedef jmp_buf sigjmp_buf;
|
|
51
51
|
int sigsetjmp(sigjmp_buf, int) __setjmp_attr;
|
|
52
52
|
_Noreturn void siglongjmp(sigjmp_buf, int);
|
|
53
|
+
/* homescoop (#1059): LLVM's wasm sjlj lowering rewrites only setjmp call
|
|
54
|
+
* sites, so sigsetjmp records the mask and then is setjmp at the call site. */
|
|
55
|
+
int __homescoop_sigsetjmp_save(sigjmp_buf, int);
|
|
56
|
+
#define sigsetjmp(env, save) (__homescoop_sigsetjmp_save((env), (save)) + setjmp(env))
|
|
53
57
|
#endif
|
|
54
58
|
|
|
55
59
|
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -50,6 +50,10 @@ _Noreturn void _longjmp (jmp_buf, int);
|
|
|
50
50
|
typedef jmp_buf sigjmp_buf;
|
|
51
51
|
int sigsetjmp(sigjmp_buf, int) __setjmp_attr;
|
|
52
52
|
_Noreturn void siglongjmp(sigjmp_buf, int);
|
|
53
|
+
/* homescoop (#1059): LLVM's wasm sjlj lowering rewrites only setjmp call
|
|
54
|
+
* sites, so sigsetjmp records the mask and then is setjmp at the call site. */
|
|
55
|
+
int __homescoop_sigsetjmp_save(sigjmp_buf, int);
|
|
56
|
+
#define sigsetjmp(env, save) (__homescoop_sigsetjmp_save((env), (save)) + setjmp(env))
|
|
53
57
|
#endif
|
|
54
58
|
|
|
55
59
|
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -50,6 +50,10 @@ _Noreturn void _longjmp (jmp_buf, int);
|
|
|
50
50
|
typedef jmp_buf sigjmp_buf;
|
|
51
51
|
int sigsetjmp(sigjmp_buf, int) __setjmp_attr;
|
|
52
52
|
_Noreturn void siglongjmp(sigjmp_buf, int);
|
|
53
|
+
/* homescoop (#1059): LLVM's wasm sjlj lowering rewrites only setjmp call
|
|
54
|
+
* sites, so sigsetjmp records the mask and then is setjmp at the call site. */
|
|
55
|
+
int __homescoop_sigsetjmp_save(sigjmp_buf, int);
|
|
56
|
+
#define sigsetjmp(env, save) (__homescoop_sigsetjmp_save((env), (save)) + setjmp(env))
|
|
53
57
|
#endif
|
|
54
58
|
|
|
55
59
|
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -50,6 +50,10 @@ _Noreturn void _longjmp (jmp_buf, int);
|
|
|
50
50
|
typedef jmp_buf sigjmp_buf;
|
|
51
51
|
int sigsetjmp(sigjmp_buf, int) __setjmp_attr;
|
|
52
52
|
_Noreturn void siglongjmp(sigjmp_buf, int);
|
|
53
|
+
/* homescoop (#1059): LLVM's wasm sjlj lowering rewrites only setjmp call
|
|
54
|
+
* sites, so sigsetjmp records the mask and then is setjmp at the call site. */
|
|
55
|
+
int __homescoop_sigsetjmp_save(sigjmp_buf, int);
|
|
56
|
+
#define sigsetjmp(env, save) (__homescoop_sigsetjmp_save((env), (save)) + setjmp(env))
|
|
53
57
|
#endif
|
|
54
58
|
|
|
55
59
|
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|