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
Commit 156fa61
Browse filesBrowse the repository at this point in the historyBrowse files
The FreeBSD rows build on a Windows host: sysroot revision 2, mcpp 2026.11.18.1 (#4)
The two Windows cells of the FreeBSD rows return to the matrix. Five defects kept a host from building a row; the Hosts section states each and where it was corrected (mcpp 2026.11.17.2 and 2026.11.18.1, xlings 2026.11.17.1, the FreeBSD sysroot packages' revision 2, the index entry's hosts).
Copy file name to clipboardExpand all lines: docs/adding-a-system.md
+12-18Lines changed: 12 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,31 +25,25 @@ links with, or clang's Solaris driver gives lld the GNU options.
25
25
26
26
## Hosts
27
27
28
-
The rows build on the hosts mcpp runs on, each checked by this repository's CI:
28
+
The rows build on every host mcpp runs on, each checked by this repository's
29
+
CI: Linux x86_64 and aarch64, macOS arm64 and Windows x86_64. The row, not the
30
+
host, decides a cross build: the artifact is an ELF executable of the row's
31
+
system, and the sysroot package is the only source of headers, crt objects and
32
+
libraries.
29
33
30
-
| Host | NetBSD, OpenBSD | FreeBSD |
31
-
|---|---|---|
32
-
| Linux x86_64, aarch64 | built | built |
33
-
| macOS arm64 | built | built |
34
-
| Windows x86_64 | built | not linked |
35
-
36
-
The row, not the host, decides a cross build: the artifact is an ELF executable
37
-
of the row's system, and the sysroot package is the only source of headers, crt
38
-
objects and libraries. This holds from mcpp 2026.11.17.2 and xlings
39
-
2026.11.17.1. Measured in the CI of 0.1.0 with mcpp 2026.11.17.1, two defects
40
-
let the host's conventions reach the row, and both are corrected there:
34
+
Measured in the CI of 0.1.0, five defects kept a host from building a row; each
35
+
is corrected where it was:
41
36
42
37
| Defect | Seen as | Corrected in |
43
38
|---|---|---|
44
39
| The object format of a row with no format word in its triple was taken from the host | macOS: the Apple SDK's headers in the std module's compile, the Mach-O linker given ELF options; Windows: the link line without the row's sysroot | mcpp 2026.11.17.2 |
45
40
| A link to a directory extracted on Windows was a file link | Windows: the sysroot's headers not opened (`sys/cdefs.h`) | xlings 2026.11.17.1 |
41
+
| FreeBSD's crt objects and static archives hold zlib-compressed debug sections, and the lld of the Windows LLVM payload is built without zlib | Windows: the FreeBSD rows compiled and did not link (`is compressed with ELFCOMPRESS_ZLIB, but lld is not built with zlib support`) | the FreeBSD sysroot packages, 14.5 revision 2 (the sections decompressed, their contents unchanged) |
42
+
| A built-in row whose system had no naming branch in the engine was named by the host | Windows: the FreeBSD rows built `bin/hello.exe` and archives `.lib`, where this package's NetBSD and OpenBSD rows, whose facts are data, were named correctly | mcpp 2026.11.18.1 (a row's object format and suffixes are read from data: the row, its system, the format's convention) |
43
+
| The package's index entry listed Linux hosts only | macOS, Windows: a project naming `mcpp.platforms@0.1.0` from the index could not install it (`has no build for windows`) | mcpp-index (the entry lists every host) |
46
44
47
-
One case remains. On a Windows host the FreeBSD rows compile and do not link:
48
-
FreeBSD's `crtend.o` and `libgcc.a` hold debug sections compressed with zlib,
49
-
and the lld of the Windows LLVM payload is built without zlib (`ld.lld: error:
50
-
... is compressed with ELFCOMPRESS_ZLIB, but lld is not built with zlib
51
-
support`). The correction belongs to that payload; until then those two rows
52
-
are not in the Windows build matrix.
45
+
A base whose link inputs a linker cannot read is the base's to correct: a
46
+
sysroot package states in its `PROVENANCE.md` what it changed of the release.
53
47
54
48
A row runs where its runner does: the disk images boot under QEMU on Linux
0 commit comments