eisenxp / macos-golink-wrapper

solution to "syscall.Mprotect panic: permission denied" on macOS Catalina 10.15.x
MIT License
219 stars 53 forks source link

M1.arm64 macOS 12.1 not work #7

Open apa7 opened 2 years ago

apa7 commented 2 years ago

Golang took a long time to compile and finally failed

Traceback (most recent call last): File "/usr/local/go/pkg/tool/darwin_arm64/original_link", line 14, in output = subprocess.check_output([os.path.dirname(file) + '/' + original_link_file] + sys.argv[1:], cwd=os.getcwd()) File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/subprocess.py", line 415, in check_output return run(popenargs, stdout=PIPE, timeout=timeout, check=True, File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/subprocess.py", line 493, in run with Popen(popenargs, **kwargs) as process: File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/subprocess.py", line 858, in init self._execute_child(args, executable, preexec_fn, close_fds, File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/subprocess.py", line 1639, in _execute_child self.pid = _posixsubprocess.fork_exec( BlockingIOError: [Errno 35] Resource temporarily unavailable

vaf714 commented 2 years ago

The same problem, did you solve it?