[MacPorts] #65188: sbcl: fatal error encountered in SBCL pid 16153: dynamic space too small for core

MacPorts noreply at macports.org
Thu Jun 2 11:46:33 UTC 2022


#65188: sbcl: fatal error encountered in SBCL pid 16153: dynamic space too small
for core
---------------------------+----------------------
  Reporter:  barracuda156  |      Owner:  easye
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:
      Port:  sbcl          |
---------------------------+----------------------

Comment (by tomio-arisaka):

 Replying to [comment:21 barracuda156]:
 >
 > There is some info on `pthread_getspecific` here:
 https://lifecs.likai.org/2010/05/mac-os-x-thread-local-storage.html


 On Tiger, **gcc4** included in Xcode-2.5 cannot compile 'tls.c'.
 But **gcc7** can compile 'tls.c' without any errors:


 {{{
 $ cat ./tls.c
 static int __thread x;
 int main() { return 0; }
 $
 $ gcc-mp-7 --version
 gcc-mp-7 (MacPorts gcc7 7.5.0_3) 7.5.0
 Copyright (C) 2017 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.

 $
 $ gcc-mp-7 ./tls.c
 $
 $ otool -L ./a.out
 ./a.out:
         /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
 version 1.0.0)
         /opt/local/lib/libgcc/libgcc_s.1.dylib (compatibility version
 1.0.0, current version 1.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 88.1.12)
 $
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/65188#comment:22>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list