问题描述
我需要使用 x86_64 GNU/Linux 集群使用 tau 分析一些软件包,例如 superlu-dist。我正在使用 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-plugin 添加到 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
任何想法都受到高度赞赏。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)