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
okrun for freebsd-x86_64 (0.7.2): an image an image starts is executed by the kernel (Exec format error), as #42 was on Linux #47
In FreeBSD (x86_64, 14.5), an image run by the okrun the self-contained package carries for freebsd-x86_64 (openkal-platform 0.31.2, openkal-image 0.7.2) starts the image itself, and the start goes to the kernel, which refuses the .oke:
Failed to execute '/tmp/dirun/cmd-0.1.0-openkal-bundle-all/lib/x86_64/cmd.exe.oke': Exec format error
child=1
This is #42 (an image started by an image is executed by the host without the loader) on the FreeBSD runner; on Linux x86_64 and aarch64, okrun 0.7.2 enters such an image (status 3 as expected). A host program started from the same image works in FreeBSD.
Reproduce
Sunrisepeak/cmd, mcpp pack --target openkal --all-programs --mode self-contained --systems all, then in the FreeBSD VM (the x86_64-freebsd row's runner):
tar -xzf cmd-0.1.0-openkal-bundle-all.tar.gz
cmd-0.1.0-openkal-bundle-all/bin/cmd.exe /c TEST.BAT # "%COMSPEC%" /c exit 3 → Exec format error, child=1
Activity
CI: the openkal package in FreeBSD at L1 until okrun there enters an …