GNU bug report logs - #47429
allocating JIT code buffer failed: Permission denied

Previous Next

Package: guile;

Reported by: noloader <at> gmail.com

Date: Fri, 26 Mar 2021 22:49:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Jeffrey Walton <noloader <at> gmail.com>
To: 47429 <at> debbugs.gnu.org
Subject: bug#47429: Re 47429:allocating JIT code buffer failed: Permission denied
Date: Fri, 26 Mar 2021 21:29:07 -0400
This looks like the Apple article of interest:
https://developer.apple.com/documentation/apple-silicon/porting-just-in-time-compilers-to-apple-silicon.

According to the article, the page should be mapped with MAP_JIT.
Before instructions are written, pthread_jit_write_protect_np should
be called. After writing the jitted code, call
pthread_jit_write_protect_np again and call sys_icache_invalidate.

It looks like the OpenJDK folks are also experiencing similar issues.

Jeff




This bug report was last modified 4 years and 80 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.