spack: openmpi fails with intel@17.0.1
$ spack install -j1 openmpi@2.1.1%intel@17.0.1
==> xz is already installed in /home/certik/repos/spack/opt/spack/linux-fedora25-x86_64/intel-17.0.1/xz-5.2.3-ajkczqbkmo76meocrthfrwnbup3aclzk
==> zlib is already installed in /home/certik/repos/spack/opt/spack/linux-fedora25-x86_64/intel-17.0.1/zlib-1.2.11-27anjzuze64nyci6djr45njj4t2wjdz3
==> pkg-config is already installed in /home/certik/repos/spack/opt/spack/linux-fedora25-x86_64/intel-17.0.1/pkg-config-0.29.2-iln5fu3hz6i5lrnmqerngwzsjz4a4zwu
==> Installing libxml2
==> Using cached archive: /home/certik/repos/spack/var/spack/cache/libxml2/libxml2-2.9.4.tar.gz
==> Staging archive: /home/certik/repos/spack/var/spack/stage/libxml2-2.9.4-7x7qw2zw4yzxue3dbpbp34tajpzsxl7m/libxml2-2.9.4.tar.gz
==> Created stage in /home/certik/repos/spack/var/spack/stage/libxml2-2.9.4-7x7qw2zw4yzxue3dbpbp34tajpzsxl7m
==> No patches needed for libxml2
==> Building libxml2 [AutotoolsPackage]
==> Executing phase: 'autoreconf'
==> Executing phase: 'configure'
==> Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
'make'
4 errors found in build log:
[ ... ]
1147 icc: command line warning #10006: ignoring unknown option '-Wredundant-decls'
1148 ld: warning: libimf.so, needed by ./.libs/libxml2.so, not found (try using -rpath or -rpath-link)
1149 ld: warning: libsvml.so, needed by ./.libs/libxml2.so, not found (try using -rpath or -rpath-link)
1150 ld: warning: libirng.so, needed by ./.libs/libxml2.so, not found (try using -rpath or -rpath-link)
1151 ld: warning: libintlc.so.5, needed by ./.libs/libxml2.so, not found (try using -rpath or -rpath-link)
1152 ld: .libs/xmllint: hidden symbol `__intel_cpu_features_init_x' in /opt/intel/compilers_and_libraries_2017.1.132/linux/compiler/lib/intel64_lin/libirc.a(cpu_feature_disp.o) is referenced by DSO
>> 1153 ld: final link failed: Bad value
1154 Makefile:1117: recipe for target 'xmllint' failed
>> 1155 make[2]: *** [xmllint] Error 1
1156 make[2]: Leaving directory '/tmp/certik/spack-stage/spack-stage-YzPtwr/libxml2-2.9.4'
1157 Makefile:1440: recipe for target 'all-recursive' failed
>> 1158 make[1]: *** [all-recursive] Error 1
1159 make[1]: Leaving directory '/tmp/certik/spack-stage/spack-stage-YzPtwr/libxml2-2.9.4'
1160 Makefile:859: recipe for target 'all' failed
>> 1161 make: *** [all] Error 2
See build log for details:
The relevant part of the log is at the end:
CCLD testdso.la
CC xmllint.o
icc: command line warning #10006: ignoring unknown option '-Wno-format-extra-args'
icc: command line warning #10006: ignoring unknown option '-Wcast-align'
icc: command line warning #10006: ignoring unknown option '-Waggregate-return'
icc: command line warning #10006: ignoring unknown option '-Wnested-externs'
icc: command line warning #10006: ignoring unknown option '-Wredundant-decls'
CCLD xmllint
icc: command line warning #10006: ignoring unknown option '-Wno-format-extra-args'
icc: command line warning #10006: ignoring unknown option '-Wcast-align'
icc: command line warning #10006: ignoring unknown option '-Waggregate-return'
icc: command line warning #10006: ignoring unknown option '-Wnested-externs'
icc: command line warning #10006: ignoring unknown option '-Wredundant-decls'
ld: warning: libimf.so, needed by ./.libs/libxml2.so, not found (try using -rpath or -rpath-link)
ld: warning: libsvml.so, needed by ./.libs/libxml2.so, not found (try using -rpath or -rpath-link)
ld: warning: libirng.so, needed by ./.libs/libxml2.so, not found (try using -rpath or -rpath-link)
ld: warning: libintlc.so.5, needed by ./.libs/libxml2.so, not found (try using -rpath or -rpath-link)
ld: .libs/xmllint: hidden symbol `__intel_cpu_features_init_x' in /opt/intel/compilers_and_libraries_2017.1.132/linux/compiler/lib/intel64_lin/libirc.a(cpu_feature_disp.o) is referenced by DSO
ld: final link failed: Bad value
Makefile:1117: recipe for target 'xmllint' failed
make[2]: *** [xmllint] Error 1
make[2]: Leaving directory '/tmp/certik/spack-stage/spack-stage-YzPtwr/libxml2-2.9.4'
Makefile:1440: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/certik/spack-stage/spack-stage-YzPtwr/libxml2-2.9.4'
Makefile:859: recipe for target 'all' failed
make: *** [all] Error 2
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 19 (19 by maintainers)
Commits related to this issue
- Fix m4 to compile with Intel Fixes #5705. — committed to certik/spack by certik 9 years ago
- Fix m4 to compile with Intel (#5728) Fixes #5705. — committed to spack/spack by certik 9 years ago
I saw this before: https://software.intel.com/en-us/forums/intel-c-compiler/topic/720757, basically
__builtin_mul_overflowis a gcc-only function and intel doesn’t have it.