@ai-ecoverse/wasix-sysroot 2025.9.30-35 → 2025.9.30-37
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 +12 -0
- package/package.json +2 -2
- package/sysroot/include/__mode_t.h +9 -9
- 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/lib/wasm32-wasip1/libc.a +0 -0
- package/sysroot-eh/include/__mode_t.h +9 -9
- 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-eh/lib/wasm32-wasip1/libc.a +0 -0
- package/sysroot-ehpic/include/__mode_t.h +9 -9
- 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-ehpic/lib/wasm32-wasip1/libc.a +0 -0
- package/sysroot-exnref-eh/include/__mode_t.h +9 -9
- 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-eh/lib/wasm32-wasip1/libc.a +0 -0
- package/sysroot-exnref-ehpic/include/__mode_t.h +9 -9
- 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/sysroot-exnref-ehpic/lib/wasm32-wasip1/libc.a +0 -0
package/README.md
CHANGED
|
@@ -41,6 +41,18 @@ 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-37:
|
|
45
|
+
- **`S_IF*` file-type bits are Linux's:** `S_IFMT` 0170000, `S_IFIFO` 0010000, `S_IFSOCK` 0140000. wasi-libc had 0160000, 0140000 and 0160000 (homescoop#1015).
|
|
46
|
+
- **Compatibility:** programs and side modules built on -36 or older keep the old values until they're rebuilt. Rebuild everything that compares `st_mode` together.
|
|
47
|
+
- **Device nodes:** `/dev/null`, `/dev/zero` and the kernel's other device nodes `stat` as 0666, not as type bits alone (homescoop#1112).
|
|
48
|
+
|
|
49
|
+
Since 2025.9.30-36:
|
|
50
|
+
- **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).
|
|
51
|
+
- **`gethostname()`/`uname()`** give the kernel's node name (`HOSTNAME`, `slicc` by default), not `wasmer.sh` (homescoop#1050).
|
|
52
|
+
- **`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).
|
|
53
|
+
- **`share/wasm32-wasi/`:** wasi-libc's ABI check files (`*-symbols.txt`, `predefined-macros.txt`, `include-all.c`) aren't shipped since -33 (homescoop#950).
|
|
54
|
+
- **`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).
|
|
55
|
+
|
|
44
56
|
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.
|
|
45
57
|
|
|
46
58
|
Since 2025.9.30-34 (slicc-kernel ≥ 1.120.0 for all of it; older kernels keep -33's behaviour):
|
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-37",
|
|
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, Linux S_IF* bits, 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",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#ifndef __wasilibc___mode_t_h
|
|
2
2
|
#define __wasilibc___mode_t_h
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
#define S_IFBLK (
|
|
7
|
-
#define S_IFCHR (
|
|
8
|
-
#define S_IFDIR (
|
|
9
|
-
#define S_IFLNK (
|
|
10
|
-
#define S_IFREG (
|
|
11
|
-
#define S_IFSOCK (
|
|
12
|
-
#define S_IFIFO (
|
|
4
|
+
/* homescoop (wasix-sysroot -37): Linux's values (musl's sys/stat.h). */
|
|
5
|
+
#define S_IFMT (0170000)
|
|
6
|
+
#define S_IFBLK (0060000)
|
|
7
|
+
#define S_IFCHR (0020000)
|
|
8
|
+
#define S_IFDIR (0040000)
|
|
9
|
+
#define S_IFLNK (0120000)
|
|
10
|
+
#define S_IFREG (0100000)
|
|
11
|
+
#define S_IFSOCK (0140000)
|
|
12
|
+
#define S_IFIFO (0010000)
|
|
13
13
|
|
|
14
14
|
#define S_ISBLK(m) (((m)&S_IFMT) == S_IFBLK)
|
|
15
15
|
#define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#ifndef __wasilibc___mode_t_h
|
|
2
2
|
#define __wasilibc___mode_t_h
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
#define S_IFBLK (
|
|
7
|
-
#define S_IFCHR (
|
|
8
|
-
#define S_IFDIR (
|
|
9
|
-
#define S_IFLNK (
|
|
10
|
-
#define S_IFREG (
|
|
11
|
-
#define S_IFSOCK (
|
|
12
|
-
#define S_IFIFO (
|
|
4
|
+
/* homescoop (wasix-sysroot -37): Linux's values (musl's sys/stat.h). */
|
|
5
|
+
#define S_IFMT (0170000)
|
|
6
|
+
#define S_IFBLK (0060000)
|
|
7
|
+
#define S_IFCHR (0020000)
|
|
8
|
+
#define S_IFDIR (0040000)
|
|
9
|
+
#define S_IFLNK (0120000)
|
|
10
|
+
#define S_IFREG (0100000)
|
|
11
|
+
#define S_IFSOCK (0140000)
|
|
12
|
+
#define S_IFIFO (0010000)
|
|
13
13
|
|
|
14
14
|
#define S_ISBLK(m) (((m)&S_IFMT) == S_IFBLK)
|
|
15
15
|
#define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR)
|
|
@@ -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
|
|
Binary file
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#ifndef __wasilibc___mode_t_h
|
|
2
2
|
#define __wasilibc___mode_t_h
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
#define S_IFBLK (
|
|
7
|
-
#define S_IFCHR (
|
|
8
|
-
#define S_IFDIR (
|
|
9
|
-
#define S_IFLNK (
|
|
10
|
-
#define S_IFREG (
|
|
11
|
-
#define S_IFSOCK (
|
|
12
|
-
#define S_IFIFO (
|
|
4
|
+
/* homescoop (wasix-sysroot -37): Linux's values (musl's sys/stat.h). */
|
|
5
|
+
#define S_IFMT (0170000)
|
|
6
|
+
#define S_IFBLK (0060000)
|
|
7
|
+
#define S_IFCHR (0020000)
|
|
8
|
+
#define S_IFDIR (0040000)
|
|
9
|
+
#define S_IFLNK (0120000)
|
|
10
|
+
#define S_IFREG (0100000)
|
|
11
|
+
#define S_IFSOCK (0140000)
|
|
12
|
+
#define S_IFIFO (0010000)
|
|
13
13
|
|
|
14
14
|
#define S_ISBLK(m) (((m)&S_IFMT) == S_IFBLK)
|
|
15
15
|
#define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR)
|
|
@@ -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
|
|
Binary file
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#ifndef __wasilibc___mode_t_h
|
|
2
2
|
#define __wasilibc___mode_t_h
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
#define S_IFBLK (
|
|
7
|
-
#define S_IFCHR (
|
|
8
|
-
#define S_IFDIR (
|
|
9
|
-
#define S_IFLNK (
|
|
10
|
-
#define S_IFREG (
|
|
11
|
-
#define S_IFSOCK (
|
|
12
|
-
#define S_IFIFO (
|
|
4
|
+
/* homescoop (wasix-sysroot -37): Linux's values (musl's sys/stat.h). */
|
|
5
|
+
#define S_IFMT (0170000)
|
|
6
|
+
#define S_IFBLK (0060000)
|
|
7
|
+
#define S_IFCHR (0020000)
|
|
8
|
+
#define S_IFDIR (0040000)
|
|
9
|
+
#define S_IFLNK (0120000)
|
|
10
|
+
#define S_IFREG (0100000)
|
|
11
|
+
#define S_IFSOCK (0140000)
|
|
12
|
+
#define S_IFIFO (0010000)
|
|
13
13
|
|
|
14
14
|
#define S_ISBLK(m) (((m)&S_IFMT) == S_IFBLK)
|
|
15
15
|
#define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR)
|
|
@@ -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
|
|
Binary file
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#ifndef __wasilibc___mode_t_h
|
|
2
2
|
#define __wasilibc___mode_t_h
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
#define S_IFBLK (
|
|
7
|
-
#define S_IFCHR (
|
|
8
|
-
#define S_IFDIR (
|
|
9
|
-
#define S_IFLNK (
|
|
10
|
-
#define S_IFREG (
|
|
11
|
-
#define S_IFSOCK (
|
|
12
|
-
#define S_IFIFO (
|
|
4
|
+
/* homescoop (wasix-sysroot -37): Linux's values (musl's sys/stat.h). */
|
|
5
|
+
#define S_IFMT (0170000)
|
|
6
|
+
#define S_IFBLK (0060000)
|
|
7
|
+
#define S_IFCHR (0020000)
|
|
8
|
+
#define S_IFDIR (0040000)
|
|
9
|
+
#define S_IFLNK (0120000)
|
|
10
|
+
#define S_IFREG (0100000)
|
|
11
|
+
#define S_IFSOCK (0140000)
|
|
12
|
+
#define S_IFIFO (0010000)
|
|
13
13
|
|
|
14
14
|
#define S_ISBLK(m) (((m)&S_IFMT) == S_IFBLK)
|
|
15
15
|
#define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR)
|
|
@@ -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
|
|
Binary file
|