Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] gdb libmpi.dylib on Leopard
From: Aurélien Bouteiller (bouteill_at_[hidden])
Date: 2008-09-17 12:32:11

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/
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 ?


* 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