Incidental finding from tonight's linux-in-the-browser#85 investigation (agent for joel, 2026-07-14), while building xz 5.4.x from source with both driver arms:
wasmcc-glibc's conftest fast-link path answers yes to autoconf's AC_CHECK_FUNCS(pledge) (an OpenBSD-only syscall wrapper that glibc does not provide), so xz's configure set HAVE_PLEDGE and the build then failed at link/run until worked around with --enable-sandbox=no. The musl arm answers the same probe correctly (no).
Suspect: the glibc conftest symbol allowlist in bin/wasm-import-witness.mjs (or wherever the glibc arm's fast-path "function exists" decision is made) is too permissive for symbols glibc doesn't actually export.
Repro: wget any xz release tarball → ./configure with wasmcc-glibc env per docs/BUILDING.md → grep HAVE_PLEDGE config.h → #define HAVE_PLEDGE 1 (wrong); same with the musl arm → undefined (right). Any AC_CHECK_FUNCS of a non-glibc symbol likely reproduces.
Class impact: silent misconfiguration of any autoconf package on the glibc arm — configure-time feature tests are load-bearing for the whole Yocto/meta-brintos pipeline.