LBL-EESA / alquimia-dev

Alquimia is an interface that exposes the capabilities of mature geochemistry codes such as [CrunchFlow](http://www.github.com/cisteefel/crunchtope) and [PFLOTRAN](https://bitbucket.org/pflotran/pflotran-dev).
Other
18 stars 30 forks source link

Problem with GCC-4.8.4 on BG/Q, missing DL functions? #49

Open keitat opened 7 years ago

keitat commented 7 years ago

This is what I came across when building Alquimia BG/Q (Vesta at ANL) using Spack. I used GCC-4.8.4.

==> Error: ProcessError: Command exited with status 2: 'make' '-j48'

3 errors found in build log: [ ... ] 202 /soft/compilers/gcc/4.8.4/lib/gcc/powerpc64-bgq-linux/4.8.4/../../../../powerpc64-bgq-linux/lib/libm.a(fclrexcpt.o):(.toc+0x0): undefined reference to _dl_hwcap' 203 /soft/compilers/gcc/4.8.4/lib/gcc/powerpc64-bgq-linux/4.8.4/../../../../powerpc64-bgq-linux/lib/libm.a(fesetenv.o):(.toc+0x0): undefined reference to_dl_hwcap' 204 /soft/compilers/gcc/4.8.4/lib/gcc/powerpc64-bgq-linux/4.8.4/../../../../powerpc64-bgq-linux/lib/libm.a(fedisblxcpt.o):(.toc+0x0): undefined reference to _dl_hwcap' 205 /soft/compilers/gcc/4.8.4/lib/gcc/powerpc64-bgq-linux/4.8.4/../../../../powerpc64-bgq-linux/lib/libm.a(feenablxcpt.o):(.toc+0x0): undefined reference to_dl_hwcap' 206 /soft/compilers/gcc/4.8.4/lib/gcc/powerpc64-bgq-linux/4.8.4/../../../../powerpc64-bgq-linux/lib/libm.a(fraiseexcpt.o):(.toc+0x0): undefined reference to _dl_hwcap' 207 /soft/compilers/gcc/4.8.4/lib/gcc/powerpc64-bgq-linux/4.8.4/../../../../powerpc64-bgq-linux/lib/libm.a(feholdexcpt.o):(.toc+0x0): more undefined references to_dl_hwcap' follow

208 collect2: error: ld returned 1 exit status 209 make[2]: [unit_tests/test_alquimia_c_utils_exe] Error 1 210 make[2]: Leaving directory `/tmp/teranish/spack-stage/spack-stage-xbc3YG/alquimia-dev/spack-build' 211 make[1]: [unit_tests/CMakeFiles/test_alquimia_c_utils_exe.dir/all] Error 2 212 make[1]: Waiting for unfinished jobs.... 213 /soft/compilers/gcc/4.8.4/lib/gcc/powerpc64-bgq-linux/4.8.4/../../../../powerpc64-bgq-linux/lib/libm.a(fclrexcpt.o):(.toc+0x0): undefined reference to _dl_hwcap' 214 /soft/compilers/gcc/4.8.4/lib/gcc/powerpc64-bgq-linux/4.8.4/../../../../powerpc64-bgq-linux/lib/libm.a(fesetenv.o):(.toc+0x0): undefined reference to_dl_hwcap' 215 /soft/compilers/gcc/4.8.4/lib/gcc/powerpc64-bgq-linux/4.8.4/../../../../powerpc64-bgq-linux/lib/libm.a(fedisblxcpt.o):(.toc+0x0): undefined reference to _dl_hwcap' 216 /soft/compilers/gcc/4.8.4/lib/gcc/powerpc64-bgq-linux/4.8.4/../../../../powerpc64-bgq-linux/lib/libm.a(feenablxcpt.o):(.toc+0x0): undefined reference to_dl_hwcap' 217 /soft/compilers/gcc/4.8.4/lib/gcc/powerpc64-bgq-linux/4.8.4/../../../../powerpc64-bgq-linux/lib/libm.a(fraiseexcpt.o):(.toc+0x0): undefined reference to _dl_hwcap' 218 /soft/compilers/gcc/4.8.4/lib/gcc/powerpc64-bgq-linux/4.8.4/../../../../powerpc64-bgq-linux/lib/libm.a(feholdexcpt.o):(.toc+0x0): more undefined references to_dl_hwcap' follow 219 collect2: error: ld returned 1 exit status 220 make[2]: [drivers/batch_chem] Error 1 221 make[2]: Leaving directory /tmp/teranish/spack-stage/spack-stage-xbc3YG/alquimia-dev/spack-build' 222 make[1]: *** [drivers/CMakeFiles/batch_chem.dir/all] Error 2 223 /soft/compilers/gcc/4.8.4/lib/gcc/powerpc64-bgq-linux/4.8.4/../../../../powerpc64-bgq-linux/lib/libm.a(fclrexcpt.o):(.toc+0x0): undefined reference to_dl_hwcap' 224 /soft/compilers/gcc/4.8.4/lib/gcc/powerpc64-bgq-linux/4.8.4/../../../../powerpc64-bgq-linux/lib/libm.a(fesetenv.o):(.toc+0x0): undefined reference to _dl_hwcap' 225 /soft/compilers/gcc/4.8.4/lib/gcc/powerpc64-bgq-linux/4.8.4/../../../../powerpc64-bgq-linux/lib/libm.a(fedisblxcpt.o):(.toc+0x0): undefined reference to_dl_hwcap' 226 /soft/compilers/gcc/4.8.4/lib/gcc/powerpc64-bgq-linux/4.8.4/../../../../powerpc64-bgq-linux/lib/libm.a(feenablxcpt.o):(.toc+0x0): undefined reference to _dl_hwcap' 227 /soft/compilers/gcc/4.8.4/lib/gcc/powerpc64-bgq-linux/4.8.4/../../../../powerpc64-bgq-linux/lib/libm.a(fraiseexcpt.o):(.toc+0x0): undefined reference to_dl_hwcap' 228 /soft/compilers/gcc/4.8.4/lib/gcc/powerpc64-bgq-linux/4.8.4/../../../../powerpc64-bgq-linux/lib/libm.a(feholdexcpt.o):(.toc+0x0): more undefined references to _dl_hwcap' follow 229 collect2: error: ld returned 1 exit status 230 make[2]: *** [drivers/transport] Error 1 231 make[2]: Leaving directory/tmp/teranish/spack-stage/spack-stage-xbc3YG/alquimia-dev/spack-build' 232 make[1]: [drivers/CMakeFiles/transport.dir/all] Error 2 233 make[1]: Leaving directory `/tmp/teranish/spack-stage/spack-stage-xbc3YG/alquimia-dev/spack-build' 234 make: [all] Error 2