macOS status

"Kirill A. Korinsky" <[email protected]>
Newsgroups gmane.lisp.gcl.devel
Message-ID <[email protected]>
I'd like to summarise current macOS status.

To make things clear I've pushed changes to GCL port at MacPorts as gcl-devel subport which available here: https://github.com/catap/macports-ports/commit/3614b650ebfb259af2b1320026e00a1bef955fb7 <https://github.com/catap/macports-ports/commit/3614b650ebfb259af2b1320026e00a1bef955fb7> which contains all used patches.

macOS 12 x86_64:

successfully builded.

macOS 10.5 i386

Note:
1. requires to ban system's GCC and MacPorts Clang.
2. requires to add --disable-gprof to configure options

It failed to start ./raw_pre_gcl as:

> (gdb) r
> Starting program: /opt/local/var/macports/build/_Volumes_SharedFolders_Home_src_macports-ports_lang_gcl/gcl-devel/work/d01abd92b614b3145cd192be4ae797a8b29a09af/gcl/unixport/raw_pre_gcl
> unable to read unknown load command 0x24
> unable to read unknown load command 0x26
> unable to read unknown load command 0x24
> unable to read unknown load command 0x26
> Reading symbols for shared libraries +++++... done
> 
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_PROTECTION_FAILURE at address: 0xbc000ffc
> 0x0000843b in alloc_mem ()
> (gdb) bt
> #0  0x0000843b in alloc_mem ()
> #1  0x00000000 in ?? ()
> (gdb)


macOS 13 arm64

failed on ./configure as

> checking for sbrk... yes
> checking for ADDR_NO_RANDOMIZE constant... no assuming 0x40000
> checking for ADDR_COMPAT_LAYOUT constant... no
> checking for ADDR_LIMIT_3GB constant... no
> checking for personality(ADDR_NO_RANDOMIZE) support... no
> checking that sbrk is (now) non-random... no
> Cannot build with randomized sbrk. Your options:
>  - upgrade to a kernel/libc that knows about personality(ADDR_NO_RANDOMIZE)
>  - recompile your kernel with CONFIG_COMPAT_BRK (if it has that option)
>  - run sysctl kernel.randomize_va_space=0 before using gcl


macOS 13 arm64 with Xcode 15 via rosetta (x86_64)

Note:
1. configure failed on unknown target aarch64, cross compiling via rosetta with --host / --system / --target works

Anyway, failed on build; crash happened inside siLheap_report which is called by the first (init-system) at ./raw_pre_gcl

--
wbr, Kirill
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE3/KLNtcfWfLw7JxqmNjZhndZIm4FAmWHSX8ACgkQmNjZhndZ
Im4gLRAAnk8AXhdM58mm8no4UdGRttHCFplYuwo9x1SRGAovYZyFkvrRPRKtW9mR
smovPLI8ako/4HcBfOsH2thyS8eKWysfk6MzVcluTG5KVhaZGnmBwM8Sic5+crqR
t5FVsI8LJ6ARiGDr13ZOMSrxRqbu3SvzwhcHOLGl9QPz4FYbYKarwm7PKKrnIDSo
zmDiX43V7R1JUPRuBaZQignL/K8oOSnR6e3jW3WrTFs0e4Ypzd9vJgHtQ3ehxAGU
Vfao+Uidb5t0sqJMF1qj8DyhfV4+BOBvAWslFwHW3rbbmCLu3PEbEzmRYwtJBuWk
nsnB09mMj+g4xxk41XbaJBHMu7Uu9Sy+4gg6azU9B4bpkBs/R2J6bDLg9NEf1Nov
YeQWkRSbAzMj2VoBxmBTId7R06VfeBDvMwuqLbGHWTIX4g4IO2TP7NeDaRaAFJdU
W9JxSSqZY1ol9lhWtwqL9vSBZVtjReNZtpNEmbt4dcRXGdVLJxaHPjy4rfAHXk+w
p/GGQa2Nc0+yu2X76/YVCdNWy8dm8Zv8+4C+ojN8Th2XEIlYChln+6R7Kt8g3DX7
romQuP13VBeofmN/D01fafnHVuWYJyFscDhuWe5kkMsKlZaY7MLzjkmBjeI9Tmpi
2IcW0LhOk1PDXhPEvCKtD3Eo7lr9452m/7Kb4wF31YLBxsE3NUI=
=K+RG
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.