[PHP] fix: split ABI syscall and residual runtime fixes#758
Open
brandonpayton wants to merge 8 commits into
Open
Conversation
Phase B-1 matrix build status —
|
| Package | Arch | Status | Sha |
|---|---|---|---|
| libcurl | wasm32 | built | 7681d83e |
| libcxx | wasm32 | built | bc611e79 |
| libcxx | wasm64 | built | 13b44e91 |
| libiconv | wasm32 | built | 7ab27539 |
| libiconv | wasm64 | built | e93ae499 |
| libpng | wasm32 | built | 6bc920a8 |
| libxml2 | wasm32 | built | d4c9058c |
| libxml2 | wasm64 | built | 5a1d8232 |
| openssl | wasm32 | built | aa079458 |
| openssl | wasm64 | built | 854d0c55 |
| sqlite | wasm32 | built | 3454b49c |
| sqlite | wasm64 | built | 8f9815d6 |
| zlib | wasm32 | built | 6d8fb690 |
| zlib | wasm64 | built | f16d95d0 |
| bc | wasm32 | built | 8b0c1643 |
| bzip2 | wasm32 | built | 1f6e2077 |
| coreutils | wasm32 | built | 54a37d22 |
| curl | wasm32 | built | 98ea65cc |
| dash | wasm32 | built | 74c03877 |
| diffutils | wasm32 | built | cb1a04a2 |
| dinit | wasm32 | built | 57c118a9 |
| fbdoom | wasm32 | built | f4de8ba7 |
| file | wasm32 | built | 0e4aa41d |
| findutils | wasm32 | built | 3cb34c0f |
| gawk | wasm32 | built | bf2b2063 |
| git | wasm32 | built | 715a3eb4 |
| grep | wasm32 | built | d827f874 |
| gzip | wasm32 | built | fe69834f |
| kandelo-sdk | wasm32 | built | c1611bea |
| kernel | wasm32 | failed | — |
| less | wasm32 | built | 726316e9 |
| lsof | wasm32 | built | e2e3144f |
| m4 | wasm32 | built | ca8b04d0 |
| make | wasm32 | built | 16d8c49e |
| mariadb | wasm32 | built | 97f87d99 |
| mariadb | wasm64 | built | 866f7f94 |
| modeset | wasm32 | built | da0bbc75 |
| msmtpd | wasm32 | built | 4a1fcf42 |
| nano | wasm32 | built | 8eb8257d |
| ncurses | wasm32 | built | 612fd198 |
| netcat | wasm32 | built | cb77d79c |
| nginx | wasm32 | built | 2ea21097 |
| php | wasm32 | built | 2613d1bf |
| posix-utils-lite | wasm32 | built | 05879c12 |
| sed | wasm32 | built | 6bcfa662 |
| spidermonkey | wasm32 | built | 606e8208 |
| tar | wasm32 | built | c1c79aa1 |
| tcl | wasm32 | built | 4a89bd4e |
| unzip | wasm32 | built | 04614a87 |
| userspace | wasm32 | built | b01e7798 |
| vim | wasm32 | built | e84c337f |
| wget | wasm32 | built | 220ffc60 |
| xz | wasm32 | built | 000f3cb2 |
| zip | wasm32 | built | 8336e9dc |
| zstd | wasm32 | built | 455fb39e |
| bash | wasm32 | built | 7f2c434e |
| mariadb-test | wasm32 | built | 3606a24a |
| mariadb-vfs | wasm32 | built | a8127840 |
| mariadb-vfs | wasm64 | built | f6545787 |
| nethack | wasm32 | built | c149e580 |
| node | wasm32 | built | 41ad042f |
| spidermonkey-node | wasm32 | built | 4a07ed07 |
| vim-browser-bundle | wasm32 | built | 5147de2e |
| nethack-browser-bundle | wasm32 | built | 549dfd86 |
| rootfs | wasm32 | built | 73f5971f |
| shell | wasm32 | built | 855fd738 |
| node-vfs | wasm32 | built | ed0025a6 |
Auto-generated; replaced on each push. Raw data in the publish-status workflow artifact.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes fork-headed PR #739. This replacement keeps the same head commit (771abb8) but moves the PR head onto an Automattic/kandelo branch.
Why this is needed
The remaining PHP PHPT failures exposed lower-level ABI and syscall compatibility gaps: wasm32 syscall signatures, musl fallback signatures, route netlink loopback enumeration, invalid lseek offset preservation, interrupted select, the times syscall, and dev-shell linkage for bzip2.
Why this shape makes sense
This is the residual ABI and syscall layer after the more focused socket, process, and host/browser stacks. Keeping it stacked last isolates the compatibility tail without mixing it back into the harness PR.
Why this is the correct fix
Each change brings Kandelo syscall or build/runtime contracts closer to what compiled Unix userland expects. That is preferable to skipping PHP tests that reveal genuine platform differences.
Stack
Base: integration/kd-6nz-php-phpt-host-browser-base, after the host/browser/SharedFS replacement layer.
Verification
Branch-location correction only. Replacement head SHA matches fork-headed PR #739 exactly.