Op 1-10-2018 om 10:43 schreef James:
On 25/09/2018 22:39, Stephan Bosch wrote:
Hello,
Something mightily weird is going on at your end. It doesn't fail here
This is correct. I believe there to be a compiler problem. Removing
optimisation from sieve-binary-code.c gives success.
Thank you to Stephan Bosch for testing this for me and pointing me in
the right direction.
My debugging was confused because dovecot flags are passed to
pigeonhole, eg $DOVECOT_CFLAGS. This is why the build of dovecot
affects pigeonhole. Once I removed these I could control the
pigeonhole build and I was able to isolate the problem.
Ok, good.
I'd still like to know whether doing this helps somehow:
Does it help when you change the "> 0" at the following code position
to "!= 0" ?
https://github.com/dovecot/pigeonhole/blob/master/src/lib-sieve/sieve-binary-code.c#L300
Regards,
Stephan.