GNU bug report logs - #44505
Guile 3.0.4 build fails on macOS Big Sur / ARM

Previous Next

Package: guile;

Reported by: FX <fxcoudert <at> gmail.com>

Date: Sat, 7 Nov 2020 16:34:02 UTC

Severity: normal

Done: lloda <lloda <at> sarc.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 44505 in the body.
You can then email your comments to 44505 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#44505; Package guile. (Sat, 07 Nov 2020 16:34:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to FX <fxcoudert <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Sat, 07 Nov 2020 16:34:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: FX <fxcoudert <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: Guile 3.0.4 build fails on macOS Big Sur / ARM
Date: Sat, 7 Nov 2020 17:27:04 +0100
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



Reply sent to lloda <lloda <at> sarc.name>:
You have taken responsibility. (Wed, 21 Dec 2022 07:22:02 GMT) Full text and rfc822 format available.

Notification sent to FX <fxcoudert <at> gmail.com>:
bug acknowledged by developer. (Wed, 21 Dec 2022 07:22:02 GMT) Full text and rfc822 format available.

Message #10 received at 44505-done <at> debbugs.gnu.org (full text, mbox):

From: lloda <lloda <at> sarc.name>
To: 44505-done <at> debbugs.gnu.org
Subject: Re: Guile 3.0.4 build fails on macOS Big Sur / ARM
Date: Wed, 21 Dec 2022 08:20:55 +0100
Fixed in 3bdcc3668fd8f9a5b6c9a313ff8d70acb32b2a52.

Thanks

  Daniel





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 18 Jan 2023 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 99 days ago.

Previous Next


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