這個錯誤莫名其妙。
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