The ebuild qemu-user-0.9.0.ebuild makes a check for the existence of /sbin/paxctl to conditionally add -Wl,-z,execheap to VL_LDFLAGS. This is not a good approach since the existance of paxctl does not guarantee whether or not the emulator binaries will be run under a pax hardened kernel. A better approach might be to simply sed unconditionally. Reproducible: Always
(In reply to comment #0) dont know the right place but i noticed that app-emulation/qemu-kvm also includes a hardened useflag. You might want to look into that :)
qemu-user has been removed from the tree as its functionality has been superseded by the combined app-emulation/qemu package. if you find the qemu package does not support something that the qemu-user package did, please file a new bug explicitly detailing things so we can get it added.