PULP Community

Full Version: Fatal error: Broken assembler - hello example
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've just setup my pulpissimo environment and when i run the hello example, I get the following:

This is also a problem for another person I work with:

internal error: can't hash `pv.add.h.div2': exists
Assembler messages:
Fatal error: Broken assembler.  No assembly attempted.
make: *** [/home/x/Documents/code/pulpissimo/sw/pulp-runtime/rules/pulpos/default_rules.mk:257: /home/x/Documents/code/pulpissimo/sw/pulp-runtime/hello/build/test/test.o] Error 1

I tired to switch to the v1 sdk but the error is still there.
Could it be again an issue with the environment (i.e. not using the PULP optimized RISC-V assembler from the toolchain).

Maybe this link could also help:
https://github.com/pulp-platform/pulpissimo/issues/331
(10-30-2024, 11:17 AM)kgf Wrote: [ -> ]Could it be again an issue with the environment (i.e. not using the PULP optimized RISC-V assembler from the toolchain).

Maybe this link could also help:
  https://github.com/pulp-platform/pulpissimo/issues/331

I ran the command:
"riscv32-unknown-elf-gcc -Q -O2 -v --help=optimizers" which returned the following "GNU C17 (PULP) version 9.2.0".
"GNU assembler version 2.34 (riscv32-unknown-elf) using BFD version (PULP) 2.34".

When I run "make" in the hello directory, it uses the same compiler. (opt/riscv/bin/ riscv32-unknown-elf-gcc)

Is there something I'm missing? Huh
To help debug, perhaps someone could post their environment variables and versions of the compiler, libraries, python libs and
pulpissimo.