Opened 8 months ago

Closed 8 months ago

#68271 closed defect (fixed)

sbcl-bootstrap @2.1.2: mmap: Operation not permitted

Reported by: Dulthaus Owned by: catap (Kirill A. Korinsky)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: sonoma arm64 Cc:
Port: sbcl-bootstrap

Description (last modified by ryandesign (Ryan Carsten Schmidt))

The executable builds but does not run on MacOS 14 (arm64)

./sbcl
This is SBCL 2.1.2, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
mmap: Operation not permitted
fatal error encountered in SBCL pid 30626 pthread 0x1e79ad300:
load_core_bytes(3,10000,0x300000000,10000) failed

Bad frame pointer 0x1e79ad3ac [valid range=0x3000000000000..0x100000000]

Change History (9)

comment:1 Changed 8 months ago by jmroot (Joshua Root)

Owner: set to catap
Status: newassigned

comment:2 Changed 8 months ago by catap (Kirill A. Korinsky)

This is fixed issue in latest release of SBCL https://bugs.launchpad.net/sbcl/+bug/2029430 but nobody (yet) released a version which includes it.

I've raised a question in mailling list. Probably in few days it can be fixed.

See: https://sourceforge.net/p/sbcl/mailman/sbcl-devel/thread/411090D1-7C10-4BD3-8B5B-666F2A0F53BC%40korins.ky/#msg39000346

Last edited 8 months ago by catap (Kirill A. Korinsky) (previous) (diff)

comment:3 Changed 8 months ago by catap (Kirill A. Korinsky)

Dulthaus, I haven't got access to macOS Sonoma. May I ask your to try to install ecl port?

comment:4 Changed 8 months ago by Dulthaus

I am no lisp expert, but it builds and seems to be working fine:

> ecl
ECL (Embeddable Common-Lisp) 23.9.9 (git:UNKNOWN)
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2013 Juan J. Garcia-Ripoll
Copyright (C) 2018 Daniel Kochmanski
Copyright (C) 2023 Daniel Kochmanski and Marius Gerbershagen
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.  
Top level in: #<process TOP-LEVEL 0x10429cee0>.
> (print "test")          

"test" 
"test"
>

comment:5 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: sonoma arm64 added
Summary: sbcl-bootstrap @ 2.1.2: mmap: Operation not permittedsbcl-bootstrap @2.1.2: mmap: Operation not permitted

but nobody (yet) released a version which includes it

2.3.9 was released today including the fix for this issue.

comment:6 in reply to:  5 ; Changed 8 months ago by catap (Kirill A. Korinsky)

Replying to ryandesign:

2.3.9 was released today including the fix for this issue.

The fix was included into 2.3.8 release, but we need binary precompiled version with that fix to be able to use it to bootstrap SBCL.

comment:7 in reply to:  4 Changed 8 months ago by catap (Kirill A. Korinsky)

Replying to Dulthaus:

I am no lisp expert, but it builds and seems to be working fine

Thanks.

I've made a PR https://github.com/macports/macports-ports/pull/20627 which using ECL to bootsrap SBCL which is also possible, but requires much more time.

comment:8 in reply to:  6 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to catap:

Replying to ryandesign:

2.3.9 was released today including the fix for this issue.

The fix was included into 2.3.8 release, but we need binary precompiled version with that fix to be able to use it to bootstrap SBCL.

Oh, yes, oops. You said nobody had released a version with the fix, so when I looked at the issue, and saw that its status had been changed from "Fix Committed" to "Fix Released" on 2023-08-28, I misread "08" as "09" and assumed it had been released in the hours after your comment.

So, they've released it, but they haven't uploaded a binary? Do they not plan to create binaries?

comment:9 Changed 8 months ago by catap (Kirill A. Korinsky)

Resolution: fixed
Status: assignedclosed

In 7194d31b14d809ecd579dbce8bacb77f585edcc9/macports-ports (master):

sbcl: update to 2.3.9; fix build on macOS 14

Closes: #68271

Note: See TracTickets for help on using tickets.