It seems that there might have been a problem during build of PCM files. As @couet pointed out, I would suggest limiting the number of parallel processes during build.
Maybe you can try removing lib/*.pcm
files and let make
trigger the rebuild of those
$ rm lib/*.pcm
$ gmake -j8
See related post here: WSL Build from source error: RInt.pcm is out of date \ cannot read module signature
Cheers,
J.