gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Branch Version_2_7_0pre


From: Kirill A. Korinsky
Subject: Re: Branch Version_2_7_0pre
Date: Thu, 21 Dec 2023 18:57:26 +0100

With a few hacks (see attached patches) I was able to build it on macOS 12.

Anyway, it failed on start as:

cp init_raw.lsp foo
echo "(unless si::*quit-tags* (in-package \"USER\")(system:save-system \"saved_pre_gcl\"))" >>foo
ar x libpre_gcl.a $(ar t libpre_gcl.a |grep ^gcl_)
/Users/catap/src/gcl/gcl/unixport/raw_pre_gcl /Users/catap/src/gcl/gcl/unixport/ -libdir /Users/catap/src/gcl/gcl/ < foo
GCL (GNU Common Lisp)  April 1994  9465290 pages
Building symbol table for /Users/catap/src/gcl/gcl/unixport/raw_pre_gcl ..
loading /Users/catap/src/gcl/gcl/unixport/../lsp/gcl_export.lsp
loading /Users/catap/src/gcl/gcl/unixport/../lsp/gcl_defmacro.lsp
loading /Users/catap/src/gcl/gcl/unixport/../lsp/gcl_evalmacros.lsp
loading /Users/catap/src/gcl/gcl/unixport/../lsp/gcl_top.lsp
UNDEFINED-FUNCTION NIL SETQ   NAME KCL-SELF
Lisp initialization failed.
[ "" = "" ] || \
! [ -x /usr/bin/objdump ] || \
! /usr/bin/objdump -f saved_pre_gcl | grep "file format" | grep "elf" || \
! /usr/bin/objdump -R saved_pre_gcl |grep R_.*_COPY || \
! echo "saved_pre_gcl cannot be prelinked"
rm raw_pre_gcl
cd unixport && echo '(time (let ((*features* (cons :pre-gcl *features*)))(load "boot.lisp")(si::save-system "saved_pre_gcl_temp")))' | ./saved_pre_gcl
/bin/sh: ./saved_pre_gcl: No such file or directory


-- 
wbr, Kirill

Attachment: 0001-Disable-gprof-on-macOS-by-default.patch
Description: Binary data

Attachment: 0002-macOS-friendly-check-for-readline.patch
Description: Binary data

Attachment: 0003-make-moder-clang-happy.patch
Description: Binary data

Attachment: 0004-Use-FPE_SET_CTXT_ADDR-and-FPE_CLR_CTXT_CWD-only-when.patch
Description: Binary data

Attachment: 0005-Reallu-disable-gprof.patch
Description: Binary data


On 21. Dec 2023, at 16:21, Kirill A. Korinsky <kirill@korins.ky> wrote:

first attempt to build it failed. I've used 5c7512ca471742c4e86894a3c6b5d93d02d31956 as local root with a few notes.

1. It required to --disable-gprof because configure failed with error:
clang: error: the clang compiler does not support -pg option on versions of OS X 10.9 and later

2. It required to --disable-readline because configure failed with error:
In file included from conftest.c:89:
In file included from /opt/local/include/readline/readline.h:36:
/opt/local/include/readline/rltypedefs.h:71:29: error: unknown type name 'FILE'

after that build had failed with errors:

print.d:582:7: error: expected _expression_
      short sh=p->b.p_queue[mod(p->b.p_qh+1)];
      ^
print.d:584:7: error: use of undeclared identifier 'sh'
      sh<<=1;sh>>=1;
      ^
print.d:584:14: error: use of undeclared identifier 'sh'
      sh<<=1;sh>>=1;
             ^
print.d:585:7: error: use of undeclared identifier 'sh'
      sh+=(c==CURRENT ? p->b.p_col : p->b.p_indent_stack[p->b.p_isp-1]);/*lb*/
      ^
print.d:586:7: error: use of undeclared identifier 'sh'
      sh=sh<0 ? 0 : sh;
      ^
print.d:586:10: error: use of undeclared identifier 'sh'
      sh=sh<0 ? 0 : sh;
         ^
print.d:586:21: error: use of undeclared identifier 'sh'
      sh=sh<0 ? 0 : sh;
                    ^
print.d:587:41: error: use of undeclared identifier 'sh'
      p->b.p_indent_stack[p->b.p_isp] = sh;
                                        ^
print.d:1683:4: error: expected _expression_
          object y=structure_to_list(x);
          ^
9 errors generated.

-- 
wbr, Kirill


Attachment: signature.asc
Description: Message signed with OpenPGP


reply via email to

[Prev in Thread] Current Thread [Next in Thread]