Mattia Barbon wrote:
Erik Colson wrote:
On 14 Feb 2010, at 11:36, Mattia Barbon wrote:

 The equivalent of perl -Mblib is prove -b so...


arf... sorry for this

is this ok ?

Yes. The problem seems to happen when a constant is used. I expect "perl -Mblib -MWx=wxYES -le 'print wxYES'" will exit with a bus error. So far unable to reproduce; I'm compiling a perl w/o threads, to see if that's the condition triggering the bug. Could you post a "perl -V" output?

  Found it; looks like an optimizer bug.  It happens with:

- g++ 4.2
- no threads
- -O2 or -O3

I rewrote the XS a different way and now it doesn't crash anymore for me. Could you checkout svn head and and see if it works for you?

Thanks!
Mattia

Reply via email to