<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace;font-size:small">Hi, all.<br><br>It seems that cl-prime-maker compiles failed with ABCL because of the following bug. This bug can also be found in ABCL 1.1.1 (I don't know whether this bug can be found in 1.1.0 or earlier), not only 1.2.x and 1.3.x.<br>

</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small"><br>$ cat bug-for-abcl.lisp <br>(in-package :cl-user)<br><br>(declaim (inline foo))<br>(defun foo ()<br>  (foo))<br><br>(defun bar ()<br>

  (foo))<br><br>$ ~/abcl/abcl<br>Armed Bear Common Lisp 1.3.0<br>Java 1.8.0 Oracle Corporation<br>Java HotSpot(TM) 64-Bit Server VM<br>Low-level initialization completed in 0.364 seconds.<br>Startup completed in 1.739 seconds.<br>

Type ":help" for a list of available commands.<br>CL-USER(1): (compile-file "bug-for-abcl.lisp")<br>; Compiling /tmp/bug-for-abcl.lisp ...<br>; (IN-PACKAGE :CL-USER)<br>; (DECLAIM (INLINE FOO))<br>; (DEFUN FOO ...)<br>

; (DEFUN BAR ...)<br>#<THREAD "interpreter" {776DDE2A}>: Debugger invoked on condition of type STORAGE-CONDITION<br>  Stack overflow.<br>Restarts:<br>  0: TOP-LEVEL Return to top level.<br>[1] CL-USER(2): <br>

<br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small">After the stack overflow, if I returned to the top level, remove the line "(declaim (inline foo))" and COMPILE-FILE again, it also failed. Unless I restart ABCL and perform COMPILE-FILE with the file without the line "(declaim (inline foo))", it can be compiled now.<br>

</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small"><br><br><br><br clear="all"></div><div>     Best regards,<br>Xiaofeng Yang</div>
</div>