I have been facing a weird problem for several month now (I guess
since I upgraded from Tiger to Leopard). I am unable to debug Open MPI
using gdb on my mac. The problem comes from gdb not being able to load
symbols from the dynamic libraries of Open MPI. I receive a message
"warning: Could not find object file "/Users/bouteill/ompi/debug.build/
opal/.libs/libopen-pal.lax/libmca_memory.a/memory_base_close.o" - no
debug information available for "../../../../trunk/opal/mca/memory/
base/memory_base_close.c".". As you can see, the path to the object
file containing the symbols is not correct. It links to the temporary
files expanded during the final stage link. As those files do not
exist anymore, gdb gets confused.
supposedly, the rpath option of libtool should take care of this and
correct the path to the symbols. Is anybody successful at debugging
Open MPI on Leopard ? Is this a bug of Open MPI or a bug in libtool/
gdb ? Any known fix ?
Aurelien
--
* Dr. Aurélien Bouteiller
* Sr. Research Associate at Innovative Computing Laboratory
* University of Tennessee
* 1122 Volunteer Boulevard, suite 350
* Knoxville, TN 37996
* 865 974 6321