Here it is:

SYSTEM>(init-system)
loading 
/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_catap_macports-ports_lang_gcl/gcl-devel/work/01ed2e0b2f540031171d2258ddccb951735827e7/gcl/unixport/../lsp/gcl_s.lsp
loading 
/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_catap_macports-ports_lang_gcl/gcl-devel/work/01ed2e0b2f540031171d2258ddccb951735827e7/gcl/unixport/../lsp/gcl_sf.lsp
loading 
/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_catap_macports-ports_lang_gcl/gcl-devel/work/01ed2e0b2f540031171d2258ddccb951735827e7/gcl/unixport/../lsp/gcl_rm.lsp
loading 
/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_catap_macports-ports_lang_gcl/gcl-devel/work/01ed2e0b2f540031171d2258ddccb951735827e7/gcl/unixport/../lsp/gcl_dl.lsp
loading 
/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_catap_macports-ports_lang_gcl/gcl-devel/work/01ed2e0b2f540031171d2258ddccb951735827e7/gcl/unixport/../lsp/gcl_fle.lsp
loading 
/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_catap_macports-ports_lang_gcl/gcl-devel/work/01ed2e0b2f540031171d2258ddccb951735827e7/gcl/unixport/../lsp/gcl_defmacro.lsp
loading 
/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_catap_macports-ports_lang_gcl/gcl-devel/work/01ed2e0b2f540031171d2258ddccb951735827e7/gcl/unixport/../lsp/gcl_hash.lsp
loading 
/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_catap_macports-ports_lang_gcl/gcl-devel/work/01ed2e0b2f540031171d2258ddccb951735827e7/gcl/unixport/../lsp/gcl_evalmacros.lsp
loading 
/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_catap_macports-ports_lang_gcl/gcl-devel/work/01ed2e0b2f540031171d2258ddccb951735827e7/gcl/unixport/../lsp/gcl_module.lsp
loading 
/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_catap_macports-ports_lang_gcl/gcl-devel/work/01ed2e0b2f540031171d2258ddccb951735827e7/gcl/unixport/../lsp/gcl_predlib.lsp
zsh: illegal hardware instruction  ./raw_pre_gcl ./
catap@Kirills-mini-m1 unixport %

thus, meanwhile I made some investigation and localized the crash exact line in 
siLheap_report function:
vs_push(make_fixnum(((unsigned long)cs_base+i-1)&-i));

I've tried to remove vs_push and it doesn't change anything.

--
wbr, Kirill

> On 23. Dec 2023, at 15:37, Camm Maguire <[email protected]> wrote:
> 
> Greetings, and thanks again so much.
> 
> This is so curious, as there is no call to the posix_spawn code at all
> at the point of your failure.
> 
> Could you please do the following:
> 
> cd unixport
> make raw_pre_gcl
> ./raw_pre_gcl ./
>> 
> 
> Then open up init_raw.lsp in some editor, and copy the forms therein one
> at a time to the prompt.  Lets focus on 'gcl-devel' at the moment.
> Please let me know the step at which it fails.  Keep in mind this file
> takes a few seconds to load.
> 
> Take care,
> 
> "Kirill A. Korinsky" <[email protected]> writes:
> 
>> 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.
> 
> --
> Camm Maguire                                      [email protected]
> ==========================================================================
> "The earth is but one country, and mankind its citizens."  --  Baha'u'llah

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to