uiop:dumplisp compiles with warning on Allegro 11
When it is loaded, ASDF defines a portable dumplisp
with the following snippet of code for Allegro:
(progn
(sys:resize-areas :global-gc t :pack-heap t :sift-old-areas t :tenure t) ; :new 5000000
(excl:dumplisp :name filename :suppress-allegro-cl-banner t))
On the current Allegro beta for version 11 this yields the following warning:
Warning: SYSTEM:RESIZE-AREAS: :OLD argument not given when expanding or packing heap. If minimal oldspace is desired add an explicit :OLD 0 argument pair. For minimal change to oldspace size, specify :NO-CHANGE as the value of :OLD.
Problem detected when processing
(SYS:RESIZE-AREAS :GLOBAL-GC T :PACK-HEAP T :SIFT-OLD-AREAS T :TENURE T)
inside <...>
inside (BLOCK DUMP-IMAGE ...)
inside (COMP::NAMED-FUNCTION-1 ...)
inside (EXCL:COMPILER-LET ...)
inside (THE EXCL::KNOWN-FUNCTION ...)
inside (EXCL:NAMED-ANNOTATED-FUNCTION ...)
inside (LET ...)
inside (LET* ((#:G188535 (LET (#) ...))) ...)
Warning: SYSTEM:RESIZE-AREAS: :OLD-CODE argument
This breaks test-clean-build.
For now, the solution seems to be to add :old :no-change
to the arguments.