Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Emit a host-assembleable native binding, or keep a migration-pending portable stand-in
Closed · #940 · open 2026-10-30 13:14 UTC · closed 2026-11-05 01:48 UTC (reason completed)
Imported from GitHub aien-dev/omega-mv#940, by drakestapleton
drakestapleton wrote on 2026-10-30 13:14 UTC
ADR 0043 missing feature. src/cudapp_om_units.c and src/cudapp_freest_units.c are generated AArch64 machine code. Seeded Omega does not yet emit a binding the build host can assemble. An x86-64 checkout cannot compile those two files.
src/cudapp_binding_portable.c is the migration-pending C stand-in. The AArch64 library does not link it. A non-AArch64 host links it only when the build passes CUDAPP_MIGRATION_PENDING_C_ENCODER and CUDAPP_MIGRATION_PENDING_C_CUBIN, the switches that select the C encoder and the C cubin writer. The host vector test defines BINDING_PORTABLE. The file refuses to compile if none of those three macros is set.
omega_native_revision and omega_native_epoch follow the committed freestanding units. Every other entry returns status 34 and does not write its result. That refusal is not a result from the seeded unit. The C encoder and the C cubin writer do the portable codegen. This is not a run of bw_enc_sm121.om or cubin_elf.om, and it is not a pass of the .om versus C differential.
Slice 1 (draft): https://github.com/aien-dev/omega-bridge/pull/44. native.om now emits a freestanding x86linux binding and has room for the full CUDApp x86 frame. Before the change, the CUDApp frame refused with exit 110 (freest) and exit 106 (hosted). After it, both generate, and both x86 files compile with x86_64-linux-gnu-gcc -Werror. Freestanding vectors and 17 hosted differential vectors match native AArch64 under qemu-x86_64 (EMULATED). A store mutant fails. AArch64 CUDApp outputs regenerate byte for byte. Remaining: the CUDApp PR that commits the x86 sibling files, re-pins the bridge and selects them on x86_64; the x86 ABI v2 suite; native x86 hardware (NOT_RUN).
did:key:z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd wrote on 2026-11-18 17:39 UTC
Recovered GitHub comment. Original issue #940 · posting receipt c8e2a06c43db7514f30f1d2b05292a635a10503ef642f60a140e6e9b637486aa
Resolved by the bridge route. omega-bridge#44 merged (49b69635): native.om emits the freestanding x86linux binding. CUDApp main now compiles every seeded unit as checked portable C from omega-bridge (Makefile header: 'Every host compiles the same units, so x86-64 runs the .om encoder, cubin packer and native units'); src/cudapp_binding_portable.c and the AArch64-only src/cudapp_om_units.c are gone. CUDApp host-x86.yml run 41367273586 at 183fa4f1 on x86_64 ends CUDA++ HOST TESTS PASS (80 targets); the workflow fails if that line is absent. Native x86 hardware is NOT_RUN and was not an acceptance item. Closed by sweep lane I2 (P-DRA-9).