interplane.Get Omega
Read in your language

omega-bridge

Omega-first language interoperability: checked conversion backends and native language bindings

Brought by drakestapleton

branch main Branches Tags History

omega-bridge / evidence / native-abi-v2 / v2-run.log

52 lines · 3472 bytes Raw Blame History
1INFO omc 734f0a39319fbfa930bcc62cb30dbf06d47d78e126372b74f5baf478e6126b61; OM-2 compiler /tmp/om2c/s4/omc-s4-f6a6492f sha256 499236398aabc652e2dae27fe4bdc4c5db3d3726314356e0dbef23e3345803ec
2PASS tools/native: madd (OM-1) + vec, lay, one (OM-2): library, six bindings, omega_api.h
3PASS ABI v1 bindings byte-identical to 3f05908's generator: 60 unit x output cases (every tests/native and g1 unit, and the set)
4PASS identities: source sha256 (computed by native.om) == sha256sum, omc digest, profile; ident.txt has the OM-1 unit too
5PASS embedded code == compiler output, per OM-2 unit
6PASS exported symbols: 15 omega2_ (12 exports, 3 idents) + omega_madd; no psum, no v1 name for a v2 unit
7PASS no v2 caller declares an Omega function by hand
8PASS c caller (64 checks)
9PASS c-bti caller (64 checks)
10PASS cpp caller (16 checks)
11PASS python caller (18 checks)
12PASS rust caller (16 checks)
13PASS rust-2024 caller (16 checks)
14PASS zig caller (16 checks)
15PASS go caller (16 checks)
16PASS c refuses the v1 symbol at link time: undefined reference to `omega_bsum'
17PASS cpp refuses the v1 symbol at link time: undefined reference to `omega_bsum'
18PASS python refuses the v1 symbol at link time: undefined symbol: omega_bsum
19PASS rust refuses the v1 symbol at link time: undefined reference to `omega_bsum'
20PASS zig refuses the v1 symbol at link time: undefined symbol: omega_bsum
21PASS go refuses the v1 symbol at link time: undefined reference to `omega_bsum'
22PASS stale identity: C header from another vec.om is detected (two src digests)
23PASS stale identity control: the matching header passes
24PASS stale identity: the Python binding refuses to import
25PASS generator accepts the control OM-2 unit
26PASS generator refuses an OM-2 unit without its omega-unit line
27PASS generator refuses a short omc digest
28PASS generator refuses a non-hex omc digest
29PASS generator refuses a unit name that is not a C identifier
30PASS generator refuses a repeated unit name
31PASS generator refuses an export name repeated across units
32PASS generator refuses an om2 diag unit
33PASS generator refuses eight slots (four unsized views)
34PASS generator refuses an undeclared layout
35PASS generator refuses out buffers over 65536 bytes
36PASS generator refuses a uint scalar parameter
37PASS generator refuses a uint result
38PASS generator refuses a parameter name ending in _len
39PASS generator refuses two exports in a 4-byte code
40PASS generator refuses a c-type note naming no layout
41PASS mutant wrap caught (1 failing checks, e.g. #748 golden: vpart len 2^64-1, o 2^64-2, k 4 refused (32))
42PASS mutant overlap caught (9 failing checks, e.g. vcopy edit == view refused)
43PASS mutant outcopy caught (6 failing checks, e.g. digest: tag, a's bytes, zeros; result n)
44PASS outputs c h python rust zig go api byte-identical to 3bb8b8a's generator on the v2 set
45PASS freestanding object from omega_api_decl.h: undefined symbols are only absorb bsum digest swap8 (no abort)
46PASS omega_api_defs.o defines the API (swap8 ...) and holds the abort reference
47PASS control: the same object from the inline omega_api.h references abort (what the freestanding gate refuses)
48PASS freestanding object + omega_api_defs.o + library: results correct
49PASS out-of-line wrapper aborts on a nonzero status (SIGABRT, exit 134)
50PASS mutant apih (definitions in the header) caught: implicit declaration of function ‘abort’
51PASS mutant api (inline wrappers lose static inline) caught by the byte-identity check
52NATIVE-V2 PASS (not run: none)