Re: miata and samba3
Jean-Sébastien Guay <[email protected]>
| Newsgroups | gmane.linux.gentoo.alpha |
|---|---|
| Message-ID | <[email protected]> |
Hi Jeff,
>Signal 11, Segmentation Faults are usually either
>1) Program bugs
>2) Bugs introduced by compiler optimizers
>
>One of the previous messages in this thread showed
>someone using -O3 in their CFLAGS. You could try
>bumping the optimization level down to -O2 and see if
>that fixes anything. Short of that, the only way to
>figure it out for sure is to do some debugging of
>Samba with gdb. Getting a core file would be a start.
>
>
In my case, here's the relevant part of my make.conf :
CFLAGS="-mieee -O2 -mcpu=ev56 -pipe"
CHOST="alphaev56-unknown-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
I think that's relatively conservative.
Other than that, how do I get a core file? I assume there's something I
need to enable so that programs will dump core when a segfault occurs,
but I don't know what. But other than providing a core file and
answering questions about my config, there isn't much I can do to zero
in on the problem since I don't know how to use gdb (to get anything
meaningful, in any case...)
Thanks for your help,
J-S
--
___________________________________________
Jean-Sébastien Guay [email protected]
http://whitestar02.webhop.org/
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 2005/02/10
--
[email protected] mailing list