Menu

#56 segfault with -march=athlon

open
nobody
None
5
2005-03-25
2005-03-25
Piotr Sawuk
No

when compiling on linux with any "-O" in the CFLAGS (except for "-O0")
together with "-march=athlon -mcpu=athlon" the game will crash when
using stethoscope or sometimes when viewing the massacre-list at the
end of the game. the solution is to re-compile. maybe some test for
autoconf could get written? the crash happens in the constructor of
festring on line 138 of FeLib/Include/festring.h and is probably a bug
in gcc.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I also experienced this bug, glad to know there's a
    workaround. Thanks!

     
  • Nobody/Anonymous

    Logged In: NO

    To be more specific, with Ivan 0.50, using GCC 3.3.6 and
    -march=athlon-xp -O2 on a plain Gentoo system.

     

Log in to post a comment.