<div dir="ltr">Hello,<div><br></div><div>I&#39;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 &quot;gdb glusterfsd&quot; I&#39;m still getting a &quot;no debugging symbols found&quot; message.<br></div><div><br></div><div>I also tried with &quot;ex<span style="color:rgb(0,0,0);white-space:pre-wrap">port enable_debug=yes&quot; 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 &quot;</span><font color="#000000"><span style="white-space:pre-wrap">Enable Debug: yes&quot;, and when doing &quot;make -n&quot; I can see that the correct flags &quot;-g -O0&quot; are passed to gcc. My guess is that at some point of &quot;make install&quot; the debug symbols are striped, but I don&#39;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>