You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/bin/ld: CMakeFiles/hpx.dir/performance_counters/registry.cpp.o: relocation R_X86_64_PC32 against `_ZTVN3hpx20performance_counters6server19arithmetics_counterISt10multipliesIdEEE' can not be used when making a shared object; recompile with -fPIC
<diehlpk_work> /usr/bin/ld: final link failed: Bad value
Using this cmake command with hpx master
cmake
-DBOOST_ROOT=/RQusagers/p108903/opt/boost/1.64/
-DHWLOC_INCLUDE_DIR=/RQusagers/p108903/opt/hwloc/include
-DHWLOC_LIBRARY=/RQusagers/p108903/opt/hwloc/lib/libhwloc.so
-DTCMALLOC_LIBRARY=/RQusagers/p108903/opt/gperftools/lib/libtcmalloc_minimal.so
-DTCMALLOC_INCLUDE_DIR=/RQusagers/p108903/opt/gperftools/include
..
delivers
/usr/bin/ld: CMakeFiles/hpx.dir/performance_counters/registry.cpp.o: relocation R_X86_64_PC32 against `_ZTVN3hpx20performance_counters6server19arithmetics_counterISt10multipliesIdEEE' can not be used when making a shared object; recompile with -fPIC
<diehlpk_work> /usr/bin/ld: final link failed: Bad value
Compiler:
-bash-3.2$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/RQAutofs/users/p108903/opt/gcc/6.3/bin/../libexec/gcc/x86_64-pc-linux-gnu/6.3.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ./configure --prefix=/RQusagers/p108903/opt/gcc/6.3 -enable-languages=c,fortran,c++ --disable-multilib
Thread model: posix
gcc version 6.3.0 (GCC)
Plattform:
Linux cottos.rqchp.qc.ca 2.6.18-128.el5 #1 SMP Wed Jan 21 10:41:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: