GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(pkg): mingw-w64-sysroot 20261104 and freebsd-sysroot 14.5 — target systems as mcpp base packages by Sunrisepeak · Pull Request #1132 · openxlings/xim-pkgindex

Conversation

@Sunrisepeak

@Sunrisepeak Sunrisepeak commented Nov 9, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Summary

Two target systems as base packages for mcpp (design 2026-11-10 E5, E9): each archive is target code (one archive for every host, one sha256 across linux/macosx/windows) and carries an mcpp.toml base statement — the layers it supplies and, per architecture, the directory that is the sysroot.

Package Version Source Contents Size
mingw-w64-sysroot 20261104 official llvm-mingw 20261104 release (UCRT; LLVM 23.1.5) MinGW-w64 headers and import libraries, libc++, libunwind, compiler-rt, libc++'s std module; x86_64 and aarch64 22 MB
freebsd-sysroot 14.5 official FreeBSD 14.5-RELEASE base.txz (amd64, arm64; digests match the release MANIFEST) usr/include, shared libraries, ld-elf.so.1, crt objects, static archives of libc / C++ run-time / compiler run-time; std module sources generated from the official libcxx 21.1.8 source release 40 MB

mingw-w64-sysroot is named with -sysroot because mingw-w64 is the winlibs toolchain on Windows hosts. Release storage: xlings-res/mingw-w64-sysroot, xlings-res/freebsd-sysroot on GitHub, mirrored to GitCode (both downloads verified byte-identical by sha256). The assembly scripts are in .agents/tools/ (build-mingw-w64-sysroot.py, build-freebsd-sysroot.py, libcxx-modules.py); each archive's PROVENANCE.md names the upstream archives and their sha256.

Consumers: mcpp's mingw-llvm provider (Windows GNU-ABI rows from every host, mcpp#913) names xim:mingw-w64-sysroot@20261104; a FreeBSD platform names xim:[email protected].

Test plan

  • Static and isolation tests of both packages (22 passed locally); install/verify tests run in CI (the local sandbox refuses xlings config --add-xpkg for every package).
  • mingw-w64-sysroot with clang 23.1.3: import std programs for x86_64 (runs under wine, static, UCRT imports only) and aarch64.
  • freebsd-sysroot with clang 23.1.3: import std + exceptions for amd64 and arm64, dynamic and static; the amd64 programs run in a FreeBSD 14.5 VM.
  • CI: run 42691990812 green — install (linux, macosx, windows) installs, checks and removes both packages; static/isolation, index-registration, scan, required.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Sunrisepeak
feat(pkg): mingw-w64-sysroot 20261104 and freebsd-sysroot 14.5 -- tar…
e937a76
…get systems as mcpp base packages

mingw-w64-sysroot is the target side of llvm-mingw 20261104 (MinGW-w64 on
UCRT, libc++, libunwind, compiler-rt, libc++'s std module) for x86_64 and
aarch64; freebsd-sysroot is FreeBSD 14.5-RELEASE's base system for compiling
and linking (amd64, arm64) with libc++ 21.1.8's std module sources generated
from the official libcxx source release. Each archive is target code, one for
every host, and carries an mcpp.toml base statement (mcpp design 2026-11-10
E5, E9). The assembly scripts are under .agents/tools.
@Sunrisepeak

Sunrisepeak commented Nov 9, 2026

Copy link
Copy Markdown
Member Author

Self-review before merge (spec / ecosystem / architecture / code quality):

  • Spec: both archives carry the E5 base statement exactly as mcpp reads it ([base] roots, include-dirs, libs, std-module, and compiler-runtime-dir for the MinGW base). The mcpp branch builds against the extracted archives: import std on x86_64/aarch64 Windows and FreeBSD, dynamic and static; FreeBSD programs run in a 14.5 VM, Windows ones under wine.
  • Ecosystem: the packages are target code. Each has one archive and one sha256 for every host, and an umbrella xvm node only, so no target header enters a subos sysroot. Release storage is xlings-res on GitHub plus a GitCode mirror verified byte-identical. The packages have no ci block because a version bump re-runs the assembly script.
  • Provenance: the upstream archives are official (llvm-mingw release; FreeBSD base.txz, whose digests equal the release MANIFEST; libcxx 21.1.8 source release). PROVENANCE.md in each archive names them with their sha256. The published archives name the scripts by their working names (mingw_w64_sysroot.py, freebsd_sysroot.py); the scripts' docstrings say so.
  • Code: install() asserts the files whose absence makes the base unusable, for both architectures. The tests assert one hash, no subos publication, and that [base] roots names directories holding the std module sources.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Sunrisepeak
Sunrisepeak merged commit f569b48 into main Nov 9, 2026
31 checks passed

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Nov 9, 2026
feat(pkg): base packages read as ordinary packages — x86_64/aarch64-freebsd-sysroot 14.5, mingw-w64-sysroot 20261104-1 #1133
Merged
2026.11.10.1: base packages, Windows GNU-ABI from every host, FreeBSD rows, foreign packing, test records for any framework; mcpp#911 N1–N8, #913, #902, #917 mcpp-community/mcpp#916
Merged
@speak-agent speak-agent mentioned this pull request Nov 10, 2026
[Feature] macOS → x86_64-windows-gnu:缺的是 Win32 系统侧,且引擎指的两条逃生口都不通 mcpp-community/mcpp#913
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@Sunrisepeak
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.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.