Karsten Poeck
Karsten Poeck
With all the pre-conditions as in the first comment, the following happens at the beginning of make-target-2.sh: ```lisp //entering make-target-2.sh //doing warm init - compilation phase This is SBCL 2.0.2.122.feature-fix-undefined-defstruct-behavior.1-4d78b991b-dirty,...
Following advise of karlosz, I added tracefiles for: ```lisp ("src/code/cold-init" :not-host :trace-file) ("src/compiler/info-vector" :c-headers :trace-file) ("src/compiler/globaldb" :c-headers :trace-file) ````
Self compiled with sbcl this give the following output: [cold-init.trace.sbcl.txt](https://github.com/clasp-developers/clasp/files/4356278/cold-init.trace.sbcl.txt) [globaldb.trace.sbcl.txt](https://github.com/clasp-developers/clasp/files/4356279/globaldb.trace.sbcl.txt) [info-vector.trace.sbcl.txt](https://github.com/clasp-developers/clasp/files/4356280/info-vector.trace.sbcl.txt) Cross compiled with clasp it gives: [cold-init.trace.clasp.txt](https://github.com/clasp-developers/clasp/files/4356291/cold-init.trace.clasp.txt) [globaldb.trace.clasp.txt](https://github.com/clasp-developers/clasp/files/4356292/globaldb.trace.clasp.txt) [info-vector.trace.clasp.txt](https://github.com/clasp-developers/clasp/files/4356293/info-vector.trace.clasp.txt)
Obviosly there is some issue in clasps printers, snce symbols are printed differently. # vs # # t8[RDX] :NORMAL ```` the second w/o the TN
the output of context after the error: ```lisp ldb> context There are 1 interrupt contexts. printing context 0 RAX: 0x00000000: even fixnum: 0 RCX: 0x00000004: pad1: 2 RDX: $2= 0x10016a4b6f:...
Update, with newest sbcl, there is another challenge for x-compiling sbcl. I needed to change force-delayed-defbangstructs.lisp to the followng, so that it works: ```lisp ;;;; Once all the cross-compiler DEFSTRUCT...
with the change from longjmp to _longjmp I get again: (did also a fprintf in handle_fpe to see if the hander is called ```lisp (handler-bind ((arithmetic-error #'abort)) (restart-case (integer-decode-float #.ext:short-float-positive-infinity)...
this is now fixed, isn't it?
If I try this in main on macos I get: ```lisp COMMON-LISP-USER> (defun foo (x y) (declare (single-float x y)) (ext:with-float-traps-masked () (/ x y))) ; caught ERROR: ; BUG:...
Did a `distclean` and full rebuild before