[armedbear-ticket] [armedbear] #200: ABCL compiler fails to produce loadable fasl for XPATH

armedbear armedbear-devel at common-lisp.net
Sat Mar 2 02:16:56 UTC 2013


#200: ABCL compiler fails to produce loadable fasl for XPATH
----------------------------------------------------+-----------------------
 Reporter:  mevenson                                |       Owner:  ehuelsmann
     Type:  defect                                  |      Status:  new       
 Priority:  blocker                                 |   Milestone:  1.2.0     
Component:  compiler                                |     Version:  1.1.0     
 Keywords:  quicklisp xpath jvm-class-verify-error  |  
----------------------------------------------------+-----------------------

Comment(by charmon):

 If one disables the compiler-macro for evaluate as follows,

 #-abcl
 (define-compiler-macro evaluate (xpath context &optional unordered-p)
  (once-only (xpath)
    `(evaluate-compiled
      (if (functionp ,xpath)
          ,xpath
          (with-cache ((,xpath :test equal)
                       (*dynamic-namespaces* :test namespaces-match-p)
                       (*profiling-enabled-p* :test eql))
            (compile-xpath ,xpath
                           (make-dynamic-environment
                            *dynamic-namespaces*))))
      ,context
      ,unordered-p)))

 then xpath is happy and passes tests. I haven't yet explored to see if
 it's the compiler-macro itself that is the problem, or what the compiler-
 macro is doing, but at least we can get things to run (and pass tests) by
 disabling the compiler-macro.

 Not the ideal fix, but perhaps a step in the right direction.

-- 
Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/200#comment:6>
armedbear <http://common-lisp.net/project/armedbear>
armedbear


More information about the armedbear-ticket mailing list