-
Notifications
You must be signed in to change notification settings - Fork 387
Open
Labels
Description
Steps to reproduce the issue
$ spack spec -I [email protected] ~mpi ~openmp
- vlznman [email protected]~mpi~openmp build_system=autotools platform=linux os=sles15 target=zen2 %[email protected]
[^] toutdiv ^[email protected] build_system=generic platform=linux os=sles15 target=zen2
[e] pvkn5vv ^[email protected]~binutils+bootstrap~graphite~mold~nvptx~piclibs~profiled~strip build_system=autotools build_type=RelWithDebInfo languages:='c,c++,fortran' platform=linux os=sles15 target=zen2
[^] zracf7z ^[email protected] build_system=generic platform=linux os=sles15 target=zen2
[e] 55tksgk ^[email protected] build_system=autotools platform=linux os=sles15 target=zen2
[^] it24lin ^[email protected]~guile build_system=generic platform=linux os=sles15 target=zen2 %[email protected]
[^] j5db5a7 ^[email protected] build_system=autotools platform=linux os=sles15 target=zen2 %[email protected]
[^] hizu6da ^[email protected] build_system=autotools patches:=440b954 platform=linux os=sles15 target=zen2 %[email protected]
[^] tb7ebpu ^[email protected]+bzip2+curses+git~libunistring+libxml2+pic+shared+tar+xz build_system=autotools platform=linux os=sles15 target=zen2 %c,[email protected]
[^] ihl64hw ^[email protected]~debug~pic+shared build_system=generic platform=linux os=sles15 target=zen2 %[email protected]
[^] 7dvwukd ^[email protected] build_system=autotools libs:=shared,static platform=linux os=sles15 target=zen2 %[email protected]
[^] ms2ywb3 ^[email protected]~http+pic~python+shared build_system=autotools platform=linux os=sles15 target=zen2 %[email protected]
[^] x5hkpgx ^[email protected] build_system=autotools platform=linux os=sles15 target=zen2 %[email protected]
[^] z225vpc ^[email protected]+compat+new_strategies+opt+pic+shared build_system=autotools platform=linux os=sles15 target=zen2 %c,[email protected]
[^] q47b7vt ^[email protected]~symlinks+termlib abi=none build_system=autotools patches:=7a351bc platform=linux os=sles15 target=zen2 %c,[email protected]
[^] fhjcqkb ^[email protected] build_system=autotools zip=pigz platform=linux os=sles15 target=zen2 %[email protected]
[^] r3jwrta ^[email protected] build_system=makefile platform=linux os=sles15 target=zen2 %[email protected]
[^] ahaxtvz ^[email protected]+programs build_system=makefile compression:=none libs:=static platform=linux os=sles15 target=zen2 %c,[email protected]
[^] hnjyf3b ^[email protected]~pic build_system=autotools libs:=shared,static platform=linux os=sles15 target=zen2 %[email protected]
[e] 4yw6ftq ^[email protected]~binutils+bootstrap~graphite~mold~nvptx~piclibs+profiled+strip build_system=autotools build_type=Release languages:='c,c++,fortran' platform=linux os=sles15 target=zen2
[^] 7sxjwj6 ^[email protected] build_system=generic platform=linux os=sles15 target=zen2
[^] dn5635s ^[email protected]~guile build_system=generic platform=linux os=sles15 target=zen2 %[email protected]
[^] zvw7yli ^[email protected]+sigsegv build_system=autotools platform=linux os=sles15 target=zen2 %c,[email protected]
[^] hyd3y32 ^[email protected] build_system=autotools platform=linux os=sles15 target=zen2 %[email protected]
[^] 7raj3fj ^[email protected] build_system=autotools platform=linux os=sles15 target=zen2 %[email protected]
[^] 2lgkbnf ^[email protected]+compat+new_strategies+opt+pic+shared build_system=autotools platform=linux os=sles15 target=zen2 %c,[email protected]
Error message
Error message
==> Error: ProcessError: Command exited with status 2: '/user-environment/linux-zen2/gmake-4.4.1-it24linm4zstxgccc365rftulzbtwcqx/bin/make' '-j16' 'V=1' 69 errors found in build log: 547 libtool: link: /user-environment/linux-zen2/compiler-wrapper-1.0-toutdivonttvqcnoxqdt7skzw76ykgfu/libexec/spack/gcc/gcc -O2 -o example/options/.libs/sc_options example/options/options.o src /.libs/libsc.so -ljansson -lz -Wl,-rpath -Wl,/capstor/store/cscs/cscs/csstaff/simbergm/spack-configs/83acc642b139b98e268f5b4360754e16/opt/linux-zen2/p4est-2.8.7-vlznmantpg7e2oyqjez3dqdknhmfl t67/lib 548 libtool: link: /user-environment/linux-zen2/compiler-wrapper-1.0-toutdivonttvqcnoxqdt7skzw76ykgfu/libexec/spack/gcc/gcc -O2 -o example/options/.libs/sc_logging example/options/logging.o src /.libs/libsc.so -ljansson -lz -Wl,-rpath -Wl,/capstor/store/cscs/cscs/csstaff/simbergm/spack-configs/83acc642b139b98e268f5b4360754e16/opt/linux-zen2/p4est-2.8.7-vlznmantpg7e2oyqjez3dqdknhmfl t67/lib 549 libtool: link: /user-environment/linux-zen2/compiler-wrapper-1.0-toutdivonttvqcnoxqdt7skzw76ykgfu/libexec/spack/gcc/gcc -O2 -o example/testing/.libs/sc_test_shmem example/testing/sc_test_shm em.o src/.libs/libsc.so -ljansson -lz -Wl,-rpath -Wl,/capstor/store/cscs/cscs/csstaff/simbergm/spack-configs/83acc642b139b98e268f5b4360754e16/opt/linux-zen2/p4est-2.8.7-vlznmantpg7e2oyqjez3 dqdknhmflt67/lib 550 libtool: link: /user-environment/linux-zen2/compiler-wrapper-1.0-toutdivonttvqcnoxqdt7skzw76ykgfu/libexec/spack/gcc/gcc -O2 -o example/logging/.libs/sc_logging example/logging/logging.o src /.libs/libsc.so -ljansson -lz -Wl,-rpath -Wl,/capstor/store/cscs/cscs/csstaff/simbergm/spack-configs/83acc642b139b98e268f5b4360754e16/opt/linux-zen2/p4est-2.8.7-vlznmantpg7e2oyqjez3dqdknhmfl t67/lib 551 libtool: link: /user-environment/linux-zen2/compiler-wrapper-1.0-toutdivonttvqcnoxqdt7skzw76ykgfu/libexec/spack/gcc/gcc -O2 -o iniparser/.libs/sc_iniexample iniparser/sc_iniexample-iniexampl e.o src/.libs/libsc.so -ljansson -lz -Wl,-rpath -Wl,/capstor/store/cscs/cscs/csstaff/simbergm/spack-configs/83acc642b139b98e268f5b4360754e16/opt/linux-zen2/p4est-2.8.7-vlznmantpg7e2oyqjez3d qdknhmflt67/lib 552 libtool: link: /user-environment/linux-zen2/compiler-wrapper-1.0-toutdivonttvqcnoxqdt7skzw76ykgfu/libexec/spack/gcc/gcc -O2 -o example/v4l2/.libs/sc_v4l2 example/v4l2/v4l2.o src/.libs/libsc .so -ljansson -lz -Wl,-rpath -Wl,/capstor/store/cscs/cscs/csstaff/simbergm/spack-configs/83acc642b139b98e268f5b4360754e16/opt/linux-zen2/p4est-2.8.7-vlznmantpg7e2oyqjez3dqdknhmflt67/lib >> 553 /usr/bin/ld: src/.libs/libsc.so: undefined reference to `exp' >> 554 /usr/bin/ld: src/.libs/libsc.so: undefined reference to `lgamma' >> 555 /usr/bin/ld: src/.libs/libsc.so: undefined reference to `tan' >> 556 /usr/bin/ld: src/.libs/libsc.so: undefined reference to `log' >> 557 /usr/bin/ld: src/.libs/libsc.so: undefined reference to `sqrt' >> 558 collect2: error: ld returned 1 exit status 559 /usr/bin/ld: example/function/function.o: in function `func_sin': >> 560 function.c:(.text+0x19): undefined reference to `sin' 561 /usr/bin/ld: example/function/function.o: in function `func_sqrt': >> 562 function.c:(.text+0x30): undefined reference to `sqrt' >> 563 /usr/bin/ld: src/.libs/libsc.so: undefined reference to `exp' >> 564 /usr/bin/ld: src/.libs/libsc.so: undefined reference to `lgamma' >> 565 /usr/bin/ld: src/.libs/libsc.so: undefined reference to `tan' >> 566 /usr/bin/ld: src/.libs/libsc.so: undefined reference to `log' >> 567 make[3]: *** [Makefile:1396: libb64/sc_b64dec] Error 1
I think -lm
is simply missing, but it's unclear from where. p4est@=2.8 builds ok and I see -lm
in the linker flags for that version, so I assume it's gone missing somewhere after 2.8.
Information on your system
* **Spack:** 1.1.0.dev0 (https://github.com/spack/spack/commit/0786e10962d36c1cd3471b4628efb0a3db2a097c)
* **Builtin repo:** not available
* **Python:** 3.6.15
* **Platform:** linux-sles15-zen2
spack-packages commit is https://github.com/spack/spack-packages/commit/32c54f0906004d7fd1f72fd1b5970bf2bf094e26
(the repo is downloaded from a tarball, hence no info from spack debug report
).
Additional information
spack-build-out.txt
config.log
spack-build-env.txt
General information
- I have run
spack debug report
and reported the version of Spack/Python/Platform - I have run
spack maintainers <name-of-the-package>
and @mentioned any maintainers - I have uploaded the build log and environment files
- I have searched the issues of this repo and believe this is not a duplicate