On Wed, Nov 9, 2016 at 2:01 AM, Stephen R. van den Berg <s...@cuci.nl> wrote:
> While trying to use Pike 8.1, I consistently get the following on stderr
> whenever I run pike:
>
> /usr/local/pike/8.1.6/lib/modules/Crypto.pmod/Random.pmod.o:-: Warning: 
> Decode failed: Error while decoding 
> program(/usr/local/pike/8.1.6/lib/modules/Crypto.pmod/Random.pmod:23):
> Bad function identifier offset for random_string:function(int(0..2147483647) 
> : string(8bit)): 3 != 0
>
> It's not immediately obvious to me how to fix this.
> Anyone?
> Or am I the only one seeing this?

You're not the only one seeing it. I dug into it a while back, trying
to track down what was going on, and there's something bizarre with
the dumping of modules; if you run the dump using bin/pike, it causes
this decode failure, but if you use the installed pike (even the exact
same version), you don't.

The simplest workaround is to delete the .o file in question after you
install. I still haven't managed to track down exactly what the
problem is, or make a minimal testcase that highlights it. It appears
to be a mandelbug.

ChrisA

Reply via email to