On Fri, Feb 22, 2008 at 09:04:35PM +0100, Petr Kopecky wrote:
> Jeremy Allison wrote:
> 
> > On Thu, Feb 21, 2008 at 09:27:46PM +0100, Petr Kopecky wrote:
> > 
> >> I guess that for backtrace I have to compile samba with debugging
> >> symbols, haven't I?
> > 
> > Yep - that definately helps :-).
> 
> I am sorry but I cannot compile samba with debugging symbols on Gentoo :-(
> GDB always says that there are no debugging symbols.
> 
> Currently I am trying it with:
> CFLAGS="-march=k8 -O0 -ggdb"
> ./configure --enable-debug ....
> 
> Do you know what is wrong?

I usually remove any -O option and just compile with -g.
That fixes it for most platforms with gcc I know.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to