Open Anton-4 opened 1 month ago
It's possible that this will be fixed with https://github.com/roc-lang/roc/pull/6859
failures: ---- cli_run::module_params stdout ---- thread 'cli_run::module_params' panicked at crates/cli/tests/cli_run.rs:159:13: ___________ The roc command: "/home/username/gitrepos/roc-with-nix/roc/target/release/roc --max-threads=1 /home/username/gitrepos/roc-with-nix/roc/crates/cli/tests/module_params/app.roc --" had unexpected stderr: 🔨 Rebuilding platform... An internal compiler expectation was broken. This is definitely a compiler bug. Please file an issue here: <https://github.com/roc-lang/roc/issues/new/choose> Error: Failed to rebuild host.zig: The executed command was: zig build-exe -fPIE -rdynamic /home/username/gitrepos/roc-with-nix/roc/crates/cli/tests/module_params/../fixtures/multi-dep-str/platform/libapp.so /tmp/nix-shell.F3MG1b/host_bitcodeWSxI1slr.o /home/username/gitrepos/roc-with-nix/roc/crates/cli/tests/module_params/../fixtures/multi-dep-str/platform/host.zig -femit-bin=/home/username/gitrepos/roc-with-nix/roc/crates/cli/tests/module_params/../fixtures/multi-dep-str/platform/dynhost --mod glue::/home/username/gitrepos/roc-with-nix/roc/crates/compiler/builtins/bitcode/src/glue.zig --deps glue -lc -target x86_64-native -fcompiler-rt stderr of that command: error: ld.lld: undefined symbol: main note: referenced by /nix/store/ddwyrxif62r8n6xclvskjyy6szdhvj60-glibc-2.39-5/lib/Scrt1.o:(_start) error: ld.lld: undefined symbol: roc_panic note: referenced by builtins-host note: /tmp/nix-shell.F3MG1b/host_bitcodeWSxI1slr.o:(panic.panic_help) note: referenced by builtins-host note: /tmp/nix-shell.F3MG1b/host_bitcodeWSxI1slr.o:(roc_builtins.utils.panic) error: ld.lld: undefined symbol: roc_alloc note: referenced by builtins-host note: /tmp/nix-shell.F3MG1b/host_bitcodeWSxI1slr.o:(roc_builtins.dec.to_str) note: referenced by builtins-host note: /tmp/nix-shell.F3MG1b/host_bitcodeWSxI1slr.o:(str.RocStr.init) note: referenced by builtins-host note: /tmp/nix-shell.F3MG1b/host_bitcodeWSxI1slr.o:(list.RocList.reallocate) note: referenced 40 more times error: ld.lld: undefined symbol: roc_dealloc note: referenced by builtins-host note: /tmp/nix-shell.F3MG1b/host_bitcodeWSxI1slr.o:(list.RocList.reallocate) note: referenced by builtins-host note: /tmp/nix-shell.F3MG1b/host_bitcodeWSxI1slr.o:(list.RocList.makeUnique) note: referenced by builtins-host note: /tmp/nix-shell.F3MG1b/host_bitcodeWSxI1slr.o:(sort.fluxsort) note: referenced 33 more times error: ld.lld: undefined symbol: roc_realloc note: referenced by builtins-host note: /tmp/nix-shell.F3MG1b/host_bitcodeWSxI1slr.o:(list.RocList.reallocate) note: referenced by builtins-host note: /tmp/nix-shell.F3MG1b/host_bitcodeWSxI1slr.o:(str.RocStr.reallocate) error: ld.lld: undefined symbol: roc_dbg note: referenced by builtins-host note: /tmp/nix-shell.F3MG1b/host_bitcodeWSxI1slr.o:(roc_builtins.utils.test_dbg) error: ld.lld: undefined symbol: roc_getppid note: referenced by builtins-host note: /tmp/nix-shell.F3MG1b/host_bitcodeWSxI1slr.o:(roc_builtins.utils.expect_failed_start_shared_file) note: referenced by builtins-host note: /tmp/nix-shell.F3MG1b/host_bitcodeWSxI1slr.o:(roc_builtins.utils.read_env_shared_buffer) error: ld.lld: undefined symbol: roc_shm_open note: referenced by builtins-host note: /tmp/nix-shell.F3MG1b/host_bitcodeWSxI1slr.o:(roc_builtins.utils.expect_failed_start_shared_file) note: referenced by builtins-host note: /tmp/nix-shell.F3MG1b/host_bitcodeWSxI1slr.o:(roc_builtins.utils.read_env_shared_buffer) error: ld.lld: undefined symbol: roc_mmap note: referenced by builtins-host note: /tmp/nix-shell.F3MG1b/host_bitcodeWSxI1slr.o:(roc_builtins.utils.expect_failed_start_shared_file) note: referenced by builtins-host note: /tmp/nix-shell.F3MG1b/host_bitcodeWSxI1slr.o:(roc_builtins.utils.read_env_shared_buffer) Location: crates/compiler/build/src/link.rs:1426:21
It's possible that this will be fixed with https://github.com/roc-lang/roc/pull/6859