Let me summarise how it crashed on Xcode 15 with macOS 14.

To test it I've used two gcl via MacPorts:
 - gcl which is 2.6.14
 - gcl-devel which is the last available commit at master 01ed2e0b2f540031171d2258ddccb951735827e7

gcl is build with patches:
 - dont-override-CC-or-MACOSX_DEPLOYMENT_TARGET.patch
 - fix-memory-corruption-on-macOS.patch
 - compatibility-with-xcode15.diff
 - Respect-provided-CFLAGS-to-compile-bin-dpp.diff
 - old-macOS.patch

gcl-devel is using:
 - draft-posix-spawn.diff
 - compatibility-with-xcode15.diff
 - Respect-provided-CFLAGS-to-compile-bin-dpp.diff

Crashes attached as gcl.txt and gcl-devel.txt

It crashes the same way on arm64 when I use rosetta to emulate x86_64 and on native x86_64.

To make things easy I've attached all used patches / stacktrace to this email.

-- 
wbr, Kirill

Attachment: compatibility-with-xcode15.diff
Description: Binary data

Attachment: dont-override-CC-or-MACOSX_DEPLOYMENT_TARGET.patch
Description: Binary data

Attachment: draft-posix-spawn.diff
Description: Binary data

Attachment: fix-memory-corruption-on-macOS.patch
Description: Binary data

Attachment: old-macOS.patch
Description: Binary data

Attachment: Respect-provided-CFLAGS-to-compile-bin-dpp.diff
Description: Binary data

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               raw_pre_gcl [38055]
Path:                  /opt/local/var/macports/*/raw_pre_gcl
Identifier:            raw_pre_gcl
Version:               ???
Code Type:             X86-64 (Translated)
Parent Process:        Exited process [38054]
User ID:               502

Date/Time:             2023-12-23 13:57:48.9821 +0100
OS Version:            macOS 13.6.1 (22G313)
Report Version:        12
Anonymous UUID:        D8918AD7-A83C-CD04-0D1B-304BD8A04567


Time Awake Since Boot: 3000000 seconds

System Integrity Protection: disabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000

Termination Reason:    Namespace SIGNAL, Code 4 Illegal instruction: 4
Terminating Process:   exc handler [38055]

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   raw_pre_gcl                                0x1000a7421 siLheap_report + 177
1   raw_pre_gcl                                0x10005cd33 eval + 1699

Thread 1:: com.apple.rosetta.exceptionserver
0   runtime                                 0x7ff7ffcc2634 0x7ff7ffcbe000 + 
17972


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x000000030696f6d0  rbx: 0x00000001002c5620  rcx: 0x000000030696f000  
rdx: 0x00000001001c4780
  rdi: 0x00000001001c2ef0  rsi: 0x0000000000000010  rbp: 0x00000001001c4770  
rsp: 0x00000003064f09d0
   r8: 0x00000001001c4718   r9: 0x0000000000000000  r10: 0x00000000ffffff00  
r11: 0x000000010005e630
  r12: 0x00000001002c5610  r13: 0x0000000306610750  r14: 0x00000001000de530  
r15: 0xa000000000000000
  rip: <unavailable>       rfl: 0x0000000000000202
 tmp0: 0x00000001000a7421 tmp1: 0x0000000000000214 tmp2: 0x00000001023e21dc


Binary Images:
       0x2023f2000 -        0x20248dfff dyld (*) 
<3df96f32-b9c9-3566-a6b7-4daebc6d6563> /usr/lib/dyld
    0x7ff7ffcbe000 -     0x7ff7ffcedfff runtime (*) 
<15ccd9bf-9a15-3540-a1ff-3abea3e2ca9d> /usr/libexec/rosetta/runtime
       0x10a448000 -        0x10a49bfff libRosettaRuntime (*) 
<429951a9-d91e-35d5-aaea-eecb0a38f677> /Library/Apple/*/libRosettaRuntime
       0x100000000 -        0x1000cbfff raw_pre_gcl (*) 
<6981c0f7-d954-3cff-992f-4ce383f451bd> /opt/local/var/macports/*/raw_pre_gcl
       0x10aa9f000 -        0x10ab0efff libgmp.10.dylib (*) 
<f0a936e3-588a-3a8a-8133-5df827edb180> /opt/local/lib/libgmp.10.dylib
       0x10abcb000 -        0x10abf2fff libreadline.8.2.dylib (*) 
<95b2d753-4865-3d9e-b394-eda44c2f5577> /opt/local/lib/libreadline.8.2.dylib
       0x10ad10000 -        0x10ad4bfff libncurses.6.dylib (*) 
<e5ccba81-9a85-3aba-bffa-385555a52161> /opt/local/lib/libncurses.6.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=179.2M resident=0K(0%) 
swapped_out_or_unallocated=179.2M(100%)
Writable regions: Total=32.8G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) 
unallocated=32.8G(100%)

                                VIRTUAL   REGION
REGION TYPE                        SIZE    COUNT (non-coalesced)
===========                     =======  =======
Kernel Alloc Once                    8K        1
MALLOC                           137.1M       11
MALLOC guard page                   96K        4
MALLOC_NANO (reserved)           384.0M        1         reserved VM address 
space (unallocated)
Rosetta Arena                     4096K        2
Rosetta Generic                    788K      194
Rosetta IndirectBranch              32K        1
Rosetta JIT                      128.0M        1
Rosetta Return Stack                36K        2
Rosetta Thread Context              20K        2
Stack                             64.0M        1
Stack Guard                         16K        1
VM_ALLOCATE                      269.5M       10
VM_ALLOCATE (reserved)            31.8G        4         reserved VM address 
space (unallocated)
__DATA                            34.4M       44
__DATA_CONST                       290K       36
__DATA_DIRTY                        73K       23
__LINKEDIT                       171.8M       12
__OBJC_RO                         66.3M        1
__OBJC_RW                         2011K        2
__TEXT                            7636K       47
dyld private memory                260K        2
mapped file                        4.2G     1302
shared memory                       16K        1
unshared pmap                     2544K        2
===========                     =======  =======
TOTAL                             37.2G     1707
TOTAL, minus reserved VM space     5.1G     1707



-----------
Full Report
-----------

{"app_name":"raw_pre_gcl","timestamp":"2023-12-23 13:57:49.00 
+0100","app_version":"","slice_uuid":"6981c0f7-d954-3cff-992f-4ce383f451bd","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS
 13.6.1 
(22G313)","roots_installed":0,"incident_id":"CDB3D88B-156B-46B9-97CB-B7C25495A1BB","name":"raw_pre_gcl"}
{
  "uptime" : 3000000,
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 502,
  "deployVersion" : 210,
  "modelCode" : "Macmini9,1",
  "coalitionID" : 21750,
  "osVersion" : {
    "train" : "macOS 13.6.1",
    "build" : "22G313",
    "releaseType" : "User"
  },
  "captureTime" : "2023-12-23 13:57:48.9821 +0100",
  "incident" : "CDB3D88B-156B-46B9-97CB-B7C25495A1BB",
  "pid" : 38055,
  "translated" : true,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2023-12-23 13:57:48.4287 +0100",
  "procStartAbsTime" : 74169492749308,
  "procExitAbsTime" : 74169506025745,
  "procName" : "raw_pre_gcl",
  "procPath" : "\/opt\/local\/var\/macports\/*\/raw_pre_gcl",
  "parentProc" : "Exited process",
  "parentPid" : 38054,
  "coalitionName" : "com.openssh.sshd.5AAEEF91-BEC7-495F-9A99-DA2C2FDED97E",
  "crashReporterKey" : "D8918AD7-A83C-CD04-0D1B-304BD8A04567",
  "responsiblePid" : 12657,
  "codeSigningID" : "",
  "codeSigningTeamID" : "",
  "codeSigningValidationCategory" : 0,
  "codeSigningTrustLevel" : 0,
  "sip" : "disabled",
  "exception" : {"codes":"0x0000000000000001, 
0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_INSTRUCTION","signal":"SIGILL"},
  "termination" : {"flags":0,"code":4,"namespace":"SIGNAL","indicator":"Illegal 
instruction: 4","byProc":"exc handler","byPid":38055},
  "extMods" : 
{"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : 
[{"triggered":true,"id":12489562,"threadState":{"flavor":"x86_THREAD_STATE","rbp":{"value":4296820592,"symbolLocation":352,"symbol":"value_stack"},"r12":{"value":4297872912,"symbolLocation":0,"symbol":"vs_base"},"rosetta":{"tmp2":{"value":4332593628},"tmp1":{"value":532},"tmp0":{"value":4295652385}},"rbx":{"value":4297872928,"symbolLocation":0,"symbol":"vs_top"},"r8":{"value":4296820504,"symbolLocation":264,"symbol":"value_stack"},"r15":{"value":11529215046068469760},"r10":{"value":4294967040},"rdx":{"value":4296820608,"symbolLocation":368,"symbol":"value_stack"},"rdi":{"value":4296814320,"symbolLocation":0,"symbol":"tm_table"},"r9":{"value":0},"r13":{"value":12991924048},"rflags":{"value":514},"rax":{"value":12995458768},"rsp":{"value":12990745040},"r11":{"value":4295353904,"symbolLocation":0,"symbol":"fLeval"},"rcx":{"value":12995457024},"r14":{"value":4295877936,"symbolLocation":0,"symbol":"data_start"},"rsi":{"value":16}},"queue":"com.apple.main-thread","frames":[{"imageOffset":685089,"symbol":"siLheap_report","symbolLocation":177,"imageIndex":3},{"imageOffset":380211,"symbol":"eval","symbolLocation":1699,"imageIndex":3}]},{"id":12489566,"name":"com.apple.rosetta.exceptionserver","frames":[{"imageOffset":17972,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 8627625984,
    "size" : 638976,
    "uuid" : "3df96f32-b9c9-3566-a6b7-4daebc6d6563",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 140703125200896,
    "size" : 196608,
    "uuid" : "15ccd9bf-9a15-3540-a1ff-3abea3e2ca9d",
    "path" : "\/usr\/libexec\/rosetta\/runtime",
    "name" : "runtime"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4467228672,
    "size" : 344064,
    "uuid" : "429951a9-d91e-35d5-aaea-eecb0a38f677",
    "path" : "\/Library\/Apple\/*\/libRosettaRuntime",
    "name" : "libRosettaRuntime"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4294967296,
    "size" : 835584,
    "uuid" : "6981c0f7-d954-3cff-992f-4ce383f451bd",
    "path" : "\/opt\/local\/var\/macports\/*\/raw_pre_gcl",
    "name" : "raw_pre_gcl"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4473876480,
    "size" : 458752,
    "uuid" : "f0a936e3-588a-3a8a-8133-5df827edb180",
    "path" : "\/opt\/local\/lib\/libgmp.10.dylib",
    "name" : "libgmp.10.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4475105280,
    "size" : 163840,
    "uuid" : "95b2d753-4865-3d9e-b394-eda44c2f5577",
    "path" : "\/opt\/local\/lib\/libreadline.8.2.dylib",
    "name" : "libreadline.8.2.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4476436480,
    "size" : 245760,
    "uuid" : "e5ccba81-9a85-3aba-bffa-385555a52161",
    "path" : "\/opt\/local\/lib\/libncurses.6.dylib",
    "name" : "libncurses.6.dylib"
  }
],
  "sharedCache" : {
  "base" : 140703186042880,
  "size" : 21474836480,
  "uuid" : "16e792d8-c834-3734-86d7-2aabac58b63b"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=179.2M resident=0K(0%) 
swapped_out_or_unallocated=179.2M(100%)\nWritable regions: Total=32.8G 
written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=32.8G(100%)\n\n   
                             VIRTUAL   REGION \nREGION TYPE                     
   SIZE    COUNT (non-coalesced) \n===========                     =======  
======= \nKernel Alloc Once                    8K        1 \nMALLOC             
              137.1M       11 \nMALLOC guard page                   96K        
4 \nMALLOC_NANO (reserved)           384.0M        1         reserved VM 
address space (unallocated)\nRosetta Arena                     4096K        2 
\nRosetta Generic                    788K      194 \nRosetta IndirectBranch     
         32K        1 \nRosetta JIT                      128.0M        1 
\nRosetta Return Stack                36K        2 \nRosetta Thread Context     
         20K        2 \nStack                             64.0M        1 
\nStack Guard                         16K        1 \nVM_ALLOCATE                
      269.5M       10 \nVM_ALLOCATE (reserved)            31.8G        4        
 reserved VM address space (unallocated)\n__DATA                            
34.4M       44 \n__DATA_CONST                       290K       36 
\n__DATA_DIRTY                        73K       23 \n__LINKEDIT                 
      171.8M       12 \n__OBJC_RO                         66.3M        1 
\n__OBJC_RW                         2011K        2 \n__TEXT                     
       7636K       47 \ndyld private memory                260K        2 
\nmapped file                        4.2G     1302 \nshared memory              
         16K        1 \nunshared pmap                     2544K        2 
\n===========                     =======  ======= \nTOTAL                      
       37.2G     1707 \nTOTAL, minus reserved VM space     5.1G     1707 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "logWritingSignature" : "ecc16b996c486b5ae43e48e9f63fbe89ca5a9b8c",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "5ffde50ce2aacd000d47a95f",
      "factorPackIds" : {

      },
      "deploymentId" : 240000352
    },
    {
      "rolloutId" : "63508950b3714d3622fc77f7",
      "factorPackIds" : {
        "SIRI_MEMORY_SYNC_CONFIG" : "63508beab3714d3622fc7808"
      },
      "deploymentId" : 240000004
    }
  ],
  "experiments" : [

  ]
}
}
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               raw_pre_gcl [41760]
Path:                  /opt/local/var/macports/*/raw_pre_gcl
Identifier:            raw_pre_gcl
Version:               ???
Code Type:             X86-64 (Translated)
Parent Process:        Exited process [41759]
User ID:               502

Date/Time:             2023-12-23 13:58:28.2355 +0100
OS Version:            macOS 13.6.1 (22G313)
Report Version:        12
Anonymous UUID:        D8918AD7-A83C-CD04-0D1B-304BD8A04567


Time Awake Since Boot: 3000000 seconds

System Integrity Protection: disabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGABRT)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes:       0x0000000000000001, 0x0000000000000000

Termination Reason:    Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process:   raw_pre_gcl [41760]

VM Region Info: 0 is not in any region.  Bytes before following region: 
4294967296
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX 
SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->
      __TEXT                      100000000-1000d4000    [  848K] r-x/r-x 
SM=COW  ...*/raw_pre_gcl

Application Specific Information:
abort() called


Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   ???                                     0x7ff8936ce9a8 ???
1   libsystem_kernel.dylib                  0x7ff803a831e2 __pthread_kill + 10
2   libsystem_pthread.dylib                 0x7ff803abaee6 pthread_kill + 263
3   libsystem_c.dylib                       0x7ff8039e1b45 abort + 123
4   raw_pre_gcl                                0x10000dd6e error + 334
5   ???                                                0x0 ???
6   raw_pre_gcl                                0x10000d29d main + 893
7   dyld                                       0x202a9e41f start + 1903

Thread 1:: com.apple.rosetta.exceptionserver
0   runtime                                 0x7ff7ffbe7634 0x7ff7ffbe3000 + 
17972


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x0000000000000000  
rdx: 0x0000000000000000
  rdi: 0x00000001000bf5bb  rsi: 0x0000000000000003  rbp: 0x0000000000000000  
rsp: 0x00007ff84719cfc8
   r8: 0x0000000202b40280   r9: 0x0000000000000000  r10: 0x0000000000000000  
r11: 0x00007ff84719cfc0
  r12: 0x0000000000000103  r13: 0x000000010ad21c20  r14: 0x0000000000000006  
r15: 0x0000000000000016
  rip: <unavailable>       rfl: 0x0000000000000283
 tmp0: 0xffffffffffffffff tmp1: 0x00007ff8936ce97c tmp2: 0x00007ff803a831d8


Binary Images:
       0x202a98000 -        0x202b33fff dyld (*) 
<3df96f32-b9c9-3566-a6b7-4daebc6d6563> /usr/lib/dyld
    0x7ff7ffbe3000 -     0x7ff7ffc12fff runtime (*) 
<15ccd9bf-9a15-3540-a1ff-3abea3e2ca9d> /usr/libexec/rosetta/runtime
       0x10a8b0000 -        0x10a903fff libRosettaRuntime (*) 
<429951a9-d91e-35d5-aaea-eecb0a38f677> /Library/Apple/*/libRosettaRuntime
       0x100000000 -        0x1000d3fff raw_pre_gcl (*) 
<bb41194c-394f-30b1-ab9f-73a4819a3be0> /opt/local/var/macports/*/raw_pre_gcl
       0x10af07000 -        0x10af76fff libgmp.10.dylib (*) 
