command-line-dependent compiler "error"

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

command-line-dependent compiler "error"

S11001001
Can anyone else on Arch/CVS using JIT (and perhaps on GNU/Linux x86)
reproduce this?  I go into any subdirectory of the source/build tree and
do:

[libgst]$ ../gst -I ../gst.im -f ~/Desktop/test-parser.st
An instance of CompiledMethod
  header: 65
  Header Flags:
    flags: 0
    primitive index: 0
    number of arguments: 1
    number of temporaries: 0
    number of literals: 2
    needed stack slots: 8
  descriptor: a MethodInfo
  literals: [
    [1] [] in STInST.RBMethodNode>>#arguments:
    [2] #':'
  ]
  byte codes: [
    [1] source code line number 2
        push Temporary[0]
    [3] store into Instance Variable[6]
    [5] source code line number 3
        push a CompiledBlock
    [7] make dirty block
    [9] send 1 args message #':'
   [11] push self
        return stack top
  ]

(Hint: the weirdness is #':', which should be #do:.)  Using this
test-parser.st:

PackageLoader fileInPackage: 'Parser'.                                          
(((Smalltalk at: #STInST) at: #RBMethodNode) >> #arguments:) inspect!

It doesn't happen for "./gst -I ./gst.im", or even "smalltalk-jit/gst -I
smalltalk-jit/gst.im".  The distributed packages seem to work fine.
This is on a fresh checkout of patch-207 from [hidden email], by
the way, using ./configure --enable-jit --without-readline --disable-gtk

--
Stephen Compall
http://scompall.nocandysw.com/blog
##smalltalk,#gnu-smalltalk on Freenode IRC

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

signature.asc (196 bytes) Download Attachment