Repository navigation
Conversation
added 12 commits
September 9, 2026 04:44
…ecompiling the corpus on every build The sequence in docs/wo_bundles.md, step 3: zlib converted. The bundle machinery is generalized over its slots (embedded_bundle_count, the per-bundle blob args, on-demand link selection), so zlib is a second wo_bundle_plan threaded through the same wiring as pcre2: - lib/std/zlib/bundle.w: the bundle root, one `use` per corpus module, sorted; example and minigzip (zlib's own test programs) are the harness, never the bundle. zlib-migrate now writes it from the migrated listing (zlib_bundle_root_text) and zlib-bundle-root-check refuses a promoted root that differs — exactly pcre2's contract. - build.w: the plan; the compat-runtime embed index names it; the bootstrap stage carries empty zlib blobs; stage1 builds the tree's zlib.wo (the zlib-wo-build/-install targets); stage2, stage3, both fixpoint objects and the release compiler take it through --link-bundle; the release binary embeds it; every cross compiler (linux x86_64/aarch64, windows x86_64/aarch64) builds and embeds its own target's zlib.wo — add_cross_rt_targets now takes both plans. - lib/std/zlib/ leaves the embedded-stdlib source inputs (as lib/std/re/ did): the corpus is provided by its .wo; the facade lib/std/zlib.w stays embedded and, as before, imports the modules directly — a registered interface resolves those imports against the .wi. - wo-drift gains zlib's root check and drift lane, with example.w as the harness (its one argument, the .gz scratch file, is spelled inside the drift dir so the harness never writes at the repository root). Nothing in src/ uses std.zlib and lib/std/build.w has its own native stored-gzip writer, so no comptime-evaluated code needs zlib bodies; the bundle serves user programs and the gzip helper tools (build-helper-programs links them against it). Build-layer only: the battery runs without the drop audits (CLAUDE.md, isolation rule).
…s keyed on the migrate workspace's prelude mode, never on the corpus name std.re A .wo corpus compiles --no-prelude (build/wo.w), so its shared defs must carry the prelude-only names the translation reaches for. Until now the migrator emitted them only when the shared-defs prefix started with std.re — the pcre2 zone by name — which is why pcre2's defs.w declared c_void and zlib's did not, and why the zlib bundle build failed with 232 unknown-type errors at lib/std/zl/defs.w. Now ci_migrate_output_is_prelude_free() decides: set by migrate_set_prelude_free, which the comptime migrate plan derives from the workspace's prelude_mode (previously hardcoded to Full for migrations) and the CLI sets on with migrate --no-prelude. build/pcre2.w's migrate workspaces set PreludeMode.None; a re-migration of pcre2 with this compiler reproduces lib/std/re byte for byte apart from #1102. ci_migrate_shared_defs_targets_regex_zone remains only for the unsafe-wrap drop that mirrors SemaCheck's lib/std/re zone.
…..) instead of refused §18.5c makes a .wi ordinary declaration syntax and Sema gives a body-less declaration the same variadic signature it gives the source, so a migrated C corpus keeps its C-shaped entries — zlib's gzprintf, which the corpus's own test program calls through the bundle in the wo-drift harness. The fingerprint row carries the ... marker. docs/wo_bundles.md moves variadic out of the refused list.
…ed prelude-free, and built as the second .wo bundle The corpus package std.zlib shared its dotted path with the facade lib/std/zlib.w. resolve_module_path_frontend resolves a dotted import's parent module as a fallback, so the --no-prelude bundle build pulled the facade in and failed inside it (std/zlib.w:139, std/result.w's traits). pcre2 never hit this because its corpus is std.re and its facade std.regex; zlib now follows: corpus std.zl (lib/std/zl/), facade std.zlib. build/wo.w refuses a corpus whose package name is also a module file, naming the collision. The corpus is re-migrated with the prelude-free migrator (defs.w gains c_void, abort and __ci_unreachable; three unreachable() sites become __ci_unreachable(); the rest is the migrator's drift since 5465144, see #1102) and excluded from the embedded stdlib in both lists (build.w target_with_embedded_stdlib_inputs and build/runtime.w's generator). The bundle root, root-check and drift lane are generated by build/zlib.w the way build/pcre2.w does for std.re. docs/handoff.md, docs/stdlib_sourcing_plan.md and docs/wo_bundles.md record the naming rule.
… collection order; interface globals bind per declaring module Two flat-namespace holes the zlib bundle exposed (D29-B pending): - collect_fn_decl let an interface declaration collected AFTER a source definition of the same name yield fn_decl_nodes (1c775d0) but not sig_lookup, which add_sig overwrote with the newest signature: the facade std.zlib's compress(data: &Vec[u8]) was checked against the corpus's C compress(dest: *mut u8, ...) — 'data' has type *mut u8 — and every caller of std.zlib.compress got an i32 back. The yielding declaration now restores the source's signature index; its own stays reachable through the visibility-gated text chain. - interface_global_index was keyed by symbol alone, so the first bundle to export a name owned it for every module: pcre2's UINT_MAX (std.re.defs) hid zlib's, and std.zlib, which imports only std.zl.defs, saw UINT_MAX as undefined. Every further declaring module now gets its own binding (interface_global_alt_*), and scope_lookup returns the one the current module imports. A consumer of std.zl.defs binds zlib's __with_mod_…__UINT_MAX (nm-verified), not pcre2's.
…eaches as internal copies; unions are predeclared like structs Two failures of the zlib drift harness (lib/std/zl/example.w built against the stored bundle): - 'unresolved type for field fc in struct ct_data_s': a .wi is canonical (alphabetical), so ct_data_s precedes the ct_data_s_fc / ct_data_s_dl unions it holds by value, and pass 0b laid the struct out before the union names existed. Pass 0a now predeclares a union's LLVM type exactly as it predeclares a struct's, so declaration order never matters (source order happened to be dependency order). - undefined __with_mod_<std.libc>__open/read/write/close/lseek: zlib's gz modules call std.libc's wrappers, which the bundle object referenced declared-only under module link names while a consumer compiles the stdlib whole-program under bare names — no link could ever meet. decl_path_is_bundle_carried: a bundle build defines the functions of a non-corpus module it reaches (and no other bundle provides) with internal linkage; globaldce drops the unreached ones, every bundle may carry its own copy, and a carried module's globals stay declared-only so state is never forked per bundle. The harness builds, links and runs (inflate, gzio through the bundled variadic gzprintf). docs/wo_bundles.md 'Object build' states the rule.
… is an internal stdlib module for the spec inventory ToolFs.resolve_path required a project-relative spelling, so run_build_helper_programs_action's failure path — reading the capture file bs_capture_path returns as an absolute path — died with 'ToolFs path escapes project root' instead of reporting the compile error. The path is normalized through project_relative_path first, as ProcessRunner already does; a path outside the root still escapes. spec-inventory-check lists std.zl beside std.re: a bundle corpus is implementation, the facade std.zlib is the spec'd module.
…t it, not only by corpus, target and ABI Battery #2 of the zlib bundle went red only in zlib-wo-drift: the harness linked the STORED object, built by battery #1's stage1 before the carried-copy rule (f6b82ba), and failed on the std.libc wrapper symbols the new codegen defines. The slot's key was sha256(corpus|target|abi) and none of the three had moved — the ABI identity fixes signatures, not what an object contains (D30: a compiler-generated object is a (compiler, target)-keyed cache). run_wo_bundle_build_action now hashes the tree's src/ the way it hashes the corpus (compiler_src_sha), folds it into the key, records it in the manifest as compiler-src-sha, and wo_slot_status treats a slot built by other compiler sources as missing. Exercised: the first :zlib-wo-build after the change reports the stale slot and rebuilds (22.8 s); the rebuilt object carries no module-link-named undefined symbols. docs/wo_bundles.md 'Key' states the rule.
…d bundle exposed, the measured per-consumer win, the landing order
…; Windows reports it unsupported PR #1103's Windows lanes failed at stage2's link: 'lld-link: undefined symbol: fcntl'. zlib's gz layer was migrated on macOS with O_NONBLOCK and O_CLOEXEC resolved, so gz_open calls fcntl unconditionally; the migrator routes fcntl through std.libc, where it was a bare variadic extern, and UCRT has no fcntl. In-unit the call was never reached (the compiler does not use the gz layer); the bundle object carries every corpus module, so every target that links it must resolve the symbol. std.libc.fcntl is now over with_libc_fcntl (rt_core), which forwards to rt_fcntl: darwin and linux call libc's fcntl through a variadic extern (on Apple arm64 the third argument travels on the stack, so a fixed prototype would miscall it); Windows returns -1, unsupported, which is what zlib's own Windows build compiles around. The bundle carries the wrapper as an internal copy (f6b82ba), so the object references with_libc_fcntl, provided by every target's runtime.
…bedded bundle link_stage_undefined_symbols_for_object returned '<probe-failed>' when nm/llvm-nm could not run, and link_stage_bundle_needed then linked every embedded bundle — correct, but silent: on Windows CI that is how stage2 came to carry zlib's object and fail on fcntl (#1103) with nothing in the log saying the probe never ran. A failed probe now prints a warning naming the object, the tool and its exit code.
… includes out/command; handoff records #1104 and the Windows fcntl fix #1103's linux x86_64 lane died in zlib-wo-drift with 'harness linked against the stored bundle failed with exit code 139' and nothing else: the harness's stderr sits in out/command/zlib-wo-drift and the seed that drives the battery predates the runner's stderr tail. The linux job gets the same Failure diagnostics step the macOS job got in 7910cf9, and both dump out/command captures. (Windows already uploads its captures as artifacts.) docs/handoff.md: the fcntl seam, the probe warning, and #1104 — va_list is an 8-byte pointer on every target, so a variadic definition corrupts its stack on SysV x86_64; an ABI batch of its own, landing between #1101 and #1103.
ehartford
pushed a commit
that referenced
this pull request
Sep 10, 2026
va_list was modeled as the migration host's shape — a pointer on Darwin. A variadic definition migrated on macOS (zlib's gzprintf, pcre2test's cfprintf) got `var va: *mut i8`, so llvm.va_start wrote into an 8-byte slot; on SysV x86_64 the __va_list_tag is 24 bytes and vsnprintf wants a pointer to it, so the drift harness crashed with a corrupted stack (exit 139, #1103's linux lane). Only variadic definitions that read varargs are affected; calls and externs already work. c_va_list (TypeKind.TY_VA_LIST) is Copy, sized by TypeLayout per target — 8 bytes (pointer) on Darwin/Windows, 24 on SysV x86_64, 32 on AAPCS64 Linux — and lowered to a pointer or a byte buffer in codegen. On Linux a c_va_list parameter uses the share-place ABI (a pointer to the caller's list, C's array decay): Sema.sig_param_is_c_va_list_by_place sets value_ref_abi, the extern prologue declares the param as ptr, and the call site passes the address. Verified from the IR: vsnprintf takes ptr, the call passes the 24-byte alloca's address on linux_x86_64 and the loaded char* by value on darwin. The migrator emits c_va_list for C's va_list: translate_type_recursive (ClangBridge) checks the pre-canonical spelling so a macOS `char *` va_list is caught before it decays, the structural path returns c_va_list, and std.libc's vsnprintf/vfprintf/vprintf take c_va_list. A corpus migrated on one host now runs its variadic definitions on the others. Corpora re-promoted in this batch; docs/with-abi.sha256 re-recorded because TypeLayout.w changed.
ehartford
pushed a commit
that referenced
this pull request
Sep 10, 2026
va_list was modeled as the migration host's shape — a pointer on Darwin. A variadic definition migrated on macOS (zlib's gzprintf, pcre2test's cfprintf) got `var va: *mut i8`, so llvm.va_start wrote into an 8-byte slot; on SysV x86_64 the __va_list_tag is 24 bytes and vsnprintf wants a pointer to it, so the drift harness crashed with a corrupted stack (exit 139, #1103's linux lane). Only variadic definitions that read varargs are affected; calls and externs already work. c_va_list (TypeKind.TY_VA_LIST) is Copy, sized by TypeLayout per target — 8 bytes (pointer) on Darwin/Windows, 24 on SysV x86_64, 32 on AAPCS64 Linux — and lowered to a pointer or a byte buffer in codegen. On Linux a c_va_list parameter uses the share-place ABI (a pointer to the caller's list, C's array decay): Sema.sig_param_is_c_va_list_by_place sets value_ref_abi, the extern prologue declares the param as ptr, and the call site passes the address. Verified from the IR: vsnprintf takes ptr, the call passes the 24-byte alloca's address on linux_x86_64 and the loaded char* by value on darwin. The migrator emits c_va_list for C's va_list: translate_type_recursive (ClangBridge) checks the pre-canonical spelling so a macOS `char *` va_list is caught before it decays, the structural path returns c_va_list, and std.libc's vsnprintf/vfprintf/vprintf take c_va_list. A corpus migrated on one host now runs its variadic definitions on the others. Corpora re-promoted in this batch; docs/with-abi.sha256 re-recorded because TypeLayout.w changed.
ehartford
pushed a commit
that referenced
this pull request
Sep 10, 2026
va_list was modeled as the migration host's shape — a pointer on Darwin. A variadic definition migrated on macOS (zlib's gzprintf, pcre2test's cfprintf) got `var va: *mut i8`, so llvm.va_start wrote into an 8-byte slot; on SysV x86_64 the __va_list_tag is 24 bytes and vsnprintf wants a pointer to it, so the drift harness crashed with a corrupted stack (exit 139, #1103's linux lane). Only variadic definitions that read varargs are affected; calls and externs already work. c_va_list (TypeKind.TY_VA_LIST) is Copy, sized by TypeLayout per target — 8 bytes (pointer) on Darwin/Windows, 24 on SysV x86_64, 32 on AAPCS64 Linux — and lowered to a pointer or a byte buffer in codegen. On Linux a c_va_list parameter uses the share-place ABI (a pointer to the caller's list, C's array decay): Sema.sig_param_is_c_va_list_by_place sets value_ref_abi, the extern prologue declares the param as ptr, and the call site passes the address. Verified from the IR: vsnprintf takes ptr, the call passes the 24-byte alloca's address on linux_x86_64 and the loaded char* by value on darwin. The migrator emits c_va_list for C's va_list: translate_type_recursive (ClangBridge) checks the pre-canonical spelling so a macOS `char *` va_list is caught before it decays, the structural path returns c_va_list, and std.libc's vsnprintf/vfprintf/vprintf take c_va_list. A corpus migrated on one host now runs its variadic definitions on the others. Corpora re-promoted in this batch; docs/with-abi.sha256 re-recorded because TypeLayout.w changed.
ehartford
pushed a commit
that referenced
this pull request
Sep 11, 2026
va_list was modeled as the migration host's shape — a pointer on Darwin. A variadic definition migrated on macOS (zlib's gzprintf, pcre2test's cfprintf) got `var va: *mut i8`, so llvm.va_start wrote into an 8-byte slot; on SysV x86_64 the __va_list_tag is 24 bytes and vsnprintf wants a pointer to it, so the drift harness crashed with a corrupted stack (exit 139, #1103's linux lane). Only variadic definitions that read varargs are affected; calls and externs already work. c_va_list (TypeKind.TY_VA_LIST) is Copy, sized by TypeLayout per target — 8 bytes (pointer) on Darwin/Windows, 24 on SysV x86_64, 32 on AAPCS64 Linux — and lowered to a pointer or a byte buffer in codegen. On Linux a c_va_list parameter uses the share-place ABI (a pointer to the caller's list, C's array decay): Sema.sig_param_is_c_va_list_by_place sets value_ref_abi, the extern prologue declares the param as ptr, and the call site passes the address. Verified from the IR: vsnprintf takes ptr, the call passes the 24-byte alloca's address on linux_x86_64 and the loaded char* by value on darwin. The migrator emits c_va_list for C's va_list: translate_type_recursive (ClangBridge) checks the pre-canonical spelling so a macOS `char *` va_list is caught before it decays, the structural path returns c_va_list, and std.libc's vsnprintf/vfprintf/vprintf take c_va_list. A corpus migrated on one host now runs its variadic definitions on the others. Corpora re-promoted in this batch; docs/with-abi.sha256 re-recorded because TypeLayout.w changed.
ehartford
pushed a commit
that referenced
this pull request
Sep 11, 2026
va_list was modeled as the migration host's shape — a pointer on Darwin. A variadic definition migrated on macOS (zlib's gzprintf, pcre2test's cfprintf) got `var va: *mut i8`, so llvm.va_start wrote into an 8-byte slot; on SysV x86_64 the __va_list_tag is 24 bytes and vsnprintf wants a pointer to it, so the drift harness crashed with a corrupted stack (exit 139, #1103's linux lane). Only variadic definitions that read varargs are affected; calls and externs already work. c_va_list (TypeKind.TY_VA_LIST) is Copy, sized by TypeLayout per target — 8 bytes (pointer) on Darwin/Windows, 24 on SysV x86_64, 32 on AAPCS64 Linux — and lowered to a pointer or a byte buffer in codegen. On Linux a c_va_list parameter uses the share-place ABI (a pointer to the caller's list, C's array decay): Sema.sig_param_is_c_va_list_by_place sets value_ref_abi, the extern prologue declares the param as ptr, and the call site passes the address. Verified from the IR: vsnprintf takes ptr, the call passes the 24-byte alloca's address on linux_x86_64 and the loaded char* by value on darwin. The migrator emits c_va_list for C's va_list: translate_type_recursive (ClangBridge) checks the pre-canonical spelling so a macOS `char *` va_list is caught before it decays, the structural path returns c_va_list, and std.libc's vsnprintf/vfprintf/vprintf take c_va_list. A corpus migrated on one host now runs its variadic definitions on the others. Corpora re-promoted in this batch; docs/with-abi.sha256 re-recorded because TypeLayout.w changed.
ehartford
pushed a commit
that referenced
this pull request
Sep 11, 2026
va_list was modeled as the migration host's shape — a pointer on Darwin. A variadic definition migrated on macOS (zlib's gzprintf, pcre2test's cfprintf) got `var va: *mut i8`, so llvm.va_start wrote into an 8-byte slot; on SysV x86_64 the __va_list_tag is 24 bytes and vsnprintf wants a pointer to it, so the drift harness crashed with a corrupted stack (exit 139, #1103's linux lane). Only variadic definitions that read varargs are affected; calls and externs already work. c_va_list (TypeKind.TY_VA_LIST) is Copy, sized by TypeLayout per target — 8 bytes (pointer) on Darwin/Windows, 24 on SysV x86_64, 32 on AAPCS64 Linux — and lowered to a pointer or a byte buffer in codegen. On Linux a c_va_list parameter uses the share-place ABI (a pointer to the caller's list, C's array decay): Sema.sig_param_is_c_va_list_by_place sets value_ref_abi, the extern prologue declares the param as ptr, and the call site passes the address. Verified from the IR: vsnprintf takes ptr, the call passes the 24-byte alloca's address on linux_x86_64 and the loaded char* by value on darwin. The migrator emits c_va_list for C's va_list: translate_type_recursive (ClangBridge) checks the pre-canonical spelling so a macOS `char *` va_list is caught before it decays, the structural path returns c_va_list, and std.libc's vsnprintf/vfprintf/vprintf take c_va_list. A corpus migrated on one host now runs its variadic definitions on the others. Corpora re-promoted in this batch; docs/with-abi.sha256 re-recorded because TypeLayout.w changed.
ehartford
pushed a commit
that referenced
this pull request
Sep 11, 2026
va_list was modeled as the migration host's shape — a pointer on Darwin. A variadic definition migrated on macOS (zlib's gzprintf, pcre2test's cfprintf) got `var va: *mut i8`, so llvm.va_start wrote into an 8-byte slot; on SysV x86_64 the __va_list_tag is 24 bytes and vsnprintf wants a pointer to it, so the drift harness crashed with a corrupted stack (exit 139, #1103's linux lane). Only variadic definitions that read varargs are affected; calls and externs already work. c_va_list (TypeKind.TY_VA_LIST) is Copy, sized by TypeLayout per target — 8 bytes (pointer) on Darwin/Windows, 24 on SysV x86_64, 32 on AAPCS64 Linux — and lowered to a pointer or a byte buffer in codegen. On Linux a c_va_list parameter uses the share-place ABI (a pointer to the caller's list, C's array decay): Sema.sig_param_is_c_va_list_by_place sets value_ref_abi, the extern prologue declares the param as ptr, and the call site passes the address. Verified from the IR: vsnprintf takes ptr, the call passes the 24-byte alloca's address on linux_x86_64 and the loaded char* by value on darwin. The migrator emits c_va_list for C's va_list: translate_type_recursive (ClangBridge) checks the pre-canonical spelling so a macOS `char *` va_list is caught before it decays, the structural path returns c_va_list, and std.libc's vsnprintf/vfprintf/vprintf take c_va_list. A corpus migrated on one host now runs its variadic definitions on the others. Corpora re-promoted in this batch; docs/with-abi.sha256 re-recorded because TypeLayout.w changed.
added 4 commits
September 12, 2026 00:57
The native runner precreates the output stamp parent. LLDB at run_zlib_reference_action+728 (0x100082020) observed is_dir=true skip extraction and stamp an empty tree. Check all required inputs, invalidate stale readiness, and validate extraction before replacing partial output. Cold and stale-stamp partial-tree recovery both pass.
LLDB observed OP_LT with two CV_STR operands branch from eval_binary_compare+268 to the rejection block; the evaluator handled only equality. Exercise all six relations over empty, prefix, NUL and UTF-8 strings. Evidence: docs/comptime-string-order-debug.md.
LLDB observes link_stage_resolve_runtime_root returning out/lib after cached cleanup; the static bridge lookup then fails. Reuse cleanup inside the stage1 action so later runtime generation cannot mask bootstrap-lib. See docs/bootstrap-link-root-debug.md. Fixes #1115.
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.
Consumers of
std.zlibcurrently recompile the migrated engine. This change builds zlib once as a.wobundle and embeds its object, declaration interface, and manifest alongside PCRE2. Consumers automatically link the engine they use; the publicstd.zlibfacade keeps its name.The corpus moves to
std.zl, avoiding the facade/package collision during prelude-free bundle compilation. The shared bundle path supports variadic declarations, target-dependentc_va_listinterface spelling, unions, functions carried from supporting With modules, and names shared by multiple bundles. Store validation includes the compiler source hash. A fresh zlib reference action validates every required migration input before stamping readiness.Integrated with main at
00a2fc9c, including the merged PCRE2 cold-stage embedding correction (#1101), SDK-macro hygiene (#1107), and target va_list ABI fixes (#1108). Stage2 and stage3 embed both completed bundles; stage1 alone retains empty bootstrap slots. The interface and reference follow-ups retain debugger evidence indocs/bundle-va-list-interface-debug.mdanddocs/zlib-reference-readiness-debug.md.Cold re-migration exposed missing compile-time string ordering in the shared evaluator; all four order operators now match native behavior, with relation-matrix coverage for equal, empty, prefix, NUL, and UTF-8 strings. A repeated stage1 build also exposed cached runtime cleanup being skipped after later targets repopulated
out/lib; each actual stage1 action now performs the existing cleanup. Debugger evidence is indocs/comptime-string-order-debug.mdanddocs/bootstrap-link-root-debug.md.Fixes #1114. Fixes #1115.
Validation at
cd2c617a:audit:all: 2,511,519 facts, zero violations.test-greenrecorded the run.diff -rq lib/std/zl out/zlib_migratedis empty, including the bundle root.v0.15.2.0builds stage1 of a newly copied tree (348.9 s).test-greenandlast-greenrecords are complete.Additional finding #1116 records source-only bootstrap visibility: a stage1 with empty bundle slots exposes transitive libc globals that a populated bundle interface hides. A minimal named Regex import with a local
stderrand relative-path stage1 compiler self-check fail; the populated stage2 accepts them. The issue includes the exact Sema branch and missing source-boundary metadata; no consumer renaming workaround was applied.Historical performance evidence (three interleaved A/B rounds): consumer compiler phases fell from approximately 800 ms to 160 ms; linking was unchanged. The compiler itself does not reach zlib, so its own build is not expected to improve.