I build mold project with strip tool in the elftoolchain and the problem in #456 seems disappeared.
I have tested this patch by building the whole llvm project with mold and their is no problem on that.
BTW, mold replace the Makefile with CMake in the recent version. So I also modify the port to make it work.