With branch 26c7e503ef06f5f5bb7aa7197923fcf260974056, NEMU will report error as follows
git clone https://github.com/OpenXiangShan/NEMU.git
export NEMU_HOME=$(pwd)
git checkout 26c7e503ef06f5f5bb7aa7197923fcf260974056
make riscv64-xs_defconfig
make -j
SPECIALIZE_TYPE=RISCV make -s -C /home/jn/Desktop/NEMU/resource/softfloat/repo/build/Linux-x86_64-GCC all
mkdir -p resource/softfloat/build
ln -sf /home/jn/Desktop/NEMU/resource/softfloat/repo/build/Linux-x86_64-GCC/softfloat.a resource/softfloat/build/softfloat.a
src/checkpoint/serializer.cpp: In member function ‘void Serializer::serializePMem(uint64_t)’:
src/checkpoint/serializer.cpp:53:28: error: ‘MEMORY_SIZE’ was not declared in this scope; did you mean ‘PMEM_SIZE’?
53 | const size_t PMEM_SIZE = MEMORY_SIZE;
| ^~~~~~~~~~~
| PMEM_SIZE
make: *** [/home/jn/Desktop/NEMU/scripts/build.mk:53: /home/jn/Desktop/NEMU/build/obj-riscv64-nemu-interpreter/src/checkpoint/serializer.opp] Error 1
With branch 26c7e503ef06f5f5bb7aa7197923fcf260974056, NEMU will report error as follows