Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux ld:致命错误:无法使用--plugin:ld是在没有插件支持的情况下编译的_Linux_Compiler Errors_Linker_Spack - Fatal编程技术网

Linux ld:致命错误:无法使用--plugin:ld是在没有插件支持的情况下编译的

Linux ld:致命错误:无法使用--plugin:ld是在没有插件支持的情况下编译的,linux,compiler-errors,linker,spack,Linux,Compiler Errors,Linker,Spack,我需要使用x86_64 GNU/Linux群集配置一些软件包,如superlu dist和tau。我正在使用spack安装tau版本2.30.1。我应该使用的编译器是gcc@7.1.0. 安装过程中出现了tau建筑阶段的错误: ld: fatal error: cannot use --plugin: ld was compiled without plugin support 312 collect2: error: ld returned 1 exit status 313 make[1]:

我需要使用x86_64 GNU/Linux群集配置一些软件包,如superlu dist和tau。我正在使用spack安装tau版本2.30.1。我应该使用的编译器是gcc@7.1.0. 安装过程中出现了tau建筑阶段的错误:

ld: fatal error: cannot use --plugin: ld was compiled without plugin support
312 collect2: error: ld returned 1 exit status
313 make[1]: *** [tau_convert] Error 1
...
332 collect2: error: ld returned 1 exit status
我尝试将-fno-use-linker插件添加到cflags中,但没有帮助。编译器设置如下所示:

compiler:
paths:
cc: /x/progs/gcc/GCC-7.1.0/bin/gcc
cxx: /x/progs/gcc/GCC-7.1.0/bin/g++
f77: /x/progs/gcc/GCC-7.1.0/bin/gfortran
fc: /x/progs/gcc/GCC-7.1.0/bin/gfortran
operating_system: centos7
target: x86_64
modules: []
environment: {}
extra_rpaths: []
flags:
    ldflags: -fuse-linker-plugin

spec: gcc@7.1.0
任何想法都将受到高度赞赏