<f0a936e3-588a-3a8a-8133-5df827edb180> /opt/local/lib/libgmp.10.dylib
       0x10b033000 -        0x10b05afff libreadline.8.2.dylib (*) 
<95b2d753-4865-3d9e-b394-eda44c2f5577> /opt/local/lib/libreadline.8.2.dylib
       0x10b178000 -        0x10b1b3fff libncurses.6.dylib (*) 
<e5ccba81-9a85-3aba-bffa-385555a52161> /opt/local/lib/libncurses.6.dylib
               0x0 - 0xffffffffffffffff ??? (*) 
<00000000-0000-0000-0000-000000000000> ???
    0x7ff803a7b000 -     0x7ff803ab4fff libsystem_kernel.dylib (*) 
<3f11f30e-7216-3a5a-8f7d-504e349b672b> /usr/lib/system/libsystem_kernel.dylib
    0x7ff803ab5000 -     0x7ff803ac0fff libsystem_pthread.dylib (*) 
<3a3fa85c-f1fe-336c-bf68-924fc947ade3> /usr/lib/system/libsystem_pthread.dylib
    0x7ff803962000 -     0x7ff8039e9ff7 libsystem_c.dylib (*) 
<a720129c-c1cf-3e62-9d76-aa6fa0d31333> /usr/lib/system/libsystem_c.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=179.2M resident=0K(0%) 
swapped_out_or_unallocated=179.2M(100%)
Writable regions: Total=32.8G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) 
unallocated=32.8G(100%)

                                VIRTUAL   REGION
REGION TYPE                        SIZE    COUNT (non-coalesced)
===========                     =======  =======
Kernel Alloc Once                    8K        1
MALLOC                           137.1M       11
MALLOC guard page                   96K        4
MALLOC_NANO (reserved)           384.0M        1         reserved VM address 
space (unallocated)
Rosetta Arena                     4096K        2
Rosetta Generic                    744K      183
Rosetta IndirectBranch              32K        1
Rosetta JIT                      128.0M        1
Rosetta Return Stack                20K        2
Rosetta Thread Context              20K        2
Stack                             64.0M        1
Stack Guard                         16K        1
VM_ALLOCATE                      269.5M        9
VM_ALLOCATE (reserved)            31.8G        5         reserved VM address 
space (unallocated)
__DATA                            38.7M       44
__DATA_CONST                       290K       36
__DATA_DIRTY                        73K       23
__LINKEDIT                       171.8M       12
__OBJC_RO                         66.3M        1
__OBJC_RW                         2011K        2
__TEXT                            7668K       47
dyld private memory                260K        2
mapped file                        4.2G     1302
shared memory                       16K        1
unshared pmap                     2544K        2
===========                     =======  =======
TOTAL                             37.2G     1696
TOTAL, minus reserved VM space     5.1G     1696



-----------
Full Report
-----------

{"app_name":"raw_pre_gcl","timestamp":"2023-12-23 13:58:28.00 
+0100","app_version":"","slice_uuid":"bb41194c-394f-30b1-ab9f-73a4819a3be0","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS
 13.6.1 
(22G313)","roots_installed":0,"incident_id":"56AE9127-7CBF-488F-93D2-05A858BD442F","name":"raw_pre_gcl"}
{
  "uptime" : 3000000,
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 502,
  "deployVersion" : 210,
  "modelCode" : "Macmini9,1",
  "coalitionID" : 21750,
  "osVersion" : {
    "train" : "macOS 13.6.1",
    "build" : "22G313",
    "releaseType" : "User"
  },
  "captureTime" : "2023-12-23 13:58:28.2355 +0100",
  "incident" : "56AE9127-7CBF-488F-93D2-05A858BD442F",
  "pid" : 41760,
  "translated" : true,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2023-12-23 13:58:28.1436 +0100",
  "procStartAbsTime" : 74170445910126,
  "procExitAbsTime" : 74170448111294,
  "procName" : "raw_pre_gcl",
  "procPath" : "\/opt\/local\/var\/macports\/*\/raw_pre_gcl",
  "parentProc" : "Exited process",
  "parentPid" : 41759,
  "coalitionName" : "com.openssh.sshd.5AAEEF91-BEC7-495F-9A99-DA2C2FDED97E",
  "crashReporterKey" : "D8918AD7-A83C-CD04-0D1B-304BD8A04567",
  "responsiblePid" : 12657,
  "codeSigningID" : "",
  "codeSigningTeamID" : "",
  "codeSigningValidationCategory" : 0,
  "codeSigningTrustLevel" : 0,
  "sip" : "disabled",
  "vmRegionInfo" : "0 is not in any region.  Bytes before following region: 
4294967296\n      REGION TYPE                    START - END         [ VSIZE] 
PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      
__TEXT                      100000000-1000d4000    [  848K] r-x\/r-x SM=COW  
...*\/raw_pre_gcl",
  "exception" : {"codes":"0x0000000000000001, 
0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_ACCESS","signal":"SIGABRT","subtype":"KERN_INVALID_ADDRESS
 at 0x0000000000000000"},
  "termination" : {"flags":0,"code":6,"namespace":"SIGNAL","indicator":"Abort 
trap: 6","byProc":"raw_pre_gcl","byPid":41760},
  "vmregioninfo" : "0 is not in any region.  Bytes before following region: 
4294967296\n      REGION TYPE                    START - END         [ VSIZE] 
PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      
__TEXT                      100000000-1000d4000    [  848K] r-x\/r-x SM=COW  
...*\/raw_pre_gcl",
  "asi" : {"libsystem_c.dylib":["abort() called"]},
  "extMods" : 
{"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : 
[{"triggered":true,"id":12497309,"threadState":{"flavor":"x86_THREAD_STATE","rbp":{"value":0},"r12":{"value":259},"rosetta":{"tmp2":{"value":140703189971416},"tmp1":{"value":140705602005372},"tmp0":{"value":18446744073709551615}},"rbx":{"value":0},"r8":{"value":8635286144,"symbolLocation":0,"symbol":"_main_thread"},"r15":{"value":22},"r10":{"value":0},"rdx":{"value":0},"rdi":{"value":4295751099},"r9":{"value":0},"r13":{"value":4476509216},"rflags":{"value":643},"rax":{"value":0},"rsp":{"value":140704321490888,"symbolLocation":248,"symbol":"__sFX"},"r11":{"value":140704321490880,"symbolLocation":240,"symbol":"__sFX"},"rcx":{"value":0},"r14":{"value":6},"rsi":{"value":3}},"queue":"com.apple.main-thread","frames":[{"imageOffset":140705602005416,"imageIndex":7},{"imageOffset":33250,"symbol":"__pthread_kill","symbolLocation":10,"imageIndex":8},{"imageOffset":24294,"symbol":"pthread_kill","symbolLocation":263,"imageIndex":9},{"imageOffset":523077,"symbol":"abort","symbolLocation":123,"imageIndex":10},{"imageOffset":56686,"symbol":"error","symbolLocation":334,"imageIndex":3},{"imageOffset":0,"imageIndex":7},{"imageOffset":53917,"symbol":"main","symbolLocation":893,"imageIndex":3},{"imageOffset":25631,"symbol":"start","symbolLocation":1903,"imageIndex":0}]},{"id":12497313,"name":"com.apple.rosetta.exceptionserver","frames":[{"imageOffset":17972,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 8634597376,
    "size" : 638976,
    "uuid" : "3df96f32-b9c9-3566-a6b7-4daebc6d6563",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 140703124303872,
    "size" : 196608,
    "uuid" : "15ccd9bf-9a15-3540-a1ff-3abea3e2ca9d",
    "path" : "\/usr\/libexec\/rosetta\/runtime",
    "name" : "runtime"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4471848960,
    "size" : 344064,
    "uuid" : "429951a9-d91e-35d5-aaea-eecb0a38f677",
    "path" : "\/Library\/Apple\/*\/libRosettaRuntime",
    "name" : "libRosettaRuntime"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4294967296,
    "size" : 868352,
    "uuid" : "bb41194c-394f-30b1-ab9f-73a4819a3be0",
    "path" : "\/opt\/local\/var\/macports\/*\/raw_pre_gcl",
    "name" : "raw_pre_gcl"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4478496768,
    "size" : 458752,
    "uuid" : "f0a936e3-588a-3a8a-8133-5df827edb180",
    "path" : "\/opt\/local\/lib\/libgmp.10.dylib",
    "name" : "libgmp.10.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4479725568,
    "size" : 163840,
    "uuid" : "95b2d753-4865-3d9e-b394-eda44c2f5577",
    "path" : "\/opt\/local\/lib\/libreadline.8.2.dylib",
    "name" : "libreadline.8.2.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4481056768,
    "size" : 245760,
    "uuid" : "e5ccba81-9a85-3aba-bffa-385555a52161",
    "path" : "\/opt\/local\/lib\/libncurses.6.dylib",
    "name" : "libncurses.6.dylib"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703189938176,
    "size" : 237568,
    "uuid" : "3f11f30e-7216-3a5a-8f7d-504e349b672b",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703190175744,
    "size" : 49152,
    "uuid" : "3a3fa85c-f1fe-336c-bf68-924fc947ade3",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703188787200,
    "size" : 557048,
    "uuid" : "a720129c-c1cf-3e62-9d76-aa6fa0d31333",
    "path" : "\/usr\/lib\/system\/libsystem_c.dylib",
    "name" : "libsystem_c.dylib"
  }
],
  "sharedCache" : {
  "base" : 140703186042880,
  "size" : 21474836480,
  "uuid" : "16e792d8-c834-3734-86d7-2aabac58b63b"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=179.2M resident=0K(0%) 
swapped_out_or_unallocated=179.2M(100%)\nWritable regions: Total=32.8G 
written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=32.8G(100%)\n\n   
                             VIRTUAL   REGION \nREGION TYPE                     
   SIZE    COUNT (non-coalesced) \n===========                     =======  
======= \nKernel Alloc Once                    8K        1 \nMALLOC             
              137.1M       11 \nMALLOC guard page                   96K        
4 \nMALLOC_NANO (reserved)           384.0M        1         reserved VM 
address space (unallocated)\nRosetta Arena                     4096K        2 
\nRosetta Generic                    744K      183 \nRosetta IndirectBranch     
         32K        1 \nRosetta JIT                      128.0M        1 
\nRosetta Return Stack                20K        2 \nRosetta Thread Context     
         20K        2 \nStack                             64.0M        1 
\nStack Guard                         16K        1 \nVM_ALLOCATE                
      269.5M        9 \nVM_ALLOCATE (reserved)            31.8G        5        
 reserved VM address space (unallocated)\n__DATA                            
38.7M       44 \n__DATA_CONST                       290K       36 
\n__DATA_DIRTY                        73K       23 \n__LINKEDIT                 
      171.8M       12 \n__OBJC_RO                         66.3M        1 
\n__OBJC_RW                         2011K        2 \n__TEXT                     
       7668K       47 \ndyld private memory                260K        2 
\nmapped file                        4.2G     1302 \nshared memory              
         16K        1 \nunshared pmap                     2544K        2 
\n===========                     =======  ======= \nTOTAL                      
       37.2G     1696 \nTOTAL, minus reserved VM space     5.1G     1696 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "logWritingSignature" : "1c651c0865e9f90b403484587089b86e61ec7607",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "5ffde50ce2aacd000d47a95f",
      "factorPackIds" : {

      },
      "deploymentId" : 240000352
    },
    {
      "rolloutId" : "63508950b3714d3622fc77f7",
      "factorPackIds" : {
        "SIRI_MEMORY_SYNC_CONFIG" : "63508beab3714d3622fc7808"
      },
      "deploymentId" : 240000004
    }
  ],
  "experiments" : [

  ]
}
}

On 23. Dec 2023, at 11:53, Kirill A. Korinsky <kir...@korins.ky> wrote:

well... seems that Xcode 15 with macOS 13+ requires additional patches.

attached patch allows to pass configure but build failed at:
COMPILER>/bin/sh: line 1: 15229 Illegal instruction: 4 

at the attempt to run raw_pre_gcl. I'll try to investigate this (get the stacktrace) in next few days.

Here I've attached two patches:
1. add missed sizeof(char) which is used inside code, but never checked
2. add missed unistd.h which is nessesary to pass checking on xcode 15 on macOS 13

-- 
wbr, Kirill

<xcode15.diff>
<sizeof-char.diff>

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to