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

Error building RTL #7434

Open
arkaitz-dev opened this issue Dec 30, 2024 · 2 comments
Open

Error building RTL #7434

arkaitz-dev opened this issue Dec 30, 2024 · 2 comments

Comments

@arkaitz-dev
Copy link

Trying to build RTL (https://github.com/isaacvando/rtl) it throws this error:

roc build rtl.roc --optimize
Downloading https://github.com/roc-lang/basic-cli/releases/download/0.17.0/lZFLstMUCUvd5bjnnpYromZJXkQUrdhbva4xdBInicE.tar.br
into /home/arkaitz/.cache/roc/packages

[8.7 / 8.7 MB]
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
Undefined Symbol in relocation, (+13297, Relocation { kind: PltRelative, encoding: Generic, size: +20, target: Symbol(SymbolIndex(+a2)), addend: +fffffffffffffffc, implicit_addend: false }): Ok(Symbol { name: "memmove", address: +0, size: +0, kind: Unknown, section: Undefined, scope: Unknown, weak: false, flags: Elf { st_info: +10, st_other: +0 } }) try compiling with --linker legacy
Location: crates/linker/src/elf.rs:1452:25

roc --version
roc nightly pre-release, built from commit 2e2be45 on Sa 28 Dez 2024 09:01:40 UTC

@lukewilliamboswell
Copy link
Collaborator

Can you try adding the --linker legacy flag?

@Anton-4
Copy link
Collaborator

Anton-4 commented Dec 30, 2024

Related issue: #3609

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

3 participants