[Issue 11171] Text relocations in Phobos shared library

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 31 15:07:54 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=11171



--- Comment #4 from Martin Krejcirik <mk at krej.cz> 2013-10-31 23:07:52 CET ---
(In reply to comment #3)
> Duplicate of #5278?

Likely, but it's not just Gentoo. I use Grsecurity kernel on Debian and get
this error:

./prog: error while loading shared libraries:
/usr/local/lib/libphobos2.so.0.64: cannot make segment writable for relocation:
Permission denied

The only solution is to disable MPROTECT for given exacutable.
http://pax.grsecurity.net/docs/mprotect.txt

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list