I'm trying to compile glusterfs-3.4.2 with debugging information.
./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.