<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40610 >
2009/1/6 Madeline Book:
>> [book - Sat Dec 27 20:10:43 2008]:
>> > [guest - Sat Dec 27 19:12:10 2008]:
>> > Compiling with -O0 (before was -O2) like:
>> > ./configure --prefix=/home/users/vip/freeciv --enable-debug
>> > CFLAGS="-O0" and server stopped hanging up while building cities.
>> > So, gcc bug?
>> Yes, it is looking more and more like the same situation we had
>> before, gcc 4.x optimizations break some parts of the code. I'll
>> try to find and "re-phrase" the code that is being miscompiled...
> I can confirm that the bug does not occur with gcc 4.3.2. :|
GCC bug causing havoc earlier was ever present in 4.2 branch only, in
versions 4.2.1 and 4.2.2. Our downloads page states that those
versions of gcc should not be used for compiling Freeciv. That
(particular) bug was fixed in gcc 4.2.3.
Freeciv-dev mailing list