-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Description
quilc fails to compile with SBCL 1.5.6.
This is essentially the same issue as quil-lang/qvm#168
See also #397
$make clean quilc
rm -f quilc system-index.txt build-output.log
rm -f coverage-report/*.html
rm -f src/contrib/**/*.so src/contrib/**/*.dylib
sbcl --noinform --no-userinit --no-sysinit --non-interactive --load /Users/mappleby/quicklisp/setup.lisp --eval '(push (truename ".") asdf:*central-registry*)' --eval '(push :drakma-no-ssl *features*)' --eval "(push (truename \"../\") ql:*local-project-directories*)" \
\
--eval '(ql:quickload "quilc")' \
--eval '(ql:write-asdf-manifest-file "system-index.txt")'
To load "quilc":
Load 1 ASDF system:
quilc
; Loading "quilc"
.......................
sbcl --noinform --no-userinit --no-sysinit --non-interactive \
--eval "(setf sb-ext:\*on-package-variance\* '(:warn (:swank :swank-backend :swank-repl) :error t))" \
--eval '(push :drakma-no-ssl *features*)' \
--load "build-app.lisp" \
\
WARNING: System definition file #P"/Users/mappleby/quicklisp/dists/quicklisp/software/cl-ppcre-20190521-git/cl-ppcre.asd" contains definition for system "cl-ppcre-test". Please only define "cl-ppcre" and secondary systems with a name starting with "cl-ppcre/" (e.g. "cl-ppcre/test") in that file.
WARNING: System definition file #P"/Users/mappleby/quicklisp/dists/quicklisp/software/parse-float-20171019-git/parse-float.asd" contains definition for system "parse-float-tests". Please only define "parse-float" and secondary systems with a name starting with "parse-float/" (e.g. "parse-float/test") in that file.
WARNING: System definition file #P"/Users/mappleby/quicklisp/dists/quicklisp/software/cl-fad-20190813-git/cl-fad.asd" contains definition for system "cl-fad-test". Please only define "cl-fad" and secondary systems with a name starting with "cl-fad/" (e.g. "cl-fad/test") in that file.
WARNING: System definition file #P"/Users/mappleby/quicklisp/dists/quicklisp/software/pzmq-20190710-git/pzmq.asd" contains definition for system "pzmq-compat". Please only define "pzmq" and secondary systems with a name starting with "pzmq/" (e.g. "pzmq/test") in that file.
WARNING: System definition file #P"/Users/mappleby/quicklisp/dists/quicklisp/software/pzmq-20190710-git/pzmq.asd" contains definition for system "pzmq-test". Please only define "pzmq" and secondary systems with a name starting with "pzmq/" (e.g. "pzmq/test") in that file.
WARNING: System definition file #P"/Users/mappleby/quicklisp/dists/quicklisp/software/pzmq-20190710-git/pzmq.asd" contains definition for system "pzmq-examples". Please only define "pzmq" and secondary systems with a name starting with "pzmq/" (e.g. "pzmq/test") in that file.
WARNING: System definition file #P"/Users/mappleby/quicklisp/dists/quicklisp/software/flexi-streams-20190107-git/flexi-streams.asd" contains definition for system "flexi-streams-test". Please only define "flexi-streams" and secondary systems with a name starting with "flexi-streams/" (e.g. "flexi-streams/test") in that file.
WARNING: System definition file #P"/Users/mappleby/quicklisp/dists/quicklisp/software/trivial-utf-8-20111001-darcs/trivial-utf-8.asd" contains definition for system "trivial-utf-8-tests". Please only define "trivial-utf-8" and secondary systems with a name starting with "trivial-utf-8/" (e.g. "trivial-utf-8/test") in that file.
WARNING: System definition file #P"/Users/mappleby/quicklisp/dists/quicklisp/software/puri-20180228-git/puri.asd" contains definition for system "puri-tests". Please only define "puri" and secondary systems with a name starting with "puri/" (e.g. "puri/test") in that file.
WARNING: System definition file #P"/Users/mappleby/quicklisp/dists/quicklisp/software/cl-base64-20150923-git/cl-base64.asd" contains definition for system "cl-base64-tests". Please only define "cl-base64" and secondary systems with a name starting with "cl-base64/" (e.g. "cl-base64/test") in that file.
WARNING: redefining CL-QUIL::LEXICAL-CONTEXT in DEFGENERIC
WARNING: redefining TRIVIAL-BENCHMARK:RUNNING in DEFGENERIC
WARNING: redefining TRIVIAL-BENCHMARK:METRICS in DEFGENERIC
WARNING: redefining TRIVIAL-BENCHMARK:STARTING-VALUE in DEFGENERIC
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
In file included from /Users/mappleby/src/repos/rigetti/quilc/src/contrib/tweedledum/tweedledum.c:8:
In file included from /Users/mappleby/src/repos/rigetti/quilc/src/contrib/tweedledum/tweedledum/include/tweedledum/algorithms/synthesis/dbs.hpp:18:
/Users/mappleby/src/repos/rigetti/quilc/src/contrib/tweedledum/tweedledum/libs/kitty/kitty/esop.hpp:36:2: warning: "DEPRECATED: the functions in this file are marked as deprecated. Most
recent implementation can be found in https://github.com/hriener/easy/ in the file src/esop/constructors.hpp" [-W#warnings]
#warning "DEPRECATED: the functions in this file are marked as deprecated. Most recent implementation can be found in https://github.com/hriener/easy/ in the file src/esop/cons...
^
1 warning generated.
; compiling file "/Users/mappleby/src/repos/rigetti/quilc/src/contrib/tweedledum/tweedledum.lisp" (written 01 AUG 2019 05:10:31 PM):
; compiling (DEFPACKAGE #:CL-QUIL.TWEEDLEDUM ...)
; compiling (IN-PACKAGE #:CL-QUIL.TWEEDLEDUM)
; compiling (DEFINE-FOREIGN-LIBRARY (LIBTWEEDLEDUM :SEARCH-PATH ...) ...)
; compiling (DEFVAR *TWEEDLEDUM-LIBS-LOADED* ...)
; compiling (DEFCFUN (%SYNTHESIS-DBS "tweedledum_synthesis_dbs") ...)
; compiling (DEFUN SYNTHESIS-DBS ...)
; compiling (DEFUN COMPILE-PERM-GATE-WITH-TWEEDLEDUM ...)
; compiling (DEFUN LOAD-TWEEDLEDUM ...)
; compiling (DEFUN RUN-TWEEDLEDUM-TESTS ...)
; wrote /Users/mappleby/.cache/common-lisp/sbcl-1.5.6-macosx-x64/Users/mappleby/src/repos/rigetti/quilc/src/contrib/tweedledum/tweedledum-tmpGHU3ALSV.fasl
; compilation finished in 0:00:00.025
Zapping info...
CORRUPTION WARNING in SBCL pid 55063(tid 0x51905c0):
Memory fault at 0x0 (pc=0x100001a697, fp=0x19feaf8, sp=0x19feaf0) tid 0x51905c0
The integrity of this image is possibly compromised.
Continuing with fingers crossed.
While evaluating the form starting at line 13, column 0
of #P"/Users/mappleby/src/repos/rigetti/quilc/build-app.lisp":
Unhandled SB-SYS:MEMORY-FAULT-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
{10004F04C3}>:
CORRUPTION WARNING in SBCL pid 55063(tid 0x51905c0):
Memory fault at 0x0 (pc=0x100001f917, fp=0x19fda20, sp=0x19fda18) tid 0x51905c0
The integrity of this image is possibly compromised.
Continuing with fingers crossed.
#<error printing a SB-SYS:MEMORY-FAULT-ERROR: #<SB-SYS:MEMORY-FAULT-ERROR {1006829273}>>
Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {10004F04C3}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<SB-SYS:MEMORY-FAULT-ERROR {10068245B3}> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK *INVOKE-DEBUGGER-HOOK* #<SB-SYS:MEMORY-FAULT-ERROR {10068245B3}>)
2: (INVOKE-DEBUGGER #<SB-SYS:MEMORY-FAULT-ERROR {10068245B3}>)
3: (ERROR SB-SYS:MEMORY-FAULT-ERROR :ADDRESS 0)
4: (SB-SYS:MEMORY-FAULT-ERROR #<unused argument> #.(SB-SYS:INT-SAP #X00000000))
5: ("foreign function: call_into_lisp")
6: ("foreign function: funcall2")
7: ("foreign function: handle_memory_fault_emulation_trap")
8: ("foreign function: signal_emulation_wrapper")
unhandled condition in --disable-debugger mode, quitting
CORRUPTION WARNING in SBCL pid 55063(tid 0x51905c0):
Memory fault at 0x0 (pc=0x1000018027, fp=0x19fdfb0, sp=0x19fdfa8) tid 0x51905c0
The integrity of this image is possibly compromised.
Continuing with fingers crossed.
make: *** [quilc] Error 1
Metadata
Metadata
Assignees
Labels
No labels