具体错误:
Generating precompiled header precompiled.hpp.gch clang: error: unknown argument: '-fpch-deps' make[6]: *** [precompiled.hpp.gch] Error 1
解决办法:
hotspot/make/bsd/makefiles/gcc.make,注释相应语句,结果如下:
# ifeq ($(USE_CLANG),) # ifneq ($(CC_VER_MAJOR), 2) # DEPFLAGS += -fpch-deps # endif # endif