@ai-ecoverse/wasix-sysroot 2025.9.30-40 → 2025.9.30-42
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 +4 -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/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/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/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/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,10 @@ 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-42: **`gethostname()` and `uname().nodename` read `/etc/hostname`** (homescoop#1462). They take its first line, trimmed of spaces, tabs and CR. If the file is missing, or that line is empty, 65 characters or longer, or contains a `/`, a space or a control character, they use `HOSTNAME`, and then `slicc`. A read error (EAGAIN from a FIFO, EIO) skips the file too. slicc-kernel ≥ 1.140.0 serves `/etc/hostname` with its node name (slicc-kernel#1297), and a root-written file wins over it. On older kernels the `HOSTNAME` the kernel sets is used, as since -36. errno is left as it was.
|
|
45
|
+
|
|
46
|
+
Since 2025.9.30-41: **relative paths go through the cwd descriptor** (homescoop#1305, slicc-kernel#1164). A relative path, and every `*at(AT_FDCWD, …)` call, is resolved by the host against fd 3 (the `.` preopen, which slicc-kernel keeps as the process's cwd), not joined to a cached cwd string and sent to the `/` preopen. In a cwd that was removed and replaced by a directory of the same name, relative lookups (`.` included) are ENOENT, as on Linux, instead of opening the replacement; `chdir(".")` is ENOENT and leaves the cwd where it is, and `chdir("..")` or `chdir("./..")` still works there, since a relative `chdir` that `realpath` can't resolve goes to the host's `chdir` as is. `getcwd` always asks the host; slicc-kernel answers ENOENT in a removed cwd for programs whose `slicc.libc` marker is `wasix-sysroot 2025.9.30-41` or later (slicc-kernel#1227). The removed-cwd behaviour needs slicc-kernel ≥ 1.135.6; on older kernels relative lookups there still reach the replacement. A host without a `.` preopen at fd 3 gets the old string join.
|
|
47
|
+
|
|
44
48
|
Since 2025.9.30-40:
|
|
45
49
|
- **malloc uses the initial memory** (homescoop#1287). wasix-libc had turned off dlmalloc's `try_init_allocator`, so the pages between `__heap_base` and the initial memory size went unused and every allocation grew the memory, however large `--initial-memory` was. It's back: a static program gets the pages up to wasm-ld's `__heap_end`, and a PIE dynamic main (python) the pages from the loader's `__heap_base` to the memory size at the first malloc. A program linked with `--initial-memory` that stays under it never calls `memory.grow`.
|
|
46
50
|
- **`sigsetjmp(env, save)` evaluates `env` once** in the EH trees (homescoop#1120), as glibc's does.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/wasix-sysroot",
|
|
3
|
-
"version": "2025.9.30-
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2025.9.30-42",
|
|
4
|
+
"description": "C and C++ system libraries for building WASIX programs that run on slicc.",
|
|
5
5
|
"license": "Apache-2.0 WITH LLVM-exception",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|