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

unable to start container process: exec: "riscv32-unknown-elf-gcc": executable file not found in $PATH: unknown. #1

Open
fabatera opened this issue Nov 17, 2022 · 0 comments

Comments

@fabatera
Copy link

Hi,

Could you point how to use your container?

Following the README instructions, it fails in the second step "Building the Software".

docker run --rm -v $PWD:/work amamory/qemu-stm32 riscv32-unknown-elf-gcc -march=rv32g hello.c -o hello
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "riscv32-unknown-elf-gcc": executable file not found in $PATH: unknown.

Trying with arm-none-eabi-gcc also didn't work:

docker run --rm -v $PWD:/work amamory/qemu-stm32 arm-none-eabi-gcc -march=rv32g hello.c -o hello
arm-none-eabi-gcc: error: hello.c: No such file or directory
arm-none-eabi-gcc: error: unrecognized -march target: rv32g
arm-none-eabi-gcc: note: valid arguments are: armv4 armv4t armv5t armv5te armv5tej armv6 armv6j armv6k armv6z armv6kz armv6zk armv6t2 armv6-m armv6s-m armv7 armv7-a armv7ve armv7-r armv7-m armv7e-m armv8-a armv8.1-a armv8.2-a armv8.3-a armv8.4-a armv8.5-a armv8-m.base armv8-m.main armv8-r iwmmxt iwmmxt2
arm-none-eabi-gcc: error: missing argument to '-march='
arm-none-eabi-gcc: fatal error: no input files

Thanks for sharing!

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