clisp和ecl已安装在系统上,并且sbcl的二进制版本不适用于我的系统,因此我尝试从源代码进行构建:
sh make-config.sh --fancy --xc-host='clisp -q' --
prefix=/home/a/project/lisp/sbcl/201907040223/
sh make-host-1.sh
sh make-target-1.sh
sh make-host-2.sh
,然后失败: ... ;;正在加载文件obj / from-host / src / compiler / generic / genesis.fas ... ;;加载的文件obj / from-host / src / compiler / generic / genesis.fas 开始GENESIS,创建核心“ output / cold-sbcl.core” obj / from-xc / src / assembly / master.assem-obj 外国符号表为: “ ldso_stub__setsid” =#X1005F938 ... “ simple_fun_index” =#X1005D028
*** - The foreign symbol "alloc_tramp" is undefined.
The following restarts are available:
SKIP :R1 skip (GENESIS OBJECT-FILE-NAMES # ...)
RETRY :R2 retry (GENESIS OBJECT-FILE-NAMES # ...)
STOP :R3 stop loading file /home/a/project/lisp/sbcl/sbcl/make-genesis-2.lisp
ABORT-BUILD :R4 Abort building SBCL.
ABORT :R5 Abort main loop
//testing for consistency of first and second GENESIS passes
diff: output/genesis-2: No such file or directory
error: header files do not match between first and second GENESIS
我在src / assembly / ppc64 / tramps.lisp中找到“ alloc_tramp”,但我不知道如何解决。