Last active
June 21, 2022 01:19
-
-
Save lupyuen/5738abefa9d4c138e9d731e22d01500f to your computer and use it in GitHub Desktop.
Zig Compiler crashes with Out Of Memory. See https://github.com/lupyuen/zig-bl602-nuttx#out-of-memory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Already up-to-date. | |
Already up-to-date. | |
+ pushd ../zig-bl602-nuttx | |
~/pinecone/nuttx/zig-bl602-nuttx ~/pinecone/nuttx/nuttx | |
+ git pull | |
Already up-to-date. | |
+ zig build-obj --verbose-cimport -target riscv32-freestanding-none -mcpu=baseline_rv32-d -isystem /Users/Luppy/pinecone/nuttx/nuttx/include -I /Users/Luppy/pinecone/nuttx/apps/examples/lorawan_test -I . reflect.zig | |
info(compilation): C import output: zig-cache/o/a94e1ebdcec3b940f8f37c48d138d8cc/cimport.zig | |
| *"@typeInfo(c): ", std.builtin.Type { .Struct = (struct std.builtin.Type.Struct constant)} | |
| *"T.Struct.fields.len: ", 0 | |
| *"T.Struct.decls.len: ", 4772 | |
| *"T.Struct.decls[0].name: ", "__builtin_bswap16" | |
| *"decl.name:", "__builtin_bswap16" | |
| *"break for debugging" | |
| *"ThisType: ", std.builtin.Type { .Struct = (struct std.builtin.Type.Struct constant)} | |
| *"ThisType.Struct.decls.len: ", 73 | |
| *"ThisType.Struct.decls[0].name: ", "std" | |
| *"ThisType.Struct.decls[1].name: ", "c" | |
| *"ThisType.Struct.decls[2].name: ", "ACTIVE_REGION" | |
| *"Found module function: ", []const u8{76,111,82,97,77,97,99,73,110,105,116,105,97,108,105,122,97,116,105,111,110}, "LoRaWAN", 1542 | |
| *"Found module function: ", []const u8{83,88,49,50,54,120,73,111,73,110,105,116}, "SX1262", 1100 | |
| *"Found module function: ", []const u8{84,105,109,101,114,73,110,105,116}, "NimBLE", 1092 | |
| *"flowchart TD;" | |
Semantic Analysis [82/168] | *" subgraph ", "LoRaWAN", *";" | |
Semantic Analysis [82/173] | *" ", "RadioSetModem", *";" | |
| *" ", "RadioSetModem", *";" | |
| *" ", "RadioSetPublicNetwork", *";" | |
| *" ", "RadioSleep", *";" | |
| *" ", "RadioSetModem", *";" | |
| *" ", "RadioSetPublicNetwork", *";" | |
| *" ", "RadioSetChannel", *";" | |
| *" ", "RadioSetTxConfig", *";" | |
| *" ", "RadioSetTxConfig", *";" | |
| *" ", "RadioStandby", *";" | |
| *" ", "RadioSetModem", *";" | |
| *" ", "RadioSend", *";" | |
| *" ", "RadioSend", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioSleep", *";" | |
| *" ", "RadioStandby", *";" | |
| *" ", "RadioSetChannel", *";" | |
| *" ", "RadioSetRxConfig", *";" | |
| *" ", "RadioStandby", *";" | |
| *" ", "RadioSetModem", *";" | |
| *" ", "RadioSetRxConfig", *";" | |
| *" ", "RadioRx", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioSleep", *";" | |
| *" ", "LmHandlerSend", *";" | |
| *" ", "RadioSetChannel", *";" | |
| *" ", "RadioSetTxConfig", *";" | |
| *" ", "RadioSetTxConfig", *";" | |
| *" ", "RadioStandby", *";" | |
| *" ", "RadioSetModem", *";" | |
| *" ", "RadioSend", *";" | |
| *" ", "RadioSend", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioSleep", *";" | |
| *" ", "RadioStandby", *";" | |
| *" ", "RadioSetChannel", *";" | |
| *" ", "RadioSetRxConfig", *";" | |
| *" ", "RadioStandby", *";" | |
| *" ", "RadioSetModem", *";" | |
| *" ", "RadioSetRxConfig", *";" | |
| *" ", "RadioRx", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioSleep", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "LmHandlerSend", *";" | |
| *" ", "RadioSetChannel", *";" | |
| *" ", "RadioSetTxConfig", *";" | |
| *" ", "RadioSetTxConfig", *";" | |
| *" ", "RadioStandby", *";" | |
| *" ", "RadioSetModem", *";" | |
| *" ", "RadioSend", *";" | |
| *" ", "RadioSend", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioSleep", *";" | |
| *" ", "RadioStandby", *";" | |
| *" ", "RadioSetChannel", *";" | |
| *" ", "RadioSetRxConfig", *";" | |
| *" ", "RadioStandby", *";" | |
| *" ", "RadioSetModem", *";" | |
| *" ", "RadioSetRxConfig", *";" | |
| *" ", "RadioRx", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioSleep", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "LmHandlerSend", *";" | |
| *" ", "RadioSetChannel", *";" | |
| *" ", "RadioSetTxConfig", *";" | |
| *" ", "RadioSetTxConfig", *";" | |
| *" ", "RadioStandby", *";" | |
| *" ", "RadioSetModem", *";" | |
| *" ", "RadioSend", *";" | |
| *" ", "RadioSend", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioSleep", *";" | |
| *" ", "RadioStandby", *";" | |
| *" ", "RadioSetChannel", *";" | |
| *" ", "RadioSetRxConfig", *";" | |
| *" ", "RadioStandby", *";" | |
| *" ", "RadioSetModem", *";" | |
| *" ", "RadioSetRxConfig", *";" | |
| *" ", "RadioRx", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioSleep", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "LmHandlerSend", *";" | |
| *" ", "RadioSetChannel", *";" | |
| *" ", "RadioSetTxConfig", *";" | |
| *" ", "RadioSetTxConfig", *";" | |
| *" ", "RadioStandby", *";" | |
| *" ", "RadioSetModem", *";" | |
| *" ", "RadioSend", *";" | |
| *" ", "RadioSend", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioSleep", *";" | |
| *" ", "RadioStandby", *";" | |
| *" ", "RadioSetChannel", *";" | |
| *" ", "RadioSetRxConfig", *";" | |
| *" ", "RadioStandby", *";" | |
| *" ", "RadioSetModem", *";" | |
| *" ", "RadioSetRxConfig", *";" | |
| *" ", "RadioRx", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioSleep", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "LmHandlerSend", *";" | |
| *" ", "RadioSetChannel", *";" | |
| *" ", "RadioSetTxConfig", *";" | |
| *" ", "RadioSetTxConfig", *";" | |
| *" ", "RadioStandby", *";" | |
| *" ", "RadioSetModem", *";" | |
| *" ", "RadioSend", *";" | |
| *" ", "RadioSend", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioSleep", *";" | |
| *" ", "RadioStandby", *";" | |
| *" ", "RadioSetChannel", *";" | |
| *" ", "RadioSetRxConfig", *";" | |
| *" ", "RadioStandby", *";" | |
| *" ", "RadioSetModem", *";" | |
| *" ", "RadioSetRxConfig", *";" | |
| *" ", "RadioRx", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioIrqProcess", *";" | |
| *" ", "RadioSleep", *";" | |
../run.sh: line 22: 92563 Killed: 9 zig build-obj --verbose-cimport -target riscv32-freestanding-none -mcpu=baseline_rv32-d -isystem "$HOME/pinecone/nuttx/nuttx/include" -I "$HOME/pinecone/nuttx/apps/examples/lorawan_test" -I . reflect.zig | |
The terminal process "/bin/zsh '-c', 'cd apps && git pull && cd ../nuttx && git pull && ../run.sh'" terminated with exit code: 137. | |
Terminal will be reused by tasks, press any key to close it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment