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-x86-commands.log

115 lines · 10626 bytes Raw Blame History
1~/work/cudastack/lanes/BridgeHostFreestanding/tools/native --target x86linux --freestanding /tmp/bh/freestanding-eight-x86-green/freestanding /tmp/bh/freestanding-eight-x86-green/sources/regalloc.om /tmp/bh/freestanding-eight-x86-green/sources/regalloc_ir.om /tmp/bh/freestanding-eight-x86-green/sources/regalloc_live.om /tmp/bh/freestanding-eight-x86-green/sources/native.om /tmp/bh/freestanding-eight-x86-green/sources/cubin.om /tmp/bh/freestanding-eight-x86-green/sources/ampere.om /tmp/bh/freestanding-eight-x86-green/sources/api_policy.om /tmp/bh/freestanding-eight-x86-green/sources/api_mm_plan.om
2rc 0
3tools/native: 8 unit(s) -> /tmp/bh/freestanding-eight-x86-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 x86linux /tmp/bh/freestanding-eight-x86-green/hosted /tmp/bh/freestanding-eight-x86-green/sources/regalloc.om /tmp/bh/freestanding-eight-x86-green/sources/regalloc_ir.om /tmp/bh/freestanding-eight-x86-green/sources/regalloc_live.om /tmp/bh/freestanding-eight-x86-green/sources/native.om /tmp/bh/freestanding-eight-x86-green/sources/cubin.om /tmp/bh/freestanding-eight-x86-green/sources/ampere.om /tmp/bh/freestanding-eight-x86-green/sources/api_policy.om /tmp/bh/freestanding-eight-x86-green/sources/api_mm_plan.om
6rc 0
7tools/native: 8 unit(s) -> /tmp/bh/freestanding-eight-x86-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
9x86_64-linux-gnu-gcc -r -nostdlib /tmp/bh/freestanding-eight-x86-green/freestanding/omega_native.o /tmp/bh/freestanding-eight-x86-green/freestanding/omega_api_defs.o -o /tmp/bh/freestanding-eight-x86-green/freestanding.o
10rc 0
11
12x86_64-linux-gnu-nm -u /tmp/bh/freestanding-eight-x86-green/freestanding.o
13rc 0
14
15x86_64-linux-gnu-gcc -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-x86-green/freestanding ~/work/cudastack/lanes/BridgeHostFreestanding/tests/native/freestanding/aggregate.c /tmp/bh/freestanding-eight-x86-green/freestanding.o -nostdlib -static -no-pie -Wl,-e,_start -o /tmp/bh/freestanding-eight-x86-green/bare
16rc 0
17
18x86_64-linux-gnu-nm -u /tmp/bh/freestanding-eight-x86-green/bare
19rc 0
20
21readelf -lW /tmp/bh/freestanding-eight-x86-green/bare
22rc 0
23
24Elf file type is EXEC (Executable file)
25Entry point 0x401040
26There are 9 program headers, starting at offset 64
27
28Program Headers:
29 Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
30 LOAD 0x000000 0x0000000000400000 0x0000000000400000 0x00027c 0x00027c R 0x1000
31 LOAD 0x001000 0x0000000000401000 0x0000000000401000 0x0c73a5 0x0c73a5 R E 0x1000
32 LOAD 0x0c9000 0x00000000004c9000 0x00000000004c9000 0x001414 0x001414 R 0x1000
33 LOAD 0x0caf00 0x00000000004cbf00 0x00000000004cbf00 0x000100 0x9674260 RW 0x1000
34 NOTE 0x000238 0x0000000000400238 0x0000000000400238 0x000020 0x000020 R 0x8
35 NOTE 0x000258 0x0000000000400258 0x0000000000400258 0x000024 0x000024 R 0x4
36 GNU_PROPERTY 0x000238 0x0000000000400238 0x0000000000400238 0x000020 0x000020 R 0x8
37 GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW 0x10
38 GNU_RELRO 0x0caf00 0x00000000004cbf00 0x00000000004cbf00 0x000100 0x000100 R 0x1
39
40 Section to Segment mapping:
41 Segment Sections...
42 00 .note.gnu.property .note.gnu.build-id
43 01 .text
44 02 .rodata .eh_frame
45 03 .data.rel.ro .bss
46 04 .note.gnu.property
47 05 .note.gnu.build-id
48 06 .note.gnu.property
49 07
50 08 .data.rel.ro
51
52readelf -SW /tmp/bh/freestanding-eight-x86-green/bare
53rc 0
54There are 12 section headers, starting at offset 0xcc888:
55
56Section Headers:
57 [Nr] Name Type Address Off Size ES Flg Lk Inf Al
58 [ 0] NULL 0000000000000000 000000 000000 00 0 0 0
59 [ 1] .note.gnu.property NOTE 0000000000400238 000238 000020 00 A 0 0 8
60 [ 2] .note.gnu.build-id NOTE 0000000000400258 000258 000024 00 A 0 0 4
61 [ 3] .text PROGBITS 0000000000401000 001000 0c73a5 00 AX 0 0 16
62 [ 4] .rodata PROGBITS 00000000004c9000 0c9000 000679 00 A 0 0 32
63 [ 5] .eh_frame PROGBITS 00000000004c9680 0c9680 000d94 00 A 0 0 8
64 [ 6] .data.rel.ro PROGBITS 00000000004cbf00 0caf00 000100 00 WA 0 0 32
65 [ 7] .bss NOBITS 00000000004cc000 0cb000 9674160 00 WA 0 0 32
66 [ 8] .comment PROGBITS 0000000000000000 0cb000 00002d 01 MS 0 0 1
67 [ 9] .symtab SYMTAB 0000000000000000 0cb030 000f78 18 10 96 8
68 [10] .strtab STRTAB 0000000000000000 0cbfa8 000867 00 0 0 1
69 [11] .shstrtab STRTAB 0000000000000000 0cc80f 000074 00 0 0 1
70Key to Flags:
71 W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
72 L (link order), O (extra OS processing required), G (group), T (TLS),
73 C (compressed), x (unknown), o (OS specific), E (exclude),
74 D (mbind), l (large), p (processor specific)
75
76~/.local/opt/qemu-oracle-10.0.14/build/qemu-x86_64 -L /usr/x86_64-linux-gnu /tmp/bh/freestanding-eight-x86-green/bare
77rc 0
78stdout_hex 0000000000000000030000000000000002000000000000000000000000000000000000000000000000000000000000001100000000000000000000000000000001000000000000000002000000000000180000000000000000000000000000000100000000000000200000000000000063000000000000000100000000000000
79
80x86_64-linux-gnu-gcc -std=gnu11 -O2 -Wall -Wextra -Werror -ffreestanding -fno-builtin -fno-stack-protector -DOMEGA_AGGREGATE_API_PLAN=1 -I /tmp/bh/freestanding-eight-x86-green/hosted ~/work/cudastack/lanes/BridgeHostFreestanding/tests/native/freestanding/aggregate.c -L /tmp/bh/freestanding-eight-x86-green/hosted -Wl,-rpath,/tmp/bh/freestanding-eight-x86-green/hosted -lomega_native -o /tmp/bh/freestanding-eight-x86-green/hosted-caller
81rc 0
82
83~/.local/opt/qemu-oracle-10.0.14/build/qemu-x86_64 -L /usr/x86_64-linux-gnu /tmp/bh/freestanding-eight-x86-green/hosted-caller
84rc 0
85stdout_hex 0000000000000000030000000000000002000000000000000000000000000000000000000000000000000000000000001100000000000000000000000000000001000000000000000002000000000000180000000000000000000000000000000100000000000000200000000000000063000000000000000100000000000000
86
87x86_64-linux-gnu-gcc -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-x86-green/freestanding ~/work/cudastack/lanes/BridgeHostFreestanding/tests/native/freestanding/aggregate.c /tmp/bh/freestanding-eight-x86-green/freestanding.o -nostdlib -static -no-pie -Wl,-e,_start -o /tmp/bh/freestanding-eight-x86-green/wrong
88rc 0
89
90~/.local/opt/qemu-oracle-10.0.14/build/qemu-x86_64 -L /usr/x86_64-linux-gnu /tmp/bh/freestanding-eight-x86-green/wrong
91rc 90
92
93~/work/cudastack/lanes/BridgeHostFreestanding/tools/native --target x86linux --freestanding /tmp/bh/freestanding-eight-x86-green/mutant-policy-rem/lib /tmp/bh/freestanding-eight-x86-green/mutant-policy-rem/regalloc.om /tmp/bh/freestanding-eight-x86-green/mutant-policy-rem/regalloc_ir.om /tmp/bh/freestanding-eight-x86-green/mutant-policy-rem/regalloc_live.om /tmp/bh/freestanding-eight-x86-green/mutant-policy-rem/native.om /tmp/bh/freestanding-eight-x86-green/mutant-policy-rem/cubin.om /tmp/bh/freestanding-eight-x86-green/mutant-policy-rem/ampere.om /tmp/bh/freestanding-eight-x86-green/mutant-policy-rem/api_policy.om /tmp/bh/freestanding-eight-x86-green/mutant-policy-rem/api_mm_plan.om
94rc 0
95tools/native: 8 unit(s) -> /tmp/bh/freestanding-eight-x86-green/mutant-policy-rem/lib/omega_native.{c,h,o} + omega_api_decl.h, omega_api_defs.{c,o} (+ work/)
96
97x86_64-linux-gnu-gcc -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-x86-green/mutant-policy-rem/lib ~/work/cudastack/lanes/BridgeHostFreestanding/tests/native/freestanding/aggregate.c /tmp/bh/freestanding-eight-x86-green/mutant-policy-rem/lib/omega_native.o /tmp/bh/freestanding-eight-x86-green/mutant-policy-rem/lib/omega_api_defs.o -nostdlib -static -no-pie -Wl,-e,_start -o /tmp/bh/freestanding-eight-x86-green/mutant-policy-rem/bare
98rc 0
99
100~/.local/opt/qemu-oracle-10.0.14/build/qemu-x86_64 -L /usr/x86_64-linux-gnu /tmp/bh/freestanding-eight-x86-green/mutant-policy-rem/bare
101rc 14
102
103~/work/cudastack/lanes/BridgeHostFreestanding/tools/native --target x86linux --freestanding /tmp/bh/freestanding-eight-x86-green/mutant-mm-view/lib /tmp/bh/freestanding-eight-x86-green/mutant-mm-view/regalloc.om /tmp/bh/freestanding-eight-x86-green/mutant-mm-view/regalloc_ir.om /tmp/bh/freestanding-eight-x86-green/mutant-mm-view/regalloc_live.om /tmp/bh/freestanding-eight-x86-green/mutant-mm-view/native.om /tmp/bh/freestanding-eight-x86-green/mutant-mm-view/cubin.om /tmp/bh/freestanding-eight-x86-green/mutant-mm-view/ampere.om /tmp/bh/freestanding-eight-x86-green/mutant-mm-view/api_policy.om /tmp/bh/freestanding-eight-x86-green/mutant-mm-view/api_mm_plan.om
104rc 0
105tools/native: 8 unit(s) -> /tmp/bh/freestanding-eight-x86-green/mutant-mm-view/lib/omega_native.{c,h,o} + omega_api_decl.h, omega_api_defs.{c,o} (+ work/)
106
107x86_64-linux-gnu-gcc -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-x86-green/mutant-mm-view/lib ~/work/cudastack/lanes/BridgeHostFreestanding/tests/native/freestanding/aggregate.c /tmp/bh/freestanding-eight-x86-green/mutant-mm-view/lib/omega_native.o /tmp/bh/freestanding-eight-x86-green/mutant-mm-view/lib/omega_api_defs.o -nostdlib -static -no-pie -Wl,-e,_start -o /tmp/bh/freestanding-eight-x86-green/mutant-mm-view/bare
108rc 0
109
110~/.local/opt/qemu-oracle-10.0.14/build/qemu-x86_64 -L /usr/x86_64-linux-gnu /tmp/bh/freestanding-eight-x86-green/mutant-mm-view/bare
111rc 15
112
113~/work/cudastack/lanes/BridgeHostFreestanding/tools/native --target x86linux --freestanding /tmp/bh/freestanding-eight-x86-green/at-refused /tmp/bh/freestanding-eight-x86-green/refused-api-at.om
114rc 110
115tools/native: refused /tmp/bh/freestanding-eight-x86-green/refused-api-at.om: outside the native call subset, or a name the binding cannot carry (docs/NATIVE-ABI.md); nothing installed