Re: posix_spawn
"Kirill A. Korinsky" <[email protected]>
| Newsgroups | gmane.lisp.gcl.devel |
|---|---|
| Message-ID | <[email protected]> |
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 > On 23. Dec 2023, at 11:53, Kirill A. Korinsky <[email protected]> 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>
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE3/KLNtcfWfLw7JxqmNjZhndZIm4FAmWG3DsACgkQmNjZhndZ Im4YYg//bfYYC0V5n1BTIMdOu1ZEniXYpE7zTEDKS3bOYdeKYva/JQTm8AyXrrUP BfpVz+AzqMxO69OAe1LA1WiE9+Py0SsCM4C8GY1L9kfrZ+UI0jhMXL3JQvemUTC5 uXSjKHoPs/OG0SV6R5KyClbhokWsZYVIHQaACnQl3aTwoCdvRGVBU/4xc+OBEmPh Lmosgeo//cyE0vq+d0QAq2ja3BlxY/v9MrY+Vlh253xlsxTskGe24+fD6sUIicaw yt8f6Ldxt/ggUU+9jjATpBVud/4GBDUwm74l0udtLz89KcSeFKEgzCVEibjsW2oE R6itLimiHxOQoNqhuy6YYRB5biaL5AjYvoK6y0LmExBWflsEYXSvq2smd45ts6ua e6pQTNqDiWBYQs1+dVswrWKSeyI0eR1zf8SMttLbej5UEi7R5RCpxRnl56c1Egsy 7phg983zTMVxP2/L+6yDMCWr88kca+XkJxkeBx3V7jI+pvktQjMSuxsjjgVYfOLp rSO799Ad7fk+oZ7pUGwWrlY2qB7SjZfYBsMqyCi2Ql50EDMYlE5BNue5KImjObGV wKDFkYAUwxV3LVGPnMS0R5iswBA5NnZZsy3FhxtN0fnIUrhfV4CTQlDnSndfGLsh CuKoe2Q+Sg6QVfmNC9pI0s7AscRDMZDHFaBaQRIh7bOvE/DG0R8= =muyl -----END PGP SIGNATURE-----