Skip to content

Add stub for pause() syscall in standalone mode#27038

Merged
sbc100 merged 2 commits into
emscripten-core:mainfrom
kleisauke:issue-27036
Jun 1, 2026
Merged

Add stub for pause() syscall in standalone mode#27038
sbc100 merged 2 commits into
emscripten-core:mainfrom
kleisauke:issue-27036

Conversation

@kleisauke
Copy link
Copy Markdown
Collaborator

Fixes: #27036.

This is an automatic change generated by tools/maint/rebaseline_tests.py.

The following (3) test expectation files were updated by
running the tests with `--rebaseline`:

```
codesize/test_codesize_mem_O3_grow_standalone.json: 9768 => 9768 [+0 bytes / +0.00%]
codesize/test_codesize_mem_O3_standalone.json: 9625 => 9625 [+0 bytes / +0.00%]
codesize/test_codesize_mem_O3_standalone_narg.json: 8949 => 8949 [+0 bytes / +0.00%]

Average change: +0.00% (+0.00% - +0.00%)
```
@sbc100 sbc100 merged commit 580e462 into emscripten-core:main Jun 1, 2026
39 checks passed
@kleisauke kleisauke deleted the issue-27036 branch June 1, 2026 17:20
@sbc100 sbc100 mentioned this pull request Jun 1, 2026
sbc100 added a commit that referenced this pull request Jun 2, 2026
We don't support this syscall and musl already has a fall back based on
`poll`/`ppoll`.

Note that the return value for `pause()` now changes to zero (from
ENOSYS), because it is now based in `poll` internally and currently our
`__syscall_poll` implementation returns zero when it would otherwise
need to block. I have another change out the potentially change that
(#27049) but we can consider that separately to this change.

See #27036 and #27038
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

strict.test_atexit_standalone regression: "undefined symbol: __syscall_pause"

2 participants