On Wed, 2003-09-10 at 10:52, Brian Candler wrote:
> On Wed, Sep 10, 2003 at 10:18:54AM +0100, Andrew Ingram wrote:
> > Could you please tell me how to compile with optimizations turned off? Is
> > there one central place where that is set, or do I have to go into all the
> > Makefiles?
> 
> Try:
> 
>   CFLAGS="-I.. -I./.. -Wall -g"
>   export CFLAGS
>   ./configure ...etc
> 
> This is the same as the default CFLAGS but without '-O2'
> 
> The other thing I'd say you should do is read the "sig11 FAQ" (easily found
> on Google). Basically this says that if your system gives random sig11
> errors when under load, it could well be a hardware problem.
> 
> Try doing a kernel compile several times on the same box on which you are
> running sqwebmail. If gcc bombs out at different places with a sig11, then
> it's almost certainly a hardware problem (most often a dodgy RAM chip; if
> you have multiple banks then remove each bank in turn to isolate the
> problem)

Brian,

thank you very much for the tip. I had thought about this method, but
was worried that the CFLAGS specified manually by me would be later
overwritten. But I'll give this a go.

I will also check out the sig11 FAQ. Thanks. I'm not expecting it to be
hardware though, it's on a server that was, pre me putting SqWebmail on
it, an extremely busy pop3 server and it did not sig11 then. But I'll
investigate all avenues.

Thanks,
Andrew




Reply via email to