Greetings! Great, something I can understand! I am assuming per our previous conversations that there is no virtualbox image possible here.
Do you have access to such a machine? Would you be willing to engage in a short dialog constructing this file? It should not be too hard. If so, the first step is to copy the 386-macosx.h file to aarch64-macosx.h, and replace #include <mach-o/x86_64/reloc.h> #define RELOC_H "mach64_i386_reloc.h" with #include <mach-o/aarch64/reloc.h> #define RELOC_H "mach64_aarch64_reloc.h" then make an empty file h/mach64_aarch64_reloc.h. Then configure with --enable-machine=aarch64-macosx and make unixport/saved_pre_gcl. Make two small .lsp files: ============================================================================= /tmp/f.l ============================================================================= (defun foo nil nil) ============================================================================= ============================================================================= /tmp/g.l ============================================================================= (defun bar nil (unwind-protect nil nil)) ============================================================================= Execute unixport/saved_pre_gcl and >(compile-file "/tmp/f.l") >(compile-file "/tmp/g.l") >(si::bye) then send me objdump -d /tmp/f.o objdump -r /tmp/f.o objdump -d /tmp/g.o objdump -r /tmp/g.o Take care, "Chun Tian (binghe)" <binghe.l...@gmail.com> writes: > Greetings, > > On 18/04/25 00:26, Camm Maguire wrote: >> Greetings! >> >> "Chun Tian (binghe)" <binghe.l...@gmail.com> writes: >> >>> On 12/04/25 21:14, Camm Maguire wrote: >> >>>>> Do you have release plans for GCL 2.6.15? >>>> >>> >>> At this moment I'm not sure 2.7 is really better in every respect. I saw you >>> were trying to build Debian "axiom" package by GCL 2.7 but it seems that >>> currently the Debian package is still based on GCL 2.6 (I don't have Debian >>> sid >>> environment, only a Debian testing.) >>> >>> If you can make a 2.6.15 release (and consider it's the last 2.6.x >>> release), one >>> immediate good thing is that I can send a small PR to MacPorts to update >>> existing "gcl" package, such that it will work on more macOS versions (more >>> than >>> what 2.6.14 can support). And I think it's good to have Axiom (ACL2, Maxima, >>> etc.) to support both GCL 2.6.15 and 2.7.1, and then people can compare on >>> the >>> performance of these software under different GCL versions, to confirm if >>> GCL >>> 2.7 is really better in every respect. >> >> OK, you have persuaded me. But I think it would be good to get the mac >> arm build working before the next release. 2.6.13 only lasted one >> month, so perhaps we could try a cleanup only 2.6.15 and 2.7.2 in this >> time frame, and then move on to other items. Can you please point me to >> a build log showing the arm failure? I've explored the macports site >> and cannot find it. >> > The immediate issues when trying to build GCL (2.6 and 2.7) in ARM64 macOS, is > that the "configuration" script cannot pass. I think the key issue is that no > such configuration "aarch64 + macosx" exists in h/*. For GCL 2.7, using > i386-macosx as a workaround doesn't work (of course). (I wanted to learn the > way of aarch64-linux but then found h/linux.h is mostly related to ELF format > while macOS uses Mach-O.) > > In attach you can find 3 logs as the outputs of configuration scripts. I think > the first step is to figure out a reasonable "aarch64-macosx.h". > > --Chun > > > > -- Camm Maguire c...@maguirefamily.org ========================================================================== "The earth is but one country, and mankind its citizens." -- Baha'u'llah