sbcl 2.2.10 fails to build on arm64

Bug #1996942 reported by Andrew Patterson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Undecided
Unassigned

Bug Description

The build process actually fails when make-target-1.sh fails to find the src/runtime/genesis subdirectory, but the actually important fault appears to be that NULL-OFFSET being undefined in src/compiler/arm64/vm.lisp makes make-host-1.sh fail without failing the entire build process. Building succeeds on x86_64 guix, so I doubt the problem is especially guix-specific.

Guix builds sbcl with clisp 2.49.92. The arguments for make.sh are "clisp" "--prefix=/gnu/store/nxlq0vb1hsdjip0hhijqi3v56wlgrp08-sbcl-2.2.10" "--dynamic-space-size=3072" "--with-sb-core-compression" "--with-sb-xref-for-internals" "--without-sb-simd". My uname -a output is "Linux river-of-stars 5.19.8 #1 SMP PREEMPT 1 aarch64 GNU/Linux".

The log output of make.sh is below. (I can give the entire build log, but that includes a lot of guix-specific information I doubt is relevant).

  i i i i i i i ooooo o ooooooo ooooo ooooo
  I I I I I I I 8 8 8 8 8 o 8 8
  I \ `+' / I 8 8 8 8 8 8
   \ `-+-' / 8 8 8 ooooo 8oooo
    `-__|__-' 8 8 8 8 8
        | 8 o 8 8 o 8 8
  ------+------ ooooo 8oooooo ooo8ooo ooooo 8

Welcome to GNU CLISP 2.49.92 (2018-02-18) <http://clisp.org/>

Copyright (c) Bruno Haible, Michael Stoll 1992-1993
Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
Copyright (c) Bruno Haible, Sam Steingold 1999-2000
Copyright (c) Sam Steingold, Bruno Haible 2001-2018

Type :h and hit Enter for context help.

[1]>
"CLISP"
Bye.
rm -f *~ *.bak *.orig \#*\# .\#* texput.log *.fasl
rm -rf sbcl asdf "docstrings/"
rm -f sbcl.html asdf.html
rm -f contrib-docs.texi-temp
rm -f package-locks.texi-temp
rm -f variables.texinfo
rm -f sbcl.ps asdf.ps sbcl.pdf asdf.pdf html-stamp tempfiles-stamp
rm -f asdf.aux asdf.cp asdf.cps asdf.fn asdf.fns asdf.ky asdf.log asdf.pg asdf.toc asdf.tp asdf.tps asdf.vr asdf.vrs sbcl.aux sbcl.cp sbcl.cps sbcl.fn sbcl.fns sbcl.ky sbcl.log sbcl.pg sbcl.toc sbcl.tp sbcl.tps sbcl.vr sbcl.vrs
rm -f sbcl.info sbcl.info-* asdf.info
rm -rf *.include *.info *.pdf *~ *.cp *.fn *.ky *.log *.pg *.toc \
 *.tp *.vr *.aux *.eps *.png *.dvi *.ps *.txt *.fns \
 html-stamp sbcl-internals/
//entering make-config.sh
//ensuring the existence of output/ directory
//guessing default target CPU architecture from host architecture
//setting up CPU-architecture-dependent information
sbcl_arch="arm64"
//initializing /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/local-target-features.lisp-expr
//setting up OS-dependent information
make: Entering directory '/tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/tools-for-build'
gcc -I../src/runtime -std=gnu99 determine-endianness.c -ldl -Wl,-no-as-needed -o determine-endianness
make: Leaving directory '/tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/tools-for-build'
//finishing /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/local-target-features.lisp-expr
//Starting build: Thu Nov 17 04:47:28 UTC 2022
//Options: --prefix='/gnu/store/nxlq0vb1hsdjip0hhijqi3v56wlgrp08-sbcl-2.2.10' --xc-host='clisp'
  i i i i i i i ooooo o ooooooo ooooo ooooo
  I I I I I I I 8 8 8 8 8 o 8 8
  I \ `+' / I 8 8 8 8 8 8
   \ `-+-' / 8 8 8 ooooo 8oooo
    `-__|__-' 8 8 8 8 8
        | 8 o 8 8 o 8 8
  ------+------ ooooo 8oooooo ooo8ooo ooooo 8

Welcome to GNU CLISP 2.49.92 (2018-02-18) <http://clisp.org/>

Copyright (c) Bruno Haible, Michael Stoll 1992-1993
Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
Copyright (c) Bruno Haible, Sam Steingold 1999-2000
Copyright (c) Sam Steingold, Bruno Haible 2001-2018

Type :h and hit Enter for context help.

CANONICALIZE-WHITESPACE/DIRECTORY
// Rewrote 2 of 1497 new files out of 1498 total.
T
Bye.
//entering make-host-1.sh
//building cross-compiler, and doing first genesis
  i i i i i i i ooooo o ooooooo ooooo ooooo
  I I I I I I I 8 8 8 8 8 o 8 8
  I \ `+' / I 8 8 8 8 8 8
   \ `-+-' / 8 8 8 ooooo 8oooo
    `-__|__-' 8 8 8 8 8
        | 8 o 8 8 o 8 8
  ------+------ ooooo 8oooooo ooo8ooo ooooo 8

Welcome to GNU CLISP 2.49.92 (2018-02-18) <http://clisp.org/>

Copyright (c) Bruno Haible, Michael Stoll 1992-1993
Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
Copyright (c) Bruno Haible, Sam Steingold 1999-2000
Copyright (c) Sam Steingold, Bruno Haible 2001-2018

Type :h and hit Enter for context help.

[1]>
;; Loading file loader.lisp ...
;; Loaded file loader.lisp
#P"/tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/loader.lisp"
[2]>
;; Loading file make-host-1.lisp ...
;; Loading file src/cold/shared.lisp ...
;; Loading file src/cold/shebang.lisp ...
;; Loaded file src/cold/shebang.lisp
;; Loaded file src/cold/shared.lisp
target SB-XC:*FEATURES* = (:ARM64 :GENCGC :64-BIT :ALIEN-CALLBACKS :ANSI-CL :ANSI-COMPLIANT-LOAD-TRUENAME :CALL-SYMBOL :COMMON-LISP :COMPACT-SYMBOL :COMPARE-AND-SWAP-VOPS :ELF :FP-AND-PC-STANDARD-SAVE :GCC-TLS :IEEE-FLOATING-POINT :LINUX :LITTLE-ENDIAN :NO-CONTINUE-UNWIND :OS-PROVIDES-BLKSIZE-T :OS-PROVIDES-DLADDR :OS-PROVIDES-DLOPEN :OS-PROVIDES-GETPROTOBY-R :OS-PROVIDES-POLL :OS-PROVIDES-SUSECONDS-T :PACKAGE-LOCAL-NICKNAMES :ROUND-FLOAT :SB-CORE-COMPRESSION :SB-DOC :SB-EVAL :SB-FUTEX :SB-LDB :SB-PACKAGE-LOCKS :SB-SOURCE-LOCATIONS :SB-THREAD :SB-UNICODE :SB-XREF-FOR-INTERNALS :SBCL :UNBIND-IN-UNWIND :UNDEFINED-FUN-RESTARTS :UNIX :UNWIND-TO-FRAME-AND-CALL-VOP :USE-CONS-REGION :USE-SYS-MMAP)
;; Loading file src/cold/set-up-cold-packages.lisp ...
;; Loading file src/cold/exports.lisp ...
;; Loaded file src/cold/exports.lisp
;; Loaded file src/cold/set-up-cold-packages.lisp
;; Loading file src/cold/defun-load-or-cload-xcompiler.lisp ...
;; Loaded file src/cold/defun-load-or-cload-xcompiler.lisp
; Building Unicode data
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/tools-for-build/ucd.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/tools-for-build/ucd.fas
0 errors, 0 warnings
;; Loading file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/tools-for-build/ucd.fas ...
;; Loaded file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/tools-for-build/ucd.fas
//slurp-ucd
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/cross-early.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/cross-early.fas-tmp
The following functions were used but not defined:
 SB-IMPL::XFLOAT-ZEROP
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/cross-early.fas ...
;; Loaded file obj/from-host/src/code/cross-early.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/show.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/show.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/show.fas ...
;; Loaded file obj/from-host/src/code/show.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/early-constantp.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/early-constantp.fas-tmp
The following functions were used but not defined:
 SB-C::%CONSTANTP SB-C::%CONSTANT-FORM-VALUE
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/early-constantp.fas ...
;; Loaded file obj/from-host/src/compiler/early-constantp.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/primordial-extensions.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/primordial-extensions.fas-tmp
The following functions were used but not defined:
 SB-IMPL::PACKAGE-%NAME SB-IMPL::XFLOAT-ZEROP SB-XC:GENSYM
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/primordial-extensions.fas ...
;; Loaded file obj/from-host/src/code/primordial-extensions.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/cold-init-helper-macros.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/cold-init-helper-macros.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/cold-init-helper-macros.fas ...
;; Loaded file obj/from-host/src/code/cold-init-helper-macros.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/backq.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/backq.fas-tmp
The following functions were used but not defined:
 SB-XC:MAKE-LOAD-FORM-SAVING-SLOTS SB-IMPL::XFLOAT-ZEROP
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/backq.fas ...
;; Loaded file obj/from-host/src/code/backq.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/cross-byte.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/cross-byte.fas-tmp
The following functions were used but not defined:
 SB-INT:BUG SB-XC:GENSYM
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/cross-byte.fas ...
;; Loaded file obj/from-host/src/code/cross-byte.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/cross-misc.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/cross-misc.fas-tmp
The following functions were used but not defined:
 SB-XC:- SB-XC:COERCE SB-KERNEL:CLASSOID-WRAPPER SB-KERNEL:FIND-CLASSOID
 SB-KERNEL:WRAPPER-LENGTH SB-KERNEL::WRAPPER-ID SB-INT:MISSING-ARG
 SB-XC:CHAR-CODE
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/cross-misc.fas ...
;; Loaded file obj/from-host/src/code/cross-misc.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/cross-char.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/cross-char.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/cross-char.fas ...
;; Loaded file obj/from-host/src/code/cross-char.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/cross-float.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/cross-float.fas-tmp
The following functions were used but not defined:
 SB-XC:MAKE-ARRAY SB-INT:BUG
0
errors, 0 warnings
;; Loading file obj/from-host/src/code/cross-float.fas ...
WARNING: Replacing method
         #<STANDARD-METHOD (#<STRUCTURE-CLASS FLOAT> #<BUILT-IN-CLASS T>)> in
         #<STANDARD-GENERIC-FUNCTION PRINT-OBJECT>
WARNING: Replacing method
          #<STANDARD-METHOD
            (#<STRUCTURE-CLASS COMPLEXNUM> #<BUILT-IN-CLASS T>)>
         in #<STANDARD-GENERIC-FUNCTION PRINT-OBJECT>
; Float-ops cache prefill: 3304 entries
;; Loaded file obj/from-host/src/code/cross-float.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/cross-io.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/cross-io.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/cross-io.fas ...
;; Loaded file obj/from-host/src/code/cross-io.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/cross-condition.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/cross-condition.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/cross-condition.fas ...
;; Loaded file obj/from-host/src/code/cross-condition.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/uncross.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/uncross.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/uncross.fas ...
;; Loaded file obj/from-host/src/code/uncross.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/defbangtype.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/defbangtype.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/defbangtype.fas ...
;; Loaded file obj/from-host/src/code/defbangtype.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/early-constants.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/early-constants.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/early-constants.fas ...
;; Loaded file obj/from-host/src/code/early-constants.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/vop-existsp.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/vop-existsp.fas-tmp
The following functions were used but not defined:
 SB-INT:INFO SB-C::FUN-INFO-TEMPLATES
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/vop-existsp.fas ...
;; Loaded file obj/from-host/src/compiler/vop-existsp.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/function-names.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/function-names.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/function-names.fas ...
;; Loaded file obj/from-host/src/code/function-names.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/early-globaldb.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/early-globaldb.fas-tmp
The following functions were used but not defined:
 SB-KERNEL:SYMBOL-DBINFO SB-IMPL::PACKED-INFO-VALUE-INDEX
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/early-globaldb.fas ...
;; Loaded file obj/from-host/src/compiler/early-globaldb.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/generic/parms.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/generic/parms.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/generic/parms.fas ...
;; Loaded file obj/from-host/src/compiler/generic/parms.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/arm64/parms.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/arm64/parms.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/arm64/parms.fas ...
;; Loaded file obj/from-host/src/compiler/arm64/parms.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/generic/early-vm.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/generic/early-vm.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/generic/early-vm.fas ...
;; Loaded file obj/from-host/src/compiler/generic/early-vm.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/generic/early-objdef.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/generic/early-objdef.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/generic/early-objdef.fas ...
;; Loaded file obj/from-host/src/compiler/generic/early-objdef.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/parse-body.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/parse-body.fas-tmp
The following functions were used but not defined:
 SB-C:COMPILER-WARN
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/parse-body.fas ...
;; Loaded file obj/from-host/src/code/parse-body.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/policy.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/policy.fas-tmp
The following functions were used but not defined:
 SB-XC:PROCLAIM SB-C::%CONSTANTP SB-C:COMPILER-WARN
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/policy.fas ...
;; Loaded file obj/from-host/src/compiler/policy.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/early-extensions.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/early-extensions.fas-tmp
The following functions were used but not defined:
 SB-XC:SPECIAL-OPERATOR-P SB-KERNEL:TYPE-SPECIFIER
 SB-IMPL::%CHECK-DEPRECATED-TYPE SB-C::%DEFINE-SYMBOL-MACRO
 SB-IMPL::%DEFTYPE SB-IMPL::CONSTANT-TYPE-EXPANDER SB-INT:INFO
The following functions were used but are deprecated:

 SET - This function name is anachronistic. Use SETF SYMBOL-VALUE instead.
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/early-extensions.fas ...
;; Loaded file obj/from-host/src/code/early-extensions.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/defbangstruct.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/defbangstruct.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/defbangstruct.fas ...
;; Loaded file obj/from-host/src/code/defbangstruct.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/early-raw-slots.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/early-raw-slots.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/early-raw-slots.fas ...
;; Loaded file obj/from-host/src/code/early-raw-slots.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/xset.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/xset.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/xset.fas ...
;; Loaded file obj/from-host/src/code/xset.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/type-class.lisp ...
WARNING: in lines 908..999 : function
         TYPEP-IMPL-MACRO-METATYPE-NAME->CLASS-ID is not used.
         Misspelled or missing IGNORE declaration?
WARNING: in lines 908..999 : function TYPEP-IMPL-MACRO-CONVERT-CLAUSE is not
         used.
         Misspelled or missing IGNORE declaration?
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/type-class.fas-tmp
The following functions were used but not defined:
 SB-KERNEL:TYPE-SPECIFIER SB-INT:MAKE-MACRO-LAMBDA SB-KERNEL:CSUBTYPEP
0 errors, 2 warnings
;; Loading file obj/from-host/src/code/type-class.fas ...
;; Loaded file obj/from-host/src/code/type-class.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/thread-structs.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/thread-structs.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/thread-structs.fas ...
;; Loaded file obj/from-host/src/code/thread-structs.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/early-c.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/early-c.fas-tmp
The following functions were used but not defined:
 SB-FASL::MAKE-SIMILARITY-TABLE SB-C::NAME-CONTEXT
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/early-c.fas ...
;; Loaded file obj/from-host/src/compiler/early-c.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/pcl/slot-name.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/pcl/slot-name.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/pcl/slot-name.fas ...
;; Loaded file obj/from-host/src/pcl/slot-name.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/early-classoid.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/early-classoid.fas-tmp
The following functions were used but not defined:
 SB-XC:MAKE-LOAD-FORM-SAVING-SLOTS SB-KERNEL:FIND-LAYOUT
 SB-KERNEL:DSD-INDEX SB-KERNEL:FIND-DEFSTRUCT-DESCRIPTION
 SB-KERNEL:DSD-NAME SB-KERNEL:HASH-LAYOUT-NAME
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/early-classoid.fas ...
;; Loaded file obj/from-host/src/code/early-classoid.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/generic/layout-ids.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/generic/layout-ids.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/generic/layout-ids.fas ...
;; Loaded file obj/from-host/src/compiler/generic/layout-ids.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/debug-var-io.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/debug-var-io.fas-tmp
The following functions were used but not defined:
 SB-XC:MAKE-ARRAY SB-C::MASK-SIGNED-FIELD
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/debug-var-io.fas ...
;; Loaded file obj/from-host/src/code/debug-var-io.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/early-float.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/early-float.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/early-float.fas ...
;; Loaded file obj/from-host/src/code/early-float.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/huffman.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/huffman.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/huffman.fas ...
;; Loaded file obj/from-host/src/code/huffman.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/early-time.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/early-time.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/early-time.fas ...
;; Loaded file obj/from-host/src/code/early-time.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/misc.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/misc.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/misc.fas ...
;; Loaded file obj/from-host/src/code/misc.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/parse-lambda-list.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/parse-lambda-list.fas-tmp
The following functions were used but not defined:
 SB-C::STYLE-WARN-ONCE SB-C:COMPILER-ERROR SB-C::CHECK-VARIABLE-NAME
 SB-INT:INFO
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/parse-lambda-list.fas ...
;; Loaded file obj/from-host/src/compiler/parse-lambda-list.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/macros.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/macros.fas-tmp
The following functions were used but not defined:
 SB-INT:INFO (SETF SB-INT:INFO)
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/macros.fas ...
;; Loaded file obj/from-host/src/compiler/macros.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/fun-info.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/fun-info.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/fun-info.fas ...
;; Loaded file obj/from-host/src/compiler/fun-info.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/generic/vm-macs.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/generic/vm-macs.fas-tmp
The following functions were used but not defined:
 SB-C::IR2-CONVERT-REFFER SB-C::IR2-CONVERT-SETFER
 SB-C::IR2-CONVERT-SETTER SB-C::IR2-CONVERT-VARIABLE-ALLOCATION
 SB-C::IR2-CONVERT-FIXED-ALLOCATION
 SB-C::IR2-CONVERT-STRUCTURE-ALLOCATION SB-C::FUN-INFO-OR-LOSE
 SB-C::IR2-CONVERT-CASSER
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/generic/vm-macs.fas ...
;; Loaded file obj/from-host/src/compiler/generic/vm-macs.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/policies.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/policies.fas-tmp
The following functions were used but not defined:
 SB-C::%COERCE-TO-POLICY
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/policies.fas ...
;; Loaded file obj/from-host/src/compiler/policies.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/info-vector.lisp ...
WARNING: in COMPUTE-UNPACKIFIED-INFO-SIZE in lines 287..297 : Unknown
         declaration PACKED-INFO.
         The whole declaration will be ignored.
WARNING: in TEST-PACKIFY-INFOS-CHECK in lines 629..681 : variable VALUE is
         assigned but not read
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/info-vector.fas-tmp
The following functions were used but not defined:
 SB-IMPL::INFO-PUTHASH
0 errors, 2 warnings
** - Continuable Error
FAILURE-P was set when creating "obj/from-host/src/compiler/info-vector.fas".
If you continue (by typing 'continue'): Continue, using possibly bogus file "obj/from-host/src/compiler/info-vector.fas"
The following restarts are also available:
RECOMPILE :R1 Recompile file "src/compiler/info-vector.lisp"
RECOMPILE :R2 Recompile
SKIP :R3 skip (MAYBE-WITH-COMPILATION-UNIT # # ...)
RETRY :R4 retry (MAYBE-WITH-COMPILATION-UNIT # # ...)
STOP :R5 stop loading file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/make-host-1.lisp
ABORT-BUILD :R6 Abort building SBCL.
ABORT :R7 Abort main loop
;; Loading file obj/from-host/src/compiler/info-vector.fas ...
;; Loaded file obj/from-host/src/compiler/info-vector.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/globaldb.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/globaldb.fas-tmp
The following functions were used but not defined:
 SB-KERNEL:SPECIFIER-TYPE SB-KERNEL:FIND-CLASSOID SB-C::MAKE-LEXENV
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/globaldb.fas ...
;; Loaded file obj/from-host/src/compiler/globaldb.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/generic/objdef.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/generic/objdef.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/generic/objdef.fas ...
;; Loaded file obj/from-host/src/compiler/generic/objdef.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/generic/vm-array.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/generic/vm-array.fas-tmp
The following functions were used but not defined:
 SB-KERNEL:CSUBTYPEP
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/generic/vm-array.fas ...
;; Loaded file obj/from-host/src/compiler/generic/vm-array.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/string-hash.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/string-hash.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/string-hash.fas ...
;; Loaded file obj/from-host/src/code/string-hash.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/primordial-type.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/primordial-type.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/primordial-type.fas ...
;; Loaded file obj/from-host/src/code/primordial-type.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/specializable-array.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/specializable-array.fas-tmp
The following functions were used but not defined:
 SB-KERNEL:TYPE-SPECIFIER SB-KERNEL:SPECIFIER-TYPE
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/specializable-array.fas ...
;; Loaded file obj/from-host/src/code/specializable-array.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/sset.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/sset.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/sset.fas ...
;; Loaded file obj/from-host/src/compiler/sset.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/node.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/node.fas-tmp
The following functions were used but not defined:
 SB-C::%LVAR-DERIVED-TYPE SB-C::NODE-COMPONENT SB-C::CONT-NUM
 SB-KERNEL:CTYPE-OF SB-KERNEL:SPECIFIER-TYPE
 SB-KERNEL:MAKE-SINGLE-VALUE-TYPE
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/node.fas ...
;; Loaded file obj/from-host/src/compiler/node.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/early-assem.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/early-assem.fas-tmp
The following functions were used but not defined:
 SB-C:LABEL-ID SB-C::PARSE-REG-SPEC SB-C::EMIT-ASSEMBLE
 SB-C::EMIT-ASSEMBLE-VOP
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/early-assem.fas ...
;; Loaded file obj/from-host/src/compiler/early-assem.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/vop.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/vop.fas-tmp
The following functions were used but not defined:
 SB-C::PRINT-TN-GUTS
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/vop.fas ...
;; Loaded file obj/from-host/src/compiler/vop.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/backend.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/backend.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/backend.fas ...
;; Loaded file obj/from-host/src/compiler/backend.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/sc-offset.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/sc-offset.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/sc-offset.fas ...
;; Loaded file obj/from-host/src/code/sc-offset.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/vmdef.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/vmdef.fas-tmp
The following functions were used but not defined:
 SB-C:MAKE-WIRED-TN SB-C:MAKE-RESTRICTED-TN SB-C:REFERENCE-TN
 SB-REGALLOC:TARGET-IF-DESIRABLE SB-C:PRIMITIVE-TYPE
 SB-KERNEL:SPECIFIER-TYPE
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/vmdef.fas ...
;; Loaded file obj/from-host/src/compiler/vmdef.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/code/defmacro.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/code/defmacro.fas-tmp
The following functions were used but not defined:
 SB-INT:CHECK-DESIGNATOR SB-C:COMPILER-STYLE-WARN
 SB-KERNEL:UNDEFINE-FUN-NAME
0 errors, 0 warnings
;; Loading file obj/from-host/src/code/defmacro.fas ...
;; Loaded file obj/from-host/src/code/defmacro.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/meta-vmdef.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/meta-vmdef.fas-tmp
The following functions were used but not defined:
 SB-KERNEL:TYPE= SB-KERNEL:SPECIFIER-TYPE
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/meta-vmdef.fas ...
;; Loaded file obj/from-host/src/compiler/meta-vmdef.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/fixup.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/fixup.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/fixup.fas ...
;; Loaded file obj/from-host/src/compiler/fixup.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/generic/core.lisp ...
;; Wrote file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/obj/from-host/src/compiler/generic/core.fas-tmp
0 errors, 0 warnings
;; Loading file obj/from-host/src/compiler/generic/core.fas ...
;; Loaded file obj/from-host/src/compiler/generic/core.fas
;; Compiling file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/compiler/arm64/vm.lisp ...
*** - IF: variable NULL-OFFSET has no value
The following restarts are available:
USE-VALUE :R1 Input a value to be used instead of NULL-OFFSET.
STORE-VALUE :R2 Input a new value for NULL-OFFSET.
RECOMPILE :R3 Recompile file "src/compiler/arm64/vm.lisp"
RECOMPILE :R4 Recompile
SKIP :R5 skip (MAYBE-WITH-COMPILATION-UNIT # # ...)
RETRY :R6 retry (MAYBE-WITH-COMPILATION-UNIT # # ...)
STOP :R7 stop loading file /tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/make-host-1.lisp
ABORT-BUILD :R8 Abort building SBCL.
ABORT :R9 Abort main loop
0 errors, 0 warnings
Bye.

real 0m51.513s
user 0m45.918s
sys 0m5.297s
//entering make-target-1.sh
//building runtime system and symbol table file
make: Entering directory '/tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/runtime'
GNUmakefile:41: genesis/Makefile.features: No such file or directory
make: *** No rule to make target 'genesis/Makefile.features'. Stop.
make: Leaving directory '/tmp/guix-build-sbcl-2.2.10.drv-0/sbcl-2.2.10/src/runtime'

real 0m0.105s
user 0m0.014s
sys 0m0.042s

Revision history for this message
Christophe Rhodes (csr21-cantab) wrote :

Thanks. Can you try the attached patch? (Something similar might need to be done for other architectures).

Revision history for this message
Andrew Patterson (liate) wrote : Re: [Bug 1996942] Re: sbcl 2.2.10 fails to build on arm64

On Thu, 2022-11-17 at 22:33GMT, Christophe Rhodes
<email address hidden> wrote:
> Thanks. Can you try the attached patch? (Something similar
> might need
> to be done for other architectures).

The build is successful with the patch.

Is there a reason why make.sh doesn't fail when make-host-1.sh
fails? It seems like debugging would be easier if the entire
build failed at the first failure, rather than when a dependency
is missing later in the process.

Revision history for this message
Christophe Rhodes (csr21-cantab) wrote :

Thanks, I committed it.

I think the scripts are meant to fail when anything returns a non-zero exit code; the problem can sometimes be to convince the underlying Lisp to exit with a non-zero code. In the past I have used `clisp -ansi -on-error abort` as the basic invocation of CLISP, and my recollection is that the `-on-error abort` does the right thing: it continues if there is a continue restart, and otherwise exits with an error -- maybe that would help?

Changed in sbcl:
status: New → Fix Committed
Revision history for this message
Andrew Patterson (liate) wrote :

Thanks!

Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.