On Fri, Mar 21, 2014 at 5:15 PM, Markus Koschany <[email protected]> wrote: > On 21.03.2014 22:26, Jesse Smith wrote: >> So far I have not been able to reproduce the bug, however I suspect I >> know what the problem is. The Sopwith makefile includes a flag for >> optimization (-O2). Recent versions of the GCC compiler (version 4.7, >> 4.8) have changed the way code gets optimized and I have seen it cause a >> couple of games to crash at start-up. > > Thank you very much for your quick response. You are right, the optimization > is causing this > problem. On Debian -O2 is the default optimization flag and gcc 4.8 still the > default compiler. > With your Makefile and without any additional compiler flags, I can't > reproduce a crash either. > > The solution for Debian is to add this line to debian/rules: > > export DEB_BUILD_OPTIONS=noopt > > and sopwith will be built with -O0 optimization. I can confirm that this > solves the issue.
I'll put together a new package this weekend. KEN -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

