Skip to content

Can't disassemble my own functions?

Hi, I'm able to run disassemble on functions that I manually type in to the REPL, but for functions I compile from my buffer via Sly, I'm told:

;;; Warning: Cannot disassemble the binary function #<compiled-function EXTRACT-PROP-NAME 0x70da5239b390> because I do not have its source code.

And yet, if I describe this function:

EXTRACT-PROP-NAME - internal symbol in VEND package
-----------------------------------------------------------------------------
EXTRACT-PROP-NAME                                                  [Function]

Arguments: (S)
Source: #P"/home/colin/code/common-lisp/vend/src/abcl.lisp"
-----------------------------------------------------------------------------

And just thinking normally, of course I "have" the source code, it's right there in the buffer. Any idea why this might be happening? Thank you kindly.

My setup:

     VERSION "24.5.10"
      VCS-ID "c0720610ddd12d709508c99f25ac56bf8c73e0a2"
          OS "Linux"
  OS-VERSION "6.14.4-arch1-2"
MACHINE-TYPE "x86_64"
    FEATURES (:SLYNK :SERVE-EVENT :ASDF-PACKAGE-SYSTEM :ASDF3.1 :ASDF3 :ASDF2
              :ASDF :OS-UNIX :NON-BASE-CHARS-EXIST-P :ASDF-UNICODE :WALKER
              :CDR-6 :GRAY-STREAMS-MODULE :CDR-1 :CDR-5 :LINUX :FORMATTER
              :CDR-7 :ECL-WEAK-HASH :LITTLE-ENDIAN :ECL-READ-WRITE-LOCK
              :LONG-LONG :UINT64-T :UINT32-T :UINT16-T :COMPLEX-FLOAT
              :LONG-FLOAT :UNICODE :CLOS-STREAMS :CMU-FORMAT :UNIX :ECL-PDE
              :DLOPEN :CLOS :THREADS :BOEHM-GC :ANSI-CL :COMMON-LISP
              :FLOATING-POINT-EXCEPTIONS :IEEE-FLOATING-POINT
              :PACKAGE-LOCAL-NICKNAMES :CDR-14 :PREFIXED-API :FFI :X86_64
              :COMMON :ECL)

Note that I compiled from master this morning. This occurs for both my own functions and built-ins as well.

Edited by Colin Woodbury