Skip to content

Verilator build fails due to simutil reference #118

@alfadelta10010

Description

@alfadelta10010

Hi, am trying to build MemPool, this is the error I'm facing with app=hello_world make verilate

Error:

/usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x23
mem_area.o: in function `MemArea::Write(unsigned int, std::vector<unsigned char, std::allocator<unsigned char> > const&) const':
mem_area.cc:(.text+0x216): undefined reference to `simutil_set_mem'
/usr/bin/ld: mem_area.o: in function `MemArea::ReadToMinibuf(unsigned char*, unsigned int) const':
mem_area.cc:(.text+0x51a): undefined reference to `simutil_get_mem'
/usr/bin/ld: mem_area.o: in function `MemArea::LoadVmem(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const':
mem_area.cc:(.text+0x680): undefined reference to `simutil_memload'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [/home/server/mempool0/hardware/verilator_build/Vmempool_tb_verilator.mk:100: Vmempool_tb_verilator] Error 1
rm Vmempool_tb_verilator__ALL.verilator_deplist.tmp
make[1]: Leaving directory '/home/server/mempool0/hardware/verilator_build'
make: *** [Makefile:315: /home/server/mempool0/hardware/verilator_build/Vmempool_tb_verilator] Error 2

Config: Mempool 256 cores, default hello_world application

How do I rectify this issue?

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