gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gluster-devel] Embedding debug symbols in glusterfsd


From: Lluís Pàmies i Juárez
Subject: [Gluster-devel] Embedding debug symbols in glusterfsd
Date: Tue, 4 Feb 2014 14:27:30 -0800

Hello,

I'm trying to compile glusterfs-3.4.2 with debugging information.

I tried:

   ./configure --prefix=/usr --enable-debug=yes
   make
   make install

But when I do "gdb glusterfsd" I'm still getting a "no debugging symbols found" message.

I also tried with "export enable_debug=yes" as suggested in [1] without success.

At the end of ./configure it indeed says "Enable Debug: yes", and when doing "make -n" I can see that the correct flags "-g -O0" are passed to gcc. My guess is that at some point of "make install" the debug symbols are striped, but I don't see where.

Can anyone guide me on how to embed the debug symbols in the gluster daemon?

[1] http://www.gluster.org/pipermail/gluster-users/2013-December/038390.html

Thanks,

--
Lluís


reply via email to

[Prev in Thread] Current Thread [Next in Thread]