[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Getting ready to land native-compilation on master
From: |
wilde |
Subject: |
Re: Getting ready to land native-compilation on master |
Date: |
Thu, 15 Apr 2021 13:19:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (berkeley-unix) |
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
cheers
sascha
- Re: Getting ready to land native-compilation on master, (continued)
- Re: Getting ready to land native-compilation on master, wilde, 2021/04/14
- Re: Getting ready to land native-compilation on master, Andrea Corallo, 2021/04/14
- Re: Getting ready to land native-compilation on master, Stefan Kangas, 2021/04/14
- Re: Getting ready to land native-compilation on master, Andrea Corallo, 2021/04/14
- Re: Getting ready to land native-compilation on master, wilde, 2021/04/15
- Re: Getting ready to land native-compilation on master,
wilde <=
- Re: Getting ready to land native-compilation on master, Andrea Corallo, 2021/04/15
- Re: Getting ready to land native-compilation on master, wilde, 2021/04/27
- Re: Getting ready to land native-compilation on master, Corwin Brust, 2021/04/27
- Re: Getting ready to land native-compilation on master, Jose E. Marchesi, 2021/04/28
- Re: Getting ready to land native-compilation on master, Arthur Miller, 2021/04/29
Re: Getting ready to land native-compilation on master, wilde, 2021/04/22