kukugt / mupen64plus

Automatically exported from code.google.com/p/mupen64plus
0 stars 0 forks source link

Executable stack #95

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
* Distribution: Gentoo
* Machine type: 64-bit
* Mupen64Plus version: 1.3, head

Mupen64plus uses an executable stack. Linking with -Wl,-z,noexecstack does
not solve the problem.

Naturally, PaX is not amused:

PAX: execution attempt in: <anonymous mapping>, 006a5000-02e4a000 006a5000
PAX: terminating task: /usr/games/bin/mupen64plus(mupen64plus):22859,
uid/euid: 1000/1000, PC: 0000000002dde410, SP: 0000000040803fd8
PAX: bytes at PC: 48 81 ec 18 00 00 00 48 89 e0 48 81 e8 08 00 00 00 48 a3 e0 
PAX: bytes at SP-8: 00000000029d2500 000000000046fe55 00000000029d2e20
000000000044072e 00000000029d2500 0000000000421af8 00000000004223b0
0000000000000000 0000000000000000 0000000000000000 0000000000000000

Tail of Mupen64 console output:

Starting r4300 emulator
R4300 Core mode: Dynamic Recompiler
R4300 core: starting 64-bit dynamic recompiler at: 0x2dde410.
Killed

Original issue reported on code.google.com by tenebra...@gmail.com on 19 May 2008 at 8:37

GoogleCodeExporter commented 8 years ago
This is a feature, not a bug.  The executable stack is required for the dynamic
recompiler; that's how it works.  If you do not use the dynamic recompiler for 
the
r4300 core then you shouldn't have this problem.

Original comment by richard...@gmail.com on 21 May 2008 at 6:56