On 1/14/09, Dominique Leuenberger <dominique.leuenber...@tmf-group.com> wrote:
>>>> 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

This was reported before; for even more information see our ticket:
http://bugs.freeciv.org/Ticket/Display.html?id=40610

Stock gcc 4.3 compiles freeciv fine even with -O2 (at least that is true on
my system). I suspect that certain distros have added patches to their
gcc which are now causing certain code to be miscompiled. -O1 fixes it,
but it is possible that disabling just the optimizations caused by the custom
patches would also fix the problem.


-----------------------------------------------------------------------
小さな手落ち、大きな結果。

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

Reply via email to