sbcl 2.2.10 fails to build on arm64
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/
Guix builds sbcl with clisp 2.49.92. The arguments for make.sh are "clisp" "--prefix=
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://
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-
rm -f package-
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-architectur
sbcl_arch="arm64"
//initializing /tmp/guix-
//setting up OS-dependent information
make: Entering directory '/tmp/guix-
gcc -I../src/runtime -std=gnu99 determine-
make: Leaving directory '/tmp/guix-
//finishing /tmp/guix-
//Starting build: Thu Nov 17 04:47:28 UTC 2022
//Options: --prefix=
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://
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-
// 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://
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/
[2]>
;; Loading file make-host-1.lisp ...
;; Loading file src/cold/
;; Loading file src/cold/
;; Loaded file src/cold/
;; Loaded file src/cold/
target SB-XC:*FEATURES* = (:ARM64 :GENCGC :64-BIT :ALIEN-CALLBACKS :ANSI-CL :ANSI-COMPLIANT
;; Loading file src/cold/
;; Loading file src/cold/
;; Loaded file src/cold/
;; Loaded file src/cold/
;; Loading file src/cold/
;; Loaded file src/cold/
; Building Unicode data
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file /tmp/guix-
;; Loaded file /tmp/guix-
//slurp-ucd
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-IMPL:
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-C::%CONSTANTP SB-C::%
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-IMPL:
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-XC:
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-INT:BUG SB-XC:GENSYM
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-XC:- SB-XC:COERCE SB-KERNEL:
SB-KERNEL:
SB-XC:CHAR-CODE
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-XC:MAKE-ARRAY SB-INT:BUG
0 errors, 0 warnings
;; Loading file obj/from-
WARNING: Replacing method
WARNING: Replacing method
in #<STANDARD-
; Float-ops cache prefill: 3304 entries
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-INT:INFO SB-C::FUN-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-KERNEL:
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-C:COMPILER-WARN
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
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-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-XC:
SB-IMPL:
SB-IMPL::%DEFTYPE SB-IMPL:
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-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
WARNING: in lines 908..999 : function
Misspelled or missing IGNORE declaration?
WARNING: in lines 908..999 : function TYPEP-IMPL-
used.
Misspelled or missing IGNORE declaration?
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-KERNEL:
0 errors, 2 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-FASL:
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-XC:
SB-KERNEL:
SB-KERNEL:DSD-NAME SB-KERNEL:
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-XC:MAKE-ARRAY SB-C::MASK-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-C::
SB-INT:INFO
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-INT:INFO (SETF SB-INT:INFO)
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-C::
SB-C::
SB-C::
SB-C::
SB-C::
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-C::
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
WARNING: in COMPUTE-
The whole declaration will be ignored.
WARNING: in TEST-PACKIFY-
assigned but not read
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-IMPL:
0 errors, 2 warnings
** - Continuable Error
FAILURE-P was set when creating "obj/from-
If you continue (by typing 'continue'): Continue, using possibly bogus file "obj/from-
The following restarts are also available:
RECOMPILE :R1 Recompile file "src/compiler/
RECOMPILE :R2 Recompile
SKIP :R3 skip (MAYBE-
RETRY :R4 retry (MAYBE-
STOP :R5 stop loading file /tmp/guix-
ABORT-BUILD :R6 Abort building SBCL.
ABORT :R7 Abort main loop
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-KERNEL:
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-KERNEL:
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-KERNEL:
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-C::
SB-KERNEL:CTYPE-OF SB-KERNEL:
SB-KERNEL:
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-C:LABEL-ID SB-C::PARSE-
SB-C::
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-C::
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-C:MAKE-WIRED-TN SB-C:MAKE-
SB-REGALLOC:
SB-KERNEL:
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-INT:
SB-KERNEL:
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
The following functions were used but not defined:
SB-KERNEL:TYPE= SB-KERNEL:
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
;; Wrote file /tmp/guix-
0 errors, 0 warnings
;; Loading file obj/from-
;; Loaded file obj/from-
;; Compiling file /tmp/guix-
*** - 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/
RECOMPILE :R4 Recompile
SKIP :R5 skip (MAYBE-
RETRY :R6 retry (MAYBE-
STOP :R7 stop loading file /tmp/guix-
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-
GNUmakefile:41: genesis/
make: *** No rule to make target 'genesis/
make: Leaving directory '/tmp/guix-
real 0m0.105s
user 0m0.014s
sys 0m0.042s
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
Thanks. Can you try the attached patch? (Something similar might need to be done for other architectures).