[Bug 3329] ioquake smashs the stack

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Fri Oct 5 14:48:35 EDT 2007


http://bugzilla.icculus.org/show_bug.cgi?id=3329





------- Comment #14 from next_ghost at quick.cz  2007-10-05 14:48 EDT -------
I've read something about Gentoo hardened profile and found this:
1) -O3 optimization breaks stack smashing protection
2) SELinux prevents mprotect() from setting execute permissions on memory block

ioquake3 compiled with -O2 shouldn't trigger stack smashing protection anymore.
However, you'll have to disable SELinux mprotect() changes or compile with
`make HAVE_VM_COMPILED=0` which will make everything _REALLY_ slow.

Quake3 uses QVM files as dynamically linked libraries containing game code. QVM
uses platform indepent pseudo-RISC code. It must be compiled into native
instructions during map load. The engine must then set execute permissions to
be able to use the compiled bytecode.


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



More information about the quake3-bugzilla mailing list