Skip to content

0.30.0: i686-svr4-musl, programs of UNIX System V Release 4 on i386 over openkal-svr4 0.1.0; openkal-musl 0.29.10 and openkal-llvm-runtime 0.20.4 - #36

Merged
Sunrisepeak merged 6 commits into
mainfrom
eco/0.30.0-svr4
Nov 18, 2026
Merged

Sunrisepeak merged 6 commits into
mainfrom
eco/0.30.0-svr4

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

The row

i686-svr4-musl: programs of the i386 kernel interface of UNIX System V Release 4 and its descendants (UnixWare, Solaris x86, OpenServer), on the family's C library and C++ run-time over openkal-svr4 0.1.0 (mcpplibs/openkal-svr4#1). A program is one static ELF32 executable that links nothing of a system and enters the kernel through the call gate.

  • The system is this platform's statement ([[platform.system]] name = "svr4"), and the implementation is the provider's kernel-abi layer. openkal-musl names no implementation for the system: it requires mcpp:kernel-abi=openkal and takes the one the graph provides. A further system of this kind is a statement here and no line in the C library.
  • Flags: the i386 conventions of the DOS row (-march=i486, emulated thread-local storage, unwind tables, the stack aligned to sixteen bytes). The allocator is musl's own.
  • No threads, no random source, no network, and no other program started (openkal-svr4 0.1 claims no openkal.process). Tier preview.

The runner

unshare -Ur {pkg:ibcs-us}/bin/ibcs-us {}, xim:ibcs-us@4.3-1 (openxlings/xim-pkgindex#1190), on Linux x86_64, enabled on request. It is an emulation of the interface, not a System V kernel: a run shows that the program issues the calls as the interface states them. No run on a System V kernel has been made.

The group

openkal-svr4 0.1.0 joins; openkal-musl 0.29.10 (mcpplibs/openkal-musl#100) and openkal-llvm-runtime 0.20.4 (mcpplibs/openkal-llvm-runtime#75), in which a system they do not know takes the general selections where the selections named systems. The rows served before select what they selected. The three members are in the index (mcpplibs/mcpp-index#825).

Requires mcpp 2026.11.17.1, from which a platform package states a system; CI moves to mcpp 2026.11.18.1. A minor version: a row, a member and the engine floor.

Checked

checks/svr4 and the job svr4: a C++23 program with import std (arguments sorted, an exception across a frame, std::filesystem over a directory of 301 names listed in parts, the working directory's name) in both modes through mcpp run, then the same executable as Solaris and as OpenServer 5. Locally, with the members from the index and the published emulator package, it returned 7 with the expected output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant