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-freestanding-om2-nolibc / eight-a64-commands.log

106 lines · 9558 bytes Raw Blame History
1~/work/cudastack/lanes/BridgeHostFreestanding/tools/native --target aarch64linux --freestanding /tmp/bh/freestanding-eight-a64-green/freestanding /tmp/bh/freestanding-eight-a64-green/sources/regalloc.om /tmp/bh/freestanding-eight-a64-green/sources/regalloc_ir.om /tmp/bh/freestanding-eight-a64-green/sources/regalloc_live.om /tmp/bh/freestanding-eight-a64-green/sources/native.om /tmp/bh/freestanding-eight-a64-green/sources/cubin.om /tmp/bh/freestanding-eight-a64-green/sources/ampere.om /tmp/bh/freestanding-eight-a64-green/sources/api_policy.om /tmp/bh/freestanding-eight-a64-green/sources/api_mm_plan.om
2rc 0
3tools/native: 8 unit(s) -> /tmp/bh/freestanding-eight-a64-green/freestanding/omega_native.{c,h,o} + omega_api_decl.h, omega_api_defs.{c,o} (+ work/)
4
5~/work/cudastack/lanes/BridgeHostFreestanding/tools/native --target aarch64linux /tmp/bh/freestanding-eight-a64-green/hosted /tmp/bh/freestanding-eight-a64-green/sources/regalloc.om /tmp/bh/freestanding-eight-a64-green/sources/regalloc_ir.om /tmp/bh/freestanding-eight-a64-green/sources/regalloc_live.om /tmp/bh/freestanding-eight-a64-green/sources/native.om /tmp/bh/freestanding-eight-a64-green/sources/cubin.om /tmp/bh/freestanding-eight-a64-green/sources/ampere.om /tmp/bh/freestanding-eight-a64-green/sources/api_policy.om /tmp/bh/freestanding-eight-a64-green/sources/api_mm_plan.om
6rc 0
7tools/native: 8 unit(s) -> /tmp/bh/freestanding-eight-a64-green/hosted/libomega_native.so + omega_native.{c,h,py,rs,zig,go} + omega_api.h, omega_api_decl.h, omega_api_defs.c (+ work/)
8
9cc -r -nostdlib /tmp/bh/freestanding-eight-a64-green/freestanding/omega_native.o /tmp/bh/freestanding-eight-a64-green/freestanding/omega_api_defs.o -o /tmp/bh/freestanding-eight-a64-green/freestanding.o
10rc 0
11
12nm -u /tmp/bh/freestanding-eight-a64-green/freestanding.o
13rc 0
14
15cc -std=gnu11 -O2 -Wall -Wextra -Werror -ffreestanding -fno-builtin -fno-stack-protector -DOMEGA_AGGREGATE_API_PLAN=1 -DOMEGA_AGGREGATE_BARE=1 -I /tmp/bh/freestanding-eight-a64-green/freestanding ~/work/cudastack/lanes/BridgeHostFreestanding/tests/native/freestanding/aggregate.c /tmp/bh/freestanding-eight-a64-green/freestanding.o -nostdlib -static -no-pie -Wl,-e,_start -o /tmp/bh/freestanding-eight-a64-green/bare
16rc 0
17
18nm -u /tmp/bh/freestanding-eight-a64-green/bare
19rc 0
20
21readelf -lW /tmp/bh/freestanding-eight-a64-green/bare
22rc 0
23
24Elf file type is EXEC (Executable file)
25Entry point 0x400180
26There are 5 program headers, starting at offset 64
27
28Program Headers:
29 Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
30 LOAD 0x000000 0x0000000000400000 0x0000000000400000 0x01e5d8 0x01e5d8 R E 0x10000
31 LOAD 0x01fee0 0x000000000042fee0 0x000000000042fee0 0x000100 0x9674250 RW 0x10000
32 NOTE 0x000158 0x0000000000400158 0x0000000000400158 0x000024 0x000024 R 0x4
33 GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW 0x10
34 GNU_RELRO 0x01fee0 0x000000000042fee0 0x000000000042fee0 0x000100 0x000120 R 0x1
35
36 Section to Segment mapping:
37 Segment Sections...
38 00 .note.gnu.build-id .text .rodata .eh_frame
39 01 .data.rel.ro .bss
40 02 .note.gnu.build-id
41 03
42 04 .data.rel.ro
43
44readelf -SW /tmp/bh/freestanding-eight-a64-green/bare
45rc 0
46There are 11 section headers, starting at offset 0x21800:
47
48Section Headers:
49 [Nr] Name Type Address Off Size ES Flg Lk Inf Al
50 [ 0] NULL 0000000000000000 000000 000000 00 0 0 0
51 [ 1] .note.gnu.build-id NOTE 0000000000400158 000158 000024 00 A 0 0 4
52 [ 2] .text PROGBITS 0000000000400180 000180 01d418 00 AX 0 0 16
53 [ 3] .rodata PROGBITS 000000000041d5a0 01d5a0 00069c 00 A 0 0 16
54 [ 4] .eh_frame PROGBITS 000000000041dc40 01dc40 000998 00 A 0 0 8
55 [ 5] .data.rel.ro PROGBITS 000000000042fee0 01fee0 000100 00 WA 0 0 16
56 [ 6] .bss NOBITS 000000000042fff0 01ffe0 9674140 00 WA 0 0 16
57 [ 7] .comment PROGBITS 0000000000000000 01ffe0 00002d 01 MS 0 0 1
58 [ 8] .symtab SYMTAB 0000000000000000 020010 001068 18 9 102 8
59 [ 9] .strtab STRTAB 0000000000000000 021078 000721 00 0 0 1
60 [10] .shstrtab STRTAB 0000000000000000 021799 000061 00 0 0 1
61Key to Flags:
62 W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
63 L (link order), O (extra OS processing required), G (group), T (TLS),
64 C (compressed), x (unknown), o (OS specific), E (exclude),
65 D (mbind), p (processor specific)
66
67/tmp/bh/freestanding-eight-a64-green/bare
68rc 0
69stdout_hex 0000000000000000030000000000000002000000000000000000000000000000000000000000000000000000000000001100000000000000000000000000000001000000000000000002000000000000180000000000000000000000000000000100000000000000200000000000000063000000000000000100000000000000
70
71cc -std=gnu11 -O2 -Wall -Wextra -Werror -ffreestanding -fno-builtin -fno-stack-protector -DOMEGA_AGGREGATE_API_PLAN=1 -I /tmp/bh/freestanding-eight-a64-green/hosted ~/work/cudastack/lanes/BridgeHostFreestanding/tests/native/freestanding/aggregate.c -L /tmp/bh/freestanding-eight-a64-green/hosted -Wl,-rpath,/tmp/bh/freestanding-eight-a64-green/hosted -lomega_native -o /tmp/bh/freestanding-eight-a64-green/hosted-caller
72rc 0
73
74/tmp/bh/freestanding-eight-a64-green/hosted-caller
75rc 0
76stdout_hex 0000000000000000030000000000000002000000000000000000000000000000000000000000000000000000000000001100000000000000000000000000000001000000000000000002000000000000180000000000000000000000000000000100000000000000200000000000000063000000000000000100000000000000
77
78cc -std=gnu11 -O2 -Wall -Wextra -Werror -ffreestanding -fno-builtin -fno-stack-protector -DOMEGA_AGGREGATE_API_PLAN=1 -DOMEGA_AGGREGATE_BARE=1 -DOMEGA_AGGREGATE_WRONG=1 -I /tmp/bh/freestanding-eight-a64-green/freestanding ~/work/cudastack/lanes/BridgeHostFreestanding/tests/native/freestanding/aggregate.c /tmp/bh/freestanding-eight-a64-green/freestanding.o -nostdlib -static -no-pie -Wl,-e,_start -o /tmp/bh/freestanding-eight-a64-green/wrong
79rc 0
80
81/tmp/bh/freestanding-eight-a64-green/wrong
82rc 90
83
84~/work/cudastack/lanes/BridgeHostFreestanding/tools/native --target aarch64linux --freestanding /tmp/bh/freestanding-eight-a64-green/mutant-policy-rem/lib /tmp/bh/freestanding-eight-a64-green/mutant-policy-rem/regalloc.om /tmp/bh/freestanding-eight-a64-green/mutant-policy-rem/regalloc_ir.om /tmp/bh/freestanding-eight-a64-green/mutant-policy-rem/regalloc_live.om /tmp/bh/freestanding-eight-a64-green/mutant-policy-rem/native.om /tmp/bh/freestanding-eight-a64-green/mutant-policy-rem/cubin.om /tmp/bh/freestanding-eight-a64-green/mutant-policy-rem/ampere.om /tmp/bh/freestanding-eight-a64-green/mutant-policy-rem/api_policy.om /tmp/bh/freestanding-eight-a64-green/mutant-policy-rem/api_mm_plan.om
85rc 0
86tools/native: 8 unit(s) -> /tmp/bh/freestanding-eight-a64-green/mutant-policy-rem/lib/omega_native.{c,h,o} + omega_api_decl.h, omega_api_defs.{c,o} (+ work/)
87
88cc -std=gnu11 -O2 -Wall -Wextra -Werror -ffreestanding -fno-builtin -fno-stack-protector -DOMEGA_AGGREGATE_API_PLAN=1 -DOMEGA_AGGREGATE_BARE=1 -I /tmp/bh/freestanding-eight-a64-green/mutant-policy-rem/lib ~/work/cudastack/lanes/BridgeHostFreestanding/tests/native/freestanding/aggregate.c /tmp/bh/freestanding-eight-a64-green/mutant-policy-rem/lib/omega_native.o /tmp/bh/freestanding-eight-a64-green/mutant-policy-rem/lib/omega_api_defs.o -nostdlib -static -no-pie -Wl,-e,_start -o /tmp/bh/freestanding-eight-a64-green/mutant-policy-rem/bare
89rc 0
90
91/tmp/bh/freestanding-eight-a64-green/mutant-policy-rem/bare
92rc 14
93
94~/work/cudastack/lanes/BridgeHostFreestanding/tools/native --target aarch64linux --freestanding /tmp/bh/freestanding-eight-a64-green/mutant-mm-view/lib /tmp/bh/freestanding-eight-a64-green/mutant-mm-view/regalloc.om /tmp/bh/freestanding-eight-a64-green/mutant-mm-view/regalloc_ir.om /tmp/bh/freestanding-eight-a64-green/mutant-mm-view/regalloc_live.om /tmp/bh/freestanding-eight-a64-green/mutant-mm-view/native.om /tmp/bh/freestanding-eight-a64-green/mutant-mm-view/cubin.om /tmp/bh/freestanding-eight-a64-green/mutant-mm-view/ampere.om /tmp/bh/freestanding-eight-a64-green/mutant-mm-view/api_policy.om /tmp/bh/freestanding-eight-a64-green/mutant-mm-view/api_mm_plan.om
95rc 0
96tools/native: 8 unit(s) -> /tmp/bh/freestanding-eight-a64-green/mutant-mm-view/lib/omega_native.{c,h,o} + omega_api_decl.h, omega_api_defs.{c,o} (+ work/)
97
98cc -std=gnu11 -O2 -Wall -Wextra -Werror -ffreestanding -fno-builtin -fno-stack-protector -DOMEGA_AGGREGATE_API_PLAN=1 -DOMEGA_AGGREGATE_BARE=1 -I /tmp/bh/freestanding-eight-a64-green/mutant-mm-view/lib ~/work/cudastack/lanes/BridgeHostFreestanding/tests/native/freestanding/aggregate.c /tmp/bh/freestanding-eight-a64-green/mutant-mm-view/lib/omega_native.o /tmp/bh/freestanding-eight-a64-green/mutant-mm-view/lib/omega_api_defs.o -nostdlib -static -no-pie -Wl,-e,_start -o /tmp/bh/freestanding-eight-a64-green/mutant-mm-view/bare
99rc 0
100
101/tmp/bh/freestanding-eight-a64-green/mutant-mm-view/bare
102rc 15
103
104~/work/cudastack/lanes/BridgeHostFreestanding/tools/native --target aarch64linux --freestanding /tmp/bh/freestanding-eight-a64-green/at-refused /tmp/bh/freestanding-eight-a64-green/refused-api-at.om
105rc 110
106tools/native: refused /tmp/bh/freestanding-eight-a64-green/refused-api-at.om: outside the native call subset, or a name the binding cannot carry (docs/NATIVE-ABI.md); nothing installed