unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#44505: Guile 3.0.4 build fails on macOS Big Sur / ARM
@ 2020-11-07 16:27 FX
  0 siblings, 0 replies; only message in thread
From: FX @ 2020-11-07 16:27 UTC (permalink / raw)
  To: 44505

Compilation of Guile 3.0.4 on arm64-apple-darwin20 (macOS Big Sur with ARM hardware) fails with:

  GEN      guile-procedures.texi
allocating JIT code buffer failed: Permission denied
jit.c:5687: fatal: assertion failed
/bin/sh: line 1: 65000 Broken pipe: 13         cat alist.doc array-handle.doc array-map.doc arrays.doc async.doc atomic.doc backtrace.doc boolean.doc bitvectors.doc bytevectors.doc chars.doc control.doc continuations.doc debug.doc deprecated.doc deprecation.doc dynl.doc dynwind.doc eq.doc error.doc eval.doc evalext.doc exceptions.doc expand.doc extensions.doc fdes-finalizers.doc feature.doc filesys.doc fluids.doc foreign.doc fports.doc gc-malloc.doc gc.doc gettext.doc generalized-arrays.doc generalized-vectors.doc goops.doc gsubr.doc guardians.doc hash.doc hashtab.doc hooks.doc i18n.doc init.doc ioext.doc keywords.doc list.doc load.doc macros.doc mallocs.doc memoize.doc modules.doc numbers.doc objprop.doc options.doc pairs.doc ports.doc print.doc procprop.doc procs.doc promises.doc r6rs-ports.doc random.doc rdelim.doc read.doc rw.doc scmsigs.doc script.doc simpos.doc smob.doc sort.doc srcprop.doc srfi-1.doc srfi-4.doc srfi-13.doc srfi-14.doc srfi-60.doc stackchk.doc stacks.doc stime.doc strings.doc strorder.doc strports.doc struct.doc symbols.doc syntax.doc threads.doc throw.doc trees.doc unicode.doc uniform.doc values.doc variable.doc vectors.doc version.doc vports.doc weak-set.doc weak-table.doc weak-vector.doc dynl.doc posix.doc net_db.doc socket.doc regex-posix.doc
     65001 Abort trap: 6           | GUILE_AUTO_COMPILE=0 ../meta/build-env guild snarf-check-and-output-texi > guile-procedures.texi


The backtrace for this issue is:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib              0x00000001932bfcec __pthread_kill + 8
1   libsystem_pthread.dylib             0x00000001932f0c24 pthread_kill + 292
2   libsystem_c.dylib                   0x0000000193238864 abort + 104
3   libguile-3.0.1.dylib                0x00000001009092f8 die + 48
4   libguile-3.0.1.dylib                0x000000010090922c initialize_jit + 244
5   libsystem_pthread.dylib             0x00000001932ecdc8 __pthread_once_handler + 80
6   libsystem_platform.dylib            0x000000019333608c _os_once_callout + 32
7   libsystem_pthread.dylib             0x00000001932ecd5c pthread_once + 100
8   libguile-3.0.1.dylib                0x0000000100908dd0 scm_jit_compute_mcode + 732
9   libguile-3.0.1.dylib                0x0000000100962e88 vm_regular_engine + 364
10  libguile-3.0.1.dylib                0x0000000100960c6c scm_call_n + 356
11  libguile-3.0.1.dylib                0x0000000100912f10 scm_primitive_load_path + 820
12  libguile-3.0.1.dylib                0x0000000100963730 vm_regular_engine + 2580
13  libguile-3.0.1.dylib                0x0000000100960c6c scm_call_n + 356
14  libguile-3.0.1.dylib                0x0000000100912f10 scm_primitive_load_path + 820
15  libguile-3.0.1.dylib                0x0000000100903ad4 scm_load_startup_files + 56
16  libguile-3.0.1.dylib                0x0000000100903e64 scm_i_init_guile + 704
17  libguile-3.0.1.dylib                0x000000010095c374 scm_i_init_thread_for_guile + 156
18  libguile-3.0.1.dylib                0x000000010095e1b0 with_guile + 32
19  libgc.1.dylib                       0x0000000100a10f78 GC_call_with_stack_base + 36
20  libguile-3.0.1.dylib                0x000000010095c3c0 scm_with_guile + 44
21  libguile-3.0.1.dylib                0x0000000100903b4c scm_boot_guile + 80
22  guile                               0x00000001008b3e6c main + 208
23  libdyld.dylib                       0x000000019330cf54 start + 4


The latest macOS version implements some new restrictions: the MMU does not allow a physical page to be both writeable and executable. In particular, there is no possibility for executable stack.

FX Coudert




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-07 16:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-07 16:27 bug#44505: Guile 3.0.4 build fails on macOS Big Sur / ARM FX

unofficial mirror of bug-guile@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guile-bugs/0 guile-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guile-bugs guile-bugs/ https://yhetil.org/guile-bugs \
		bug-guile@gnu.org
	public-inbox-index guile-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.lisp.guile.bugs
	nntp://news.gmane.io/gmane.lisp.guile.bugs


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git