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

Verilator build fails due to simutil reference #118

Open
alfadelta10010 opened this issue Oct 31, 2024 · 0 comments
Open

Verilator build fails due to simutil reference #118

alfadelta10010 opened this issue Oct 31, 2024 · 0 comments

Comments

@alfadelta10010
Copy link

alfadelta10010 commented Oct 31, 2024

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?

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