clang: error: unknown argument: ‘-fpch-deps‘

简介: clang: error: unknown argument: ‘-fpch-deps‘

具体错误:


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

 

目录
相关文章
|
缓存 PHP
Composer 报错 Error while processing content unencoding: Unknown failure within ...
Composer 报错 Error while processing content unencoding: Unknown failure within ...
212 0
|
6月前
An unexpected error was encountered while executing a WSL command. Common causes include access righ
An unexpected error was encountered while executing a WSL command. Common causes include access righ
npm ERR! typeerror Error: Missing required argument #1
npm ERR! typeerror Error: Missing required argument #1
756 0
|
存储 Linux Docker
snapshotter not loaded: overlayfs: invalid argument
snapshotter not loaded: overlayfs: invalid argument
199 0
|
关系型数据库 MySQL C++
fatal error C1189: #error: STL1003: Unexpected compiler, expected C++ compiler
fatal error C1189: #error: STL1003: Unexpected compiler, expected C++ compiler
473 0
TypeError: custom() got an unexpected keyword argument ‘path‘
TypeError: custom() got an unexpected keyword argument ‘path‘
150 0
|
计算机视觉
成功解决TypeError: __init__() got an unexpected keyword argument 'n_iterations'
成功解决TypeError: __init__() got an unexpected keyword argument 'n_iterations'
|
C++
编译OpenJDK11:fixpath Unknown argument: -nologo
编译OpenJDK11:fixpath Unknown argument: -nologo
120 0
error: invalid argument ‘-std=gnu++98‘ not allowed with ‘C‘
error: invalid argument ‘-std=gnu++98‘ not allowed with ‘C‘
116 0
MAC编译OpenJDK8:error: invalid argument ‘-std=gnu++98‘ not allowed with ‘C‘
MAC编译OpenJDK8:error: invalid argument ‘-std=gnu++98‘ not allowed with ‘C‘
106 0