Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] (PR#9740) Bus Error - CVS civclient on Mac OS X 10.3
Home

[Freeciv-Dev] (PR#9740) Bus Error - CVS civclient on Mac OS X 10.3

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: fchang@xxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#9740) Bus Error - CVS civclient on Mac OS X 10.3
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 24 Aug 2004 16:40:19 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9740 >

> [fchang@xxxxxxxxxxxxxxx - Tue Aug 24 21:47:38 2004]:
> 
> 
> On Aug 21, 2004, at 7:41 PM, Jason Short wrote:
> 
> > This backtrace isn't particularly helpful.  Between steps 0 and 1 there
> > is at least one other function call.  But your compiler has optimized 
> > it
> > away.  Can you try:
> >
> >   make clean
> >   make CFLAGS="-O0 -Wall -Werror"
> >
> > and then try again?
> 
> I recompiled as you suggested, except w/o the -Werror flag.  
> Interestingly enough, the game stopped crashing.  I'll have to include 
> the -Werror flag and compile again to see what may be causing the 
> crash.  Any insight you may have will also be helpful.  Thanks!

No way this was caused by -Werror.  It was surely caused by -O0.  Try
compiling with -O1, -O2, and/or -O3 and see what happens.

  make clean; make CFLAGS="-O1"

jason



[Prev in Thread] Current Thread [Next in Thread]