PULP Community
Fatal error: Broken assembler - hello example - Printable Version

+- PULP Community (https://pulp-platform.org/community)
+-- Forum: PULP's Community forum (https://pulp-platform.org/community/forumdisplay.php?fid=1)
+--- Forum: PULP General questions (https://pulp-platform.org/community/forumdisplay.php?fid=2)
+--- Thread: Fatal error: Broken assembler - hello example (/showthread.php?tid=358)



Fatal error: Broken assembler - hello example - Roogadget - 10-28-2024

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.


RE: Fatal error: Broken assembler - hello example - kgf - 10-30-2024

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


RE: Fatal error: Broken assembler - hello example - Roogadget - 10-30-2024

(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


RE: Fatal error: Broken assembler - hello example - Roogadget - 10-31-2024

To help debug, perhaps someone could post their environment variables and versions of the compiler, libraries, python libs and
pulpissimo.