Repository navigation
0.30.0: the openkal 0.26 family, openkal-ld ^0.7, and a start bounded by the environment alone - #101
Merged
Merged
Conversation
openkal ^0.26.0 and its implementations: openkal-linux ^0.27.0, openkal-macos ^0.24.0, openkal-windows ^0.23.0, openkal-freebsd ^0.2.0, openkal-uefi ^0.12.0, openkal-dos ^0.2.0 and openkal-opensbi ^0.10.0. An ok image places further images with openkal-ld ^0.7.0 (openkal-image 0.7.0). The C library is unchanged.
This was referenced Nov 19, 2026
0.21.0: over openkal-musl 0.30 and the openkal 0.26 implementations
mcpplibs/openkal-llvm-runtime#76
Merged
… is E2BIG openkal 0.26, clause 7.6. The port refused 512 argument or environment entries itself, before the environment was asked, and reported the environment's own refusal for size (kal_err_no_space) as ENOSPC: a compiler given 520 defines could not be started (mcpp-community/mcpp#958). The vectors are this file's, under its lock, and grow to the longest start so far; a refusal for size is E2BIG. The subprocess probe starts a program with 2,000 arguments and is refused, as E2BIG, a start with one argument of 4 MiB.
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.
The C library's link of the openkal 0.26 cascade (mcpp design 2026-11-19,
§14.2 row 3): the pins move to the family and the version to 0.30.0, as the
0.25 round moved it to 0.29.0. The C library is unchanged.
^0.26.0^0.27.0, openkal-macos^0.24.0, openkal-windows^0.23.0,openkal-freebsd
^0.2.0, openkal-uefi^0.12.0(was>=0.10.0, <0.12.0),openkal-dos
^0.2.0, openkal-opensbi^0.10.0^0.7.0, the loader of openkal-image 0.7.0 (0.7.0: okrun names the call each task waits in when the program is asked to end; the openkal 0.26 family openkal-image#41,branch
openkal-0.26.0, which this CI's working trees and okrun take)README: the ranges stated at the top and an "OpenKal 0.26 dependency group"
section.
Local (Linux x86-64, mcpp 2026.11.18.1, gcc 16.1.0, from the index):
examples/wordcountandexamples/posixbuild over openkal-linux 0.27.0 andopenkal 0.26.0, and the posix probe reports no failure.
Release order: after openkal-image 0.7.0 is released and indexed (this
package's
openkal-ld ^0.7.0resolves from the index for a consumer);openkal-llvm-runtime 0.21.0 follows it.
A start is bounded by the environment alone (openkal 0.26, clause 7.6)
port/src/okm_spawn.crefused 512 argument or environment entries itself, before the environment was asked, andokm_errnoreported the environment's refusal for size (kal_err_no_space) asENOSPC: a compiler given 520 defines could not be started (mcpp-community/mcpp#958). The vectors now grow to the caller's under the file's lock, and a start refused for its size isE2BIG. The subprocess probe starts a program with 2,000 arguments and expects a start with one 4 MiB argument to be refused asE2BIG; both checks fail on 0.29.10 and pass here (local, Linux x86_64, gcc 16.1.0). The README states the bound beside the port's other bounds.