[quake3-bugzilla] [Bug 5702] QVM execution crashes when compiled with -fstack-protector

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Mon Jul 2 17:16:07 EDT 2012


https://bugzilla.icculus.org/show_bug.cgi?id=5702

--- Comment #2 from /dev/humancontroller <devhc97 at gmail.com> 2012-07-02 17:16:04 EDT ---
Created attachment 3245
  --> https://bugzilla.icculus.org/attachment.cgi?id=3245
do not use fast call hacks

(instant patch for symlink)

on some platforms, fast call hacks are used in ioquake3 to yield some minor
performance gains. in r2282, i marked Clang/LLVM as a platform where these
hacks should not be used. this is required because of how Clang/LLVM-generated
code works by default. the hacks still work with GCC (on some platforms) by
default, but not when the stack protector feature is enabled.

btw, i suspect that the gains are imperceptible anyway. note: they are, for
example, turned off in Tremulous (an ioquake3-based mod) at all times.

-- 
Configure bugmail: https://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the quake3-bugzilla mailing list