Open DavidAlphaFox opened 6 months ago
When I tried to quickload the 3d-math system (on darwin/x8664), I got an error, but a different one:
> Error: Invalid program: The DECLARE expression (DECLARE (FTYPE (FUNCTION ((OR IVEC4 DVEC4 VEC4 IVEC3 DVEC3 VEC3 IVEC2 DVEC2 VEC2)) (VALUES (OR I32 F64 F32) &OPTIONAL)) VX)) is being treated as a form,
> possibly because it's the result of macroexpansion. DECLARE expressions
> can only appear in specified contexts and must be actual subexpressions
> of the containing forms.
> While executing: #<Anonymous Function #x302000BFDB9F>, in process listener(1).
> Type :POP to abort, :R for a list of available restarts.
> Type :? for other options.
It's pretty unusual to see compiler-function-overflow
when using an x86-64 CCL.
If I had a smaller test case that shows the issue, I could take a closer look.
When I tried to quickload the 3d-math system (on darwin/x8664), I got an error, but a different one:
> Error: Invalid program: The DECLARE expression (DECLARE (FTYPE (FUNCTION ((OR IVEC4 DVEC4 VEC4 IVEC3 DVEC3 VEC3 IVEC2 DVEC2 VEC2)) (VALUES (OR I32 F64 F32) &OPTIONAL)) VX)) is being treated as a form, > possibly because it's the result of macroexpansion. DECLARE expressions > can only appear in specified contexts and must be actual subexpressions > of the containing forms. > While executing: #<Anonymous Function #x302000BFDB9F>, in process listener(1). > Type :POP to abort, :R for a list of available restarts. > Type :? for other options.
It's pretty unusual to see
compiler-function-overflow
when using an x86-64 CCL.If I had a smaller test case that shows the issue, I could take a closer look.
If we use the 3d-math
in quicklisp
's dist, we will get this error message, because it is very old.
I use the 3d-math
from shirakumo
's dist.
We can reproduce the overflow error by
(ql-dist:install-dist "http://dist.shirakumo.org/shirakumo.txt")
(ql:quickload :3d-math)
And I don't have a Mac, so I don't know could it produce the same error or not on MacOSX.
And if I use the sbcl to compile the 3d-math
, I have to start the sbcl with --dynamic-space-size 4Gb
.
The stack overflow under Debian 12 on X8664,
Dear author
When I use
quicklisp
to build the3d-math
library. When the ccl compiles the filematrices/ops.lisp
I get the error:CCL::COMPLIER-FUNCTION-OVERFLOW
. I use the ccl-1.12 on x64's FreeBSD 14.0-RELEASE-p6 and Debian 12.5.Thanks