Skip to content

Fatal Error message whilst running the 'hello' example #432

@LiamSkirrow

Description

@LiamSkirrow

Hi there! I'm attempting to run the hello example obtained from here, but am running into the following error message:

liam-skirrow:~/Documents/code/pulpissimo/sw/pulp-runtime/hello$ make all
Setting platform to rtl
CC  test.c
mkdir -p `dirname /home/liam-skirrow/Documents/code/pulpissimo/sw/pulp-runtime/hello/build/test/test.o`
/pulp-gcc-2.5.0//bin/riscv32-unknown-elf-gcc  -c test.c -o /home/liam-skirrow/Documents/code/pulpissimo/sw/pulp-runtime/hello/build/test/test.o -MMD -MP -march=rv32imcxgap9 -O3 -g -D__riscv__ -fdata-sections -ffunction-sections -include chips/pulp/config.h -I/home/liam-skirrow/Documents/code/pulpissimo/sw/pulp-runtime/include/chips/pulp  -fno-jump-tables -fno-tree-loop-distribute-patterns -D__PLATFORM__=ARCHI_PLATFORM_RTL -DCONFIG_IO_UART=0 -DCONFIG_IO_UART_BAUDRATE=115200 -DCONFIG_IO_UART_ITF=0 -I/home/liam-skirrow/Documents/code/pulpissimo/sw/pulp-runtime/lib/libc/minimal/include -I/home/liam-skirrow/Documents/code/pulpissimo/sw/pulp-runtime/include -I/home/liam-skirrow/Documents/code/pulpissimo/sw/pulp-runtime/kernel 
internal error: can't hash `pv.add.h.div2': exists
Assembler messages:
Fatal error: Broken assembler.  No assembly attempted.
make: *** [/home/liam-skirrow/Documents/code/pulpissimo/sw/pulp-runtime/rules/pulpos/default_rules.mk:257: /home/liam-skirrow/Documents/code/pulpissimo/sw/pulp-runtime/hello/build/test/test.o] Error 1

I have built the riscv toolchain and have placed the 'hello' example at the path pulpissimo/sw/pulp-runtime/hello which I believe is correct, but would like to have that confirmed. Any pointers would be appreciated since I'm pretty stuck on this at the moment. It's also worth noting that I can compile test C programs with the riscv-unknown-elf-gcc compiler with no troubles, so I believe this is an issue with the Pulpissimo repo or the test 'hello' program I'm attempting to run. I would alternatively run with the full SDK instead but it appears that (according to the README) that the full SDK is not supported with the current release?

I'm running on Ubuntu 24.04.1 LTS in case that's relevant.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions