[cmucl-imp] CMUCL bug when compiling defclass
While trying to upgrade ASDF from 2.017 to 2.26 on CMUCL 20c, we observed a bug that we believe is due to how CMUCL compiles defclass. CMUCL fails on the defmethod shared-initialize :after, because, says it, operation-forced-not is not a defined function. Yet the function is defined two forms above as an accessor in defclass operation, and it doesn't error out when compiling the file from clean rather than from a situation where a previous asdf was loaded. Presumably, CMUCL fails to properly process the defclass because it believes the defclass already happened. Yet, and this is probably a second bug: why should an undefined function in this case be an ERROR and not just a style-warning? If I fix this problem, then similar issues crop up with %system-source-file. I issued a workaround in ASDF 2.26.5. —♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org An insult may sometimes adequately fit the person who is insulted. However, it can only ever possibly tarnish but the person who insults.
"Fare" == Far <Far> writes:
Fare> While trying to upgrade ASDF from 2.017 to 2.26 on CMUCL 20c, Fare> we observed a bug that we believe is due to how CMUCL compiles defclass. Can you describe how to reproduce this? I don't know exactly what you mean by upgrading from 2.017 to 2.26. (I always use whatever comes with the current version of cmucl.) Ray
Here is a reduced test case. Compiling and loading a1 in an image is fine. Compiling and loading a2 in an image is fine. Loading a1 then compiling a2 causes an error. It doubly shouldn't. Tested with CMUCL 20c on i686. —♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org I have never let my schooling interfere with my education. — Mark Twain
"Fare" == Far <Far> writes:
Fare> Here is a reduced test case. Compiling and loading a1 in an Fare> image is fine. Compiling and loading a2 in an image is Fare> fine. Loading a1 then compiling a2 causes an error. It Fare> doubly shouldn't. Thanks. I'll see what I can do. Ray
participants (2)
-
Faré -
Raymond Toy