>>> On 1/14/2009 at  4:41 PM, "Marko Lindqvist" <cazf...@gmail.com> wrote: 
> 2009/1/14 Dominique Leuenberger <dominique.leuenber...@tmf-group.com>:
>> Good day everybody,
>>
>> I'm part of the team building RPMs for openSUSE. Today we got a report from 
> a user of freeciv that, whenever he creates a city in online mode, his
>> client disconnects.
> 
>  Which version of gcc? There used to be problem just like this caused
> by gcc 4.2.1 & 4.2.2 miscompilation when optimization level -O2 is
> used. Even if you are using 4.3.x gcc, you may want to test with lower
> optimization level.
> 
>  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33381

Thank you very much for the reply.
The user reported it against openSUSE 11.1, which means it is compiled with gcc 
4.3

CFLAGS is set to 

CFLAGS='-march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall 
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables 
-fasynchronous-unwind-tables
-fno-strict-aliasing'

What Optimization would you recommend? -O1 or -O0? 

Then: is it fine with you if I copy your reply in our bugzilla tracking system? 

Dominique

_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to