<div dir="ltr">Hello,<div><br></div><div>I'm trying to compile glusterfs-3.4.2 with debugging information.</div><div><br></div><div>I tried:</div><div><br></div><div><div> ./configure --prefix=/usr --enable-debug=yes</div>
<div> make</div><div> make install</div><div><br></div><div>But when I do "gdb glusterfsd" I'm still getting a "no debugging symbols found" message.<br></div><div><br></div><div>I also tried with "ex<span style="color:rgb(0,0,0);white-space:pre-wrap">port enable_debug=yes" as suggested in [1] without success.</span></div>
<div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">At the end of ./configure it indeed says "</span><font color="#000000"><span style="white-space:pre-wrap">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.</span></font></div>
</div><div><font color="#000000"><span style="white-space:pre-wrap"><br></span></font></div><div><font color="#000000"><span style="white-space:pre-wrap">Can anyone guide me on how to embed the debug symbols in the gluster daemon?</span></font></div>
<div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">[1] </span><font color="#000000"><span style="white-space:pre-wrap"><a href="http://www.gluster.org/pipermail/gluster-users/2013-December/038390.html">http://www.gluster.org/pipermail/gluster-users/2013-December/038390.html</a></span></font></div>
<div><br></div><div>Thanks,</div><div><br></div>-- <br>Lluís<br><br></div></div>