Bug#859358: dolphin-emu shouldn't disable PIE

James Cowgill jcowgill at debian.org
Sun Apr 2 19:13:22 UTC 2017


Control: tags -1 moreinfo

On 02/04/17 20:06, Adrian Bunk wrote:
> Source: dolphin-emu
> Version: 5.0+dfsg-1
> Severity: normal
> Tags: patch
> 
> With gcc in stretch defaulting to PIE, hardening=+all,-pie changed
> semantics from "enable hardening but not PIE" to "enable all hardening
> and explicitely disable the default PIE".
> The latter is usually not intended.
> 
> The -pie in hardening flags was in some cases required in pre-stretch
> releases to avoid build failures caused by (incorrectly) passing -fPIE
> to the compiler when building shared libraries or plugins.
> This problem does no longer exist.

Using +all,-pie is intentional. dolphin-emu does some funky fixed memory
mapping and crashes when you try to run any game with pie enabled. I
think I saw an upstream PR which tries to add support for PIE, but I
don't think it's merged yet.

James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20170402/ed845288/attachment.sig>


More information about the Pkg-games-devel mailing list