|
From: Xiaocheng Z. <aro...@gm...> - 2013-06-21 22:00:58
|
Hi, all I run into following problem when trying to use valgrind 3.8.1 to inspect MPI problem configure:9294: mpicc -o conftest -g -O -fno-omit-frame-pointer -Wall -fpic -m64 -fpic -shared -m64 conftest.c >&5 config.log |1941 /usr/bin/ld: /home/xzou2/build/mpich-3.0.2/lib/libmpich.a(msgprint.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC config.status* |1942 /home/xzou2/build/mpich-3.0.2/lib/libmpich.a: could not read symbols: Bad value config.sub* |1943 collect2: ld returned 1 exit status I tried configure mpich with 'with-pic', but i have same kind of error. i also tried to configure valgrind with ' --with-mpicc=any_bogus_name_will_do", the error is gone, but still, like other cases, the valgrind does not generate libmpiwrap.a. any suggestions? thanks chris |