Skip to content

Commit 28018bf

Browse files
authored
The FreeBSD rows on a Windows host: what was measured after the release (#950)
1 parent a128358 commit 28018bf

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

‎.agents/docs/2026-11-17-ninja-cascade-publish-supplement-design.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,15 @@ mcpp-platforms 的草稿 PR #2 在 macOS 与 Windows 宿主上各运行三行并
362362
v4 把 macOS 的 FreeBSD 记为"读到 Apple SDK 的头文件"、把 Windows 的 FreeBSD 记为符号链接,均与记录不符,以上表为准。
363363
修正经 mcpp#949 的 CI 与 xlings 的 Windows CI 验证后,mcpp-platforms 的 CI 加入 macOS 与 Windows 宿主。
364364

365+
发布后在 mcpp-platforms#3 的 CI 中测得(mcpp 2026.11.17.2,xlings 2026.11.17.2):
366+
367+
| 宿主 | NetBSD、OpenBSD | FreeBSD |
368+
|---|---|---|
369+
| macOS arm64 | 构建通过 | 构建通过 |
370+
| Windows x86_64 | 构建通过 | 编译通过,链接失败 |
371+
372+
Windows 上的 FreeBSD 行在以上两处修正之后停在第三处:FreeBSD 的 `crtend.o` 与 `libgcc.a` 带有 zlib 压缩的调试段,而 Windows 的 LLVM 包中的 lld 未带 zlib(`is compressed with ELFCOMPRESS_ZLIB, but lld is not built with zlib support`)。修正属于该 LLVM 包。e2e 1116 在 Windows 宿主上因 LLVM 能力不成立而跳过,所以 mcpp#949 的 CI 没有测到这一点;该两格不在 mcpp-platforms 的 Windows 构建矩阵中,文档按测得的结果陈述。
373+
365374
### 10.6 内容不变的重复运行仍在编译(2.4):命令行随根而变
366375

367376
真实工程(31 个成员的工作区)上以 ninja 的 explain 连续运行三遍,第三遍没有任何源文件变化,仍有 2779 条"command line

‎CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@
9797
'_CTYPE_BL'`), and `x86_64-freebsd` on Windows linked without its sysroot. A target that
9898
parses is ELF unless it says otherwise, and the macOS SDK is the sysroot of a Mach-O
9999
target only.
100+
Measured after the release in the CI of mcpp-platforms: the NetBSD and OpenBSD rows
101+
build on macOS and Windows hosts and the FreeBSD rows on macOS hosts. On a Windows host
102+
the FreeBSD rows compile and do not link: FreeBSD's `crtend.o` and `libgcc.a` hold
103+
zlib-compressed debug sections, and the lld of the Windows LLVM payload is built without
104+
zlib. e2e 1116 does not run on Windows hosts (its LLVM capability does not hold there),
105+
so this was not seen before the release.
100106
- Members of a workspace share a build directory, and a package's units had another
101107
command line under each member: the include directories of its dependencies came in
102108
the order the root's graph was walked, and its features' `-DMCPP_FEATURE_*` in the

0 commit comments

Comments
 (0)