[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting ready to land native-compilation on master

From: Andrea Corallo
Subject: Re: Getting ready to land native-compilation on master
Date: Thu, 15 Apr 2021 16:23:07 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

wilde@sha-bang.de writes:

> Eli Zaretskii <eliz@gnu.org> wrote:
>>> - I hat to disable memory protection on the system to make the native
>>>   compiler work:
>>>     sysctl -w security.pax.mprotect.global=0
>>>     sysctl -w security.pax.mprotect.enabled=0
>>>   This is not a Emacs specific problem but a problem with libgccjit
>>>   itself.  (The basic gcc jit "Hello World" example also fails with
>>>   memory protection in place).
>> I'm not sure I understand why this happens, but I think this issue
>> should be reported to the GCC Bugzilla.
> It turns out, that disabling security.pax.mprotect.global is enough,
> however this still poses a potential security risk and means that
> libgccjit can not be used on default setup of NetBSD.
> I created a upstream report:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096



reply via email to

[Prev in Thread] Current Thread [Next in Thread]