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

Ld error #27

Open
diorga opened this issue Oct 25, 2021 · 0 comments
Open

Ld error #27

diorga opened this issue Oct 25, 2021 · 0 comments

Comments

@diorga
Copy link

diorga commented Oct 25, 2021

I have attempted to compile a small C file using the following command:

clang main.c

I tried using the prebuilt Ubuntu toolchain and the provided docker (pulp-llvm.Dockerfile). However, I always get the following error:

/usr/bin/ld: unrecognised emulation mode: elf32lriscv
Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om i386pep i386pe
clang-12: error: ld command failed with exit code 1 (use -v to see invocation)

Is there something I am missing?

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