Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli_run::module_params flaky failure #256

Open
Anton-4 opened this issue Oct 12, 2024 · 0 comments
Open

cli_run::module_params flaky failure #256

Anton-4 opened this issue Oct 12, 2024 · 0 comments

Comments

@Anton-4
Copy link
Collaborator

Anton-4 commented Oct 12, 2024

It's possible that this will be fixed with roc-lang/roc#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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant