Patrick R. Michaud wrote:
I'm now thinking that the problem has to be either in load_bytecode
or in the .pbc file itself (PGE.pbc).
[ ... ]
Lastly, to really indicate that the problem seems to be in
".pbc" handling somewhere -- try changing line 91 of
languages/tcl/src/templates/tcllib.template from
load_bytecode "Getopt/Obj.pir"
to
load_bytecode "Getopt/Obj.pbc"
[ ... ]
Based on your detailed analysis I was able to create a simple testcase.
load_bytecode with a .pbc didn't set the HLL namespace properly, so that
subs were stored in the wrong namespace.
This is fixed now in r12181.
Pm
Thanks,
leo