You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
build :gate is red on Linux: pcre2/zlib/tommyds/c-algorithms drift checks fail against glibc headers #2060
On Linux x86_64 (eric-5090, glibc host headers via the pinned linux SDK), build :gate fails before its gate target: five drift checks are red. Reproduced identically on origin/wave-d65c 1089933 (a clean worktree, release built from that commit), so it does not come from any change on that stack.
zlib-drift-check, pcre2-drift-check, tommyds-drift-check: migrate exits 1. zlib's stderr: migrate: parse error: call to undeclared function 'fopen64'; ISO C99 and later do not support implicit function declarations / failed while scanning project for adler32.c. The migrator's C parse of the reference sources fails under glibc's headers (the _LARGEFILE64_SOURCE / fopen64 path).
c-algorithms-drift-check: the migrator succeeds, but 4 modules differ from the checked-in corpus (alloc_testing.w, defs.w, framework.w, test_cpp.w). Example: generated defs.w adds pub type __locale_data = opaque, a glibc-internal type the darwin-promoted corpus does not have.
corpus-drift-check: skipped, because it depends on pcre2-drift-check.
Expected: the drift checks pass on every host the gate runs on. Either the migrator's output is host-independent for these corpora, or the drift check compares against the corpus for the target it was promoted for. As it stands, :gate cannot be green on Linux, so agents told to build on Linux cannot run the gate there.
Repro: in a Linux worktree with the pinned SDK, run WITH=<driver> <driver> build :zlib-drift-check, then read out/tmp/action-scratch/zlib-drift-check/zlib-corpus.stderr.
Also on this host: the three test/behavior/behav_sqlite_facade_*.w tests fail at link on stage1 of wave-d65e 5ca27ec — ld.lld: error: undefined reference: dlclose@GLIBC_2.34 ... referenced by /usr/lib/x86_64-linux-gnu/libsqlite3.so (disallowed by --no-allow-shlib-undefined): the host's libsqlite3.so wants a newer glibc than the 2.28 sysroot. Compilation and the facade pass; only the link fails.
Verified on eric-5090 (Linux x86_64) at main 3f1aa3d, driven by the pinned seed: build :gate is all green in 776 s, including the four drift checks (pcre2-wo-drift, zlib-wo-drift, tommyds-wo-drift, c_algorithms-wo-drift) and corpus-drift-check. The C-model work merged in #2064.
Activity
#2060: c-migrator-basic-tests covers the C model
#2060: the C model names its macOS version; the frontend's Windows se…
ehartford commentedon Oct 3, 2026
Also on this host: the three test/behavior/behav_sqlite_facade_*.w tests fail at link on stage1 of wave-d65e 5ca27ec —
ld.lld: error: undefined reference: dlclose@GLIBC_2.34 ... referenced by /usr/lib/x86_64-linux-gnu/libsqlite3.so (disallowed by --no-allow-shlib-undefined): the host's libsqlite3.so wants a newer glibc than the 2.28 sysroot. Compilation and the facade pass; only the link fails.#2060: --c-target and --c-sysroot are build-driven migrate plumbing i…
D90: a migrated corpus names its libc constants; a constant and the f…
#2060: a corpus is migrated against one C model on every host (#2064)
std.libc has the libc constants a migrated corpus names; open and fcn…
ehartford commentedon Oct 5, 2026
Verified on eric-5090 (Linux x86_64) at main 3f1aa3d, driven by the pinned seed:
build :gateis all green in 776 s, including the four drift checks (pcre2-wo-drift, zlib-wo-drift, tommyds-wo-drift, c_algorithms-wo-drift) and corpus-drift-check. The C-model work merged in #2064.D90/D94: the migrator reads a macro's definition in effect; a libc na…