Opened 2 years ago

Closed 13 months ago

#63752 closed defect (fixed)

sbcl @2.1.10: mmap: Cannot allocate memory

Reported by: frink0 (Liam Stitt) Owned by: easye
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: monterey Cc:
Port: sbcl

Description (last modified by reneeotten (Renee Otten))

Hi. This is failing to compile thusly:

Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/sbcl/sbcl-2.1.10-source.tar.bz2' | /usr/bin/tar -xf -
--->  Extracting sbcl-1.2.11-x86-64-darwin-binary.tar.bz2
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/sbcl/sbcl-1.2.11-x86-64-darwin-binary.tar.bz2' | /usr/bin/tar -xf -
--->  Applying patches to sbcl
--->  Applying patch-contrib-sb-posix-posix-tests.lisp.diff
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-2.1.10" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/sbcl/files/patch-contrib-sb-posix-posix-tests.lisp.diff'
patching file contrib/sb-posix/posix-tests.lisp
Hunk #1 succeeded at 535 with fuzz 2 (offset -1 lines).
--->  Applying patch-use-right-gcc.diff
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-2.1.10" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/sbcl/files/patch-use-right-gcc.diff'
patching file src/runtime/Config.ppc-darwin
Hunk #1 succeeded at 19 with fuzz 2.
--->  Applying patch-sbcl-realtime.diff
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-2.1.10" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/sbcl/files/patch-sbcl-realtime.diff'
patching file ./src/runtime/runtime.c
Hunk #1 succeeded at 64 (offset 2 lines).
patching file ./src/runtime/runtime.h
--->  Patching sbcl.1: s|/usr/local/lib/sbcl|/opt/local/lib/sbcl|g
--->  Configuring sbcl
--->  Building sbcl
mmap: Cannot allocate memory
ensure_space: failed to validate 1073741824 bytes at 0x1000000000
(hint: Try "ulimit -a"; maybe you should increase memory limits.)
No working host Common Lisp implementation.
See ./INSTALL, the "SOURCE DISTRIBUTION" section
Command failed: SBCL_MACOSX_VERSION_MIN=12.0 CC=/usr/bin/clang CXX=/usr/bin/clang++ CPP=/usr/bin/cpp sh ./make.sh --fancy --prefix=/opt/local --xc-host="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.2.11-x86-64-darwin/src/runtime/sbcl --core /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.2.11-x86-64-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null"

Attachments (1)

main.log (14.2 KB) - added by frink0 (Liam Stitt) 2 years ago.

Download all attachments as: .zip

Change History (4)

Changed 2 years ago by frink0 (Liam Stitt)

Attachment: main.log added

comment:1 Changed 2 years ago by reneeotten (Renee Otten)

Description: modified (diff)
Keywords: monterey added
Owner: set to easye
Port: sbcl added
Status: newassigned

comment:2 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: sbcl 2.1.10 not compiling on 12.0.1 m1sbcl @2.1.10: mmap: Cannot allocate memory
Version: 2.7.1

comment:3 Changed 13 months ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

sbcl has been updated several times since this ticket, and the current version builds broadly, including on Monterey Intel

https://build.macports.org/builders/ports-12_x86_64-builder/builds/61171

Note: See TracTickets for help on using tickets